diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-06 15:16:04 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-06 15:17:43 -0800 |
commit | 8c402946f0743af91d22eca31d98b058b3371054 (patch) | |
tree | 97b15edaafd72a6b86352e0356829715b4b7f090 /fs/f2fs/f2fs.h | |
parent | a344b9fda0cc2eda54433227837029d410dfb12f (diff) | |
download | op-kernel-dev-8c402946f0743af91d22eca31d98b058b3371054.zip op-kernel-dev-8c402946f0743af91d22eca31d98b058b3371054.tar.gz |
f2fs: introduce the number of inode entries
This patch adds to monitor the number of ino entries.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index d45f3f4..994b87e 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -532,9 +532,9 @@ struct f2fs_sb_info { struct radix_tree_root ino_root[MAX_INO_ENTRY]; /* ino entry array */ spinlock_t ino_lock[MAX_INO_ENTRY]; /* for ino entry lock */ struct list_head ino_list[MAX_INO_ENTRY]; /* inode list head */ + unsigned long ino_num[MAX_INO_ENTRY]; /* number of entries */ /* for orphan inode, use 0'th array */ - unsigned int n_orphans; /* # of orphan inodes */ unsigned int max_orphans; /* max orphan inodes */ /* for directory inode management */ |