diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-10-12 17:07:33 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-12 14:03:22 -0700 |
commit | 2db2388fcf0d880bd7160264274ed873baec4f0d (patch) | |
tree | 4cf95d3b1f2a7fb42a9b5e834edaae717e2c1a0c /Documentation/ABI/testing/sysfs-fs-f2fs | |
parent | 26879fb101f28c554294eaf25ac7817a2825b180 (diff) | |
download | linux-rpi-2db2388fcf0d880bd7160264274ed873baec4f0d.tar.gz linux-rpi-2db2388fcf0d880bd7160264274ed873baec4f0d.tar.bz2 linux-rpi-2db2388fcf0d880bd7160264274ed873baec4f0d.zip |
f2fs: readahead for free nids building
When there is no free nid in nid cache, all new node allocaters stop their
job to wait for reloading of free nids, however reloading is synchronous as
we will read 4 NAT pages for building nid cache, it cause the long latency.
This patch tries to readahead more NAT pages with READA request flag after
reloading of free nids. It helps to improve performance when users allocate
node id intensively.
Env: Sandisk 32G sd card
time for i in `seq 1 60000`; { echo -n > /mnt/f2fs/$i; echo XXXXXX > /mnt/f2fs/$i;}
Before:
real 0m2.814s
user 0m1.220s
sys 0m1.536s
After:
real 0m2.711s
user 0m1.136s
sys 0m1.568s
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-fs-f2fs')
0 files changed, 0 insertions, 0 deletions