projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs: introduce CP_TRIMMED_FLAG to avoid unneeded discard
[linux-2.6-block.git]
/
fs
/
f2fs
/
f2fs.h
diff --git
a/fs/f2fs/f2fs.h
b/fs/f2fs/f2fs.h
index 37360b9ad2631acc7563e25cdd15ad2626e38c87..f0481fb521424875d0fc8fcb3bafcf638664985d 100644
(file)
--- a/
fs/f2fs/f2fs.h
+++ b/
fs/f2fs/f2fs.h
@@
-130,6
+130,7
@@
enum {
#define CP_SYNC 0x00000004
#define CP_RECOVERY 0x00000008
#define CP_DISCARD 0x00000010
+#define CP_TRIMMED 0x00000020
#define DEF_BATCHED_TRIM_SECTIONS 2048
#define BATCHED_TRIM_SEGMENTS(sbi) \