diff options
author | Changman Lee <cm224.lee@samsung.com> | 2013-11-24 07:13:08 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-23 02:18:03 +0100 |
commit | 03232305ff3cf44761f7ea271f7c9af5105392b9 (patch) | |
tree | 6731d11f15e1b52b15b49ac642ebc3dd9e5ee172 /fs/f2fs/node.c | |
parent | f2fs: add detailed information of bio types in the tracepoints (diff) | |
download | linux-03232305ff3cf44761f7ea271f7c9af5105392b9.tar.xz linux-03232305ff3cf44761f7ea271f7c9af5105392b9.zip |
f2fs: send REQ_META or REQ_PRIO when reading meta area
Let's send REQ_META or REQ_PRIO when reading meta area such as NAT/SIT
etc.
Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r-- | fs/f2fs/node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index b212599b0da4..0fe9a9720b39 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -106,11 +106,11 @@ static void ra_nat_pages(struct f2fs_sb_info *sbi, int nid) f2fs_put_page(page, 1); continue; } - submit_read_page(sbi, page, index, READ_SYNC); + submit_read_page(sbi, page, index, READ_SYNC | REQ_META); mark_page_accessed(page); f2fs_put_page(page, 0); } - f2fs_submit_read_bio(sbi, READ_SYNC); + f2fs_submit_read_bio(sbi, READ_SYNC | REQ_META); } static struct nat_entry *__lookup_nat_cache(struct f2fs_nm_info *nm_i, nid_t n) |