summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2022-10-25 11:08:31 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2022-11-01 17:56:02 -0700
commit3688cbe39b7a9ef3feb73234fb351de33fd1da52 (patch)
tree6baac404c20bec18554a366296ca944640d1ae43 /fs/f2fs/f2fs.h
parent18792e64c86dd7e34ba28e4f61faba472b7bf5fc (diff)
downloadlinux-3688cbe39b7a9ef3feb73234fb351de33fd1da52.tar.bz2
f2fs: remove batched_trim_sections node
commit 377224c47118("f2fs: don't split checkpoint in fstrim") obsolete batch mode and related sysfs entry. Since this testing sysfs node has been deprecated for a long time, let's remove it. Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index f57cb49dc383..e990870bdab9 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1063,9 +1063,6 @@ struct f2fs_sm_info {
/* a threshold to reclaim prefree segments */
unsigned int rec_prefree_segments;
- /* for batched trimming */
- unsigned int trim_sections; /* # of sections to trim */
-
struct list_head sit_entry_set; /* sit entry set list */
unsigned int ipu_policy; /* in-place-update policy */