]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
seastore : add discard and preffered write granularity/alignment features
authorJinyong Ha <jy200.ha@samsung.com>
Fri, 8 Oct 2021 08:29:59 +0000 (17:29 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Fri, 12 Nov 2021 04:28:29 +0000 (13:28 +0900)
commit0d25fdcc71b9f4f2aa5ea7c5482d64fb798be0a6
treed094dd78ade0516eeb9a12bb85376dff104bd3aa
parent2b5470bb7c150fc65945c038e2f7a27c069d37e2
seastore : add discard and preffered write granularity/alignment features

Discard informs invalid LBA to SSD and SSD utilize this hint to optimize
internal garbage collection.
Preffered write granularity/alignment are the IO guide provided by SSD.
If user submits IO with following the guide, IO latency and internal WAF
might be optimized.

Signed-off-by: Jinyong Ha <jy200.ha@samsung.com>
src/crimson/os/seastore/random_block_manager/nvmedevice.cc
src/crimson/os/seastore/random_block_manager/nvmedevice.h