diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2017-02-25 06:32:21 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-02-27 13:07:46 -0500 |
commit | 727ebb091e1778cc3a4842ae04f8f54da111eee0 (patch) | |
tree | ea7dc00230a43072a896cb70875da27a00682ac2 | |
parent | 0ec4a5b647fca5a5649573c23d31230b25fdc827 (diff) |
f2fs: update the comment of default nr_pages to skipping
Fixes: 2c237ebaa4 ("f2fs: avoid writing node/metapages during writes")
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r-- | fs/f2fs/segment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index f4020f141d83..5e8ad4280a50 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h | |||
@@ -736,8 +736,8 @@ static inline bool sec_usage_check(struct f2fs_sb_info *sbi, unsigned int secno) | |||
736 | * It is very important to gather dirty pages and write at once, so that we can | 736 | * It is very important to gather dirty pages and write at once, so that we can |
737 | * submit a big bio without interfering other data writes. | 737 | * submit a big bio without interfering other data writes. |
738 | * By default, 512 pages for directory data, | 738 | * By default, 512 pages for directory data, |
739 | * 512 pages (2MB) * 3 for three types of nodes, and | 739 | * 512 pages (2MB) * 8 for nodes, and |
740 | * max_bio_blocks for meta are set. | 740 | * 256 pages * 8 for meta are set. |
741 | */ | 741 | */ |
742 | static inline int nr_pages_to_skip(struct f2fs_sb_info *sbi, int type) | 742 | static inline int nr_pages_to_skip(struct f2fs_sb_info *sbi, int type) |
743 | { | 743 | { |