projects
/
GitHub
/
moto-9609
/
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:
44819a7
)
f2fs: reduce batch size of fstrim
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 11 Aug 2016 02:18:38 +0000
(10:18 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 30 Aug 2016 01:31:05 +0000
(18:31 -0700)
This is to reduce the batch size of fstrim to avoid long latency.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/f2fs.h
b/fs/f2fs/f2fs.h
index f478cb6ec37897268eb8460e758eccb101b763c9..59eed3ec35c79d2b1a3ffe7cc3524ece0f9315ed 100644
(file)
--- a/
fs/f2fs/f2fs.h
+++ b/
fs/f2fs/f2fs.h
@@
-158,7
+158,7
@@
enum {
CP_DISCARD,
};
-#define DEF_BATCHED_TRIM_SECTIONS
3
2
+#define DEF_BATCHED_TRIM_SECTIONS 2
#define BATCHED_TRIM_SEGMENTS(sbi) \
(SM_I(sbi)->trim_sections * (sbi)->segs_per_sec)
#define BATCHED_TRIM_BLOCKS(sbi) \