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>
This commit is contained in:
Kinglong Mee 2017-02-25 19:32:21 +08:00 committed by Jaegeuk Kim
parent 0ec4a5b647
commit 727ebb091e
1 changed files with 2 additions and 2 deletions

View File

@ -736,8 +736,8 @@ static inline bool sec_usage_check(struct f2fs_sb_info *sbi, unsigned int secno)
* It is very important to gather dirty pages and write at once, so that we can * It is very important to gather dirty pages and write at once, so that we can
* submit a big bio without interfering other data writes. * submit a big bio without interfering other data writes.
* By default, 512 pages for directory data, * By default, 512 pages for directory data,
* 512 pages (2MB) * 3 for three types of nodes, and * 512 pages (2MB) * 8 for nodes, and
* max_bio_blocks for meta are set. * 256 pages * 8 for meta are set.
*/ */
static inline int nr_pages_to_skip(struct f2fs_sb_info *sbi, int type) static inline int nr_pages_to_skip(struct f2fs_sb_info *sbi, int type)
{ {