summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-07-08 22:11:01 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-18 13:37:03 -0700
commit7b1c7d07d000f7e0c90d0c9930c9e360d4f33878 (patch)
treebfdcae73a17da412cfbe18d10403900c58e8c7a7 /tools/perf/scripts/python/netdev-times.py
parent8e37f3a2aad381c4937388a47bb6942634a53de5 (diff)
f2fs: issue small discard by LBA order
For small granularity discard which size is smaller than 64KB, if we issue those kind of discards orderly by size, their IOs will be spread into entire logical address, so that in FTL, L2P table will be updated randomly, result bad wear rate in the table. In this patch, we choose to issue small discard by LBA order, by this way, we can expect that L2P table updates from adjacent discard IOs can be merged in the cache, so it can reduce lifetime wearing of flash. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions