summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-10-10 00:19:53 +0400
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-04 03:07:29 +0300
commit34ba94bac938be14ffe2a639a4688b81a37d0f58 (patch)
treeb679b836ce5bb3deeb2953e1795bae138c2f3c97 /fs/f2fs/f2fs.h
parentf4ca536f71ad69d9a974d0156d43b24b3f3112de (diff)
downloadlinux-34ba94bac938be14ffe2a639a4688b81a37d0f58.tar.xz
f2fs: do not make dirty any inmemory pages
This patch let inmemory pages be clean all the time. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
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 8171e80b2ee9..28f24ea13cb2 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -269,6 +269,7 @@ struct f2fs_inode_info {
struct extent_info ext; /* in-memory extent cache entry */
struct dir_inode_entry *dirty_dir; /* the pointer of dirty dir */
+ struct radix_tree_root inmem_root; /* radix tree for inmem pages */
struct list_head inmem_pages; /* inmemory pages managed by f2fs */
struct mutex inmem_lock; /* lock for inmemory pages */
};