projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ec4a5b
)
f2fs: update the comment of default nr_pages to skipping
author
Kinglong Mee
<kinglongmee@gmail.com>
Sat, 25 Feb 2017 11:32:21 +0000
(19:32 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 27 Feb 2017 18:07:46 +0000
(10:07 -0800)
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>
fs/f2fs/segment.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/segment.h
b/fs/f2fs/segment.h
index f4020f141d8316acdb0fe94917bda3003d45e724..5e8ad4280a5016d293817115a31a94daaf8d2d49 100644
(file)
--- 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)
* 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)
{