diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-07-06 10:21:30 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-07-28 03:00:43 +0200 |
commit | 70220ac8c220495b2a335868293be80a31dfdd4a (patch) | |
tree | 160ae75e585aee36d5a6000355ccbeca2aa59e1b /fs/ceph/super.h | |
parent | ceph: avoid sending duplicated cap flush message (diff) | |
download | linux-70220ac8c220495b2a335868293be80a31dfdd4a.tar.xz linux-70220ac8c220495b2a335868293be80a31dfdd4a.zip |
ceph: introduce an inode flag to indicates if snapflush is needed
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r-- | fs/ceph/super.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 16068787afb4..63fdb57606fe 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -469,6 +469,7 @@ static inline struct inode *ceph_find_inode(struct super_block *sb, #define CEPH_I_SEC_INITED (1 << 7) /* security initialized */ #define CEPH_I_CAP_DROPPED (1 << 8) /* caps were forcibly dropped */ #define CEPH_I_KICK_FLUSH (1 << 9) /* kick flushing caps */ +#define CEPH_I_FLUSH_SNAPS (1 << 10) /* need flush snapss */ static inline void __ceph_dir_set_complete(struct ceph_inode_info *ci, long long release_count, |