Skip to content

Commit

Permalink
f2fs: update the comment of default nr_pages to skipping
Browse files Browse the repository at this point in the history
Fixes: 2c237eb ("f2fs: avoid writing node/metapages during writes")
Signed-off-by: Kinglong Mee <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
  • Loading branch information
kinglongmee authored and Jaegeuk Kim committed Feb 27, 2017
1 parent 0ec4a5b commit 727ebb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/f2fs/segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
* submit a big bio without interfering other data writes.
* By default, 512 pages for directory data,
* 512 pages (2MB) * 3 for three types of nodes, and
* max_bio_blocks for meta are set.
* 512 pages (2MB) * 8 for nodes, and
* 256 pages * 8 for meta are set.
*/
static inline int nr_pages_to_skip(struct f2fs_sb_info *sbi, int type)
{
Expand Down

0 comments on commit 727ebb0

Please sign in to comment.