summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorChangman Lee <cm224.lee@samsung.com>2013-11-24 15:13:08 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-12-23 10:18:03 +0900
commit03232305ff3cf44761f7ea271f7c9af5105392b9 (patch)
tree6731d11f15e1b52b15b49ac642ebc3dd9e5ee172 /fs/f2fs/segment.c
parenta709f4a2f22c0ebaed1d99aee63ab44ffc2ba3d0 (diff)
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/segment.c')
-rw-r--r--fs/f2fs/segment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 33ab378df5bd..1e8371392dcd 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1734,13 +1734,13 @@ repeat:
continue;
}
- submit_read_page(sbi, page, blk_addr, READ_SYNC);
+ submit_read_page(sbi, page, blk_addr, 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);
return blkno - start;
}