diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-06-16 17:03:23 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-06 10:44:10 -0700 |
commit | ac6f199984a667eb017897b8528f7687eac8fa45 (patch) | |
tree | 74122f3fcccf9a923308ffd86680699b07ea935d /fs/f2fs/file.c | |
parent | 2c237ebaa440b8c641c61cf66802521a917fc30c (diff) | |
download | linux-ac6f199984a667eb017897b8528f7687eac8fa45.tar.gz linux-ac6f199984a667eb017897b8528f7687eac8fa45.tar.bz2 linux-ac6f199984a667eb017897b8528f7687eac8fa45.zip |
f2fs: avoid latency-critical readahead of node pages
The f2fs_map_blocks is very related to the performance, so let's avoid any
latency to read ahead node pages.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r-- | fs/f2fs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index b9d745ef5b08..d07e7759f970 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -354,7 +354,7 @@ static loff_t f2fs_seek_block(struct file *file, loff_t offset, int whence) for (; data_ofs < isize; data_ofs = (loff_t)pgofs << PAGE_SHIFT) { set_new_dnode(&dn, inode, NULL, NULL, 0); - err = get_dnode_of_data(&dn, pgofs, LOOKUP_NODE_RA); + err = get_dnode_of_data(&dn, pgofs, LOOKUP_NODE); if (err && err != -ENOENT) { goto fail; } else if (err == -ENOENT) { |