summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-06-28 12:47:01 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-07-30 15:17:02 +0900
commit5e176d54a6097f5093cacaaf7baeecbe724d32bd (patch)
treeea28c893dfd7eef4c766e632fad576b9bcc04bcd /fs/f2fs/f2fs.h
parentd51a7fba254b48aa7090a74d6b1455b6c41bc889 (diff)
downloadlinux-5e176d54a6097f5093cacaaf7baeecbe724d32bd.tar.bz2
f2fs: add proc entry to monitor current usage of segments
You can monitor valid block counts of whole segments in: /proc/fs/f2fs/sdb1/segment_info. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 467d42d65c48..c7620b973073 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -350,6 +350,7 @@ enum page_type {
struct f2fs_sb_info {
struct super_block *sb; /* pointer to VFS super block */
+ struct proc_dir_entry *s_proc; /* proc entry */
struct buffer_head *raw_super_buf; /* buffer head of raw sb */
struct f2fs_super_block *raw_super; /* raw super block pointer */
int s_dirty; /* dirty flag for checkpoint */