diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-10-27 07:41:29 +0100 |
---|---|---|
committer | Yan, Zheng <zyan@redhat.com> | 2015-12-24 08:49:47 +0100 |
commit | 8d2df89ae22031226b9e0268d78fc17aeb73c957 (patch) | |
tree | f1d971c15276826ccf7bfd91719231df3785b2d6 /src/client/Inode.h | |
parent | Merge remote-tracking branch 'origin/jewel' (diff) | |
download | ceph-8d2df89ae22031226b9e0268d78fc17aeb73c957.tar.xz ceph-8d2df89ae22031226b9e0268d78fc17aeb73c957.zip |
client: wait unsafe requests that created/modified the file in fsync()
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'src/client/Inode.h')
-rw-r--r-- | src/client/Inode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Inode.h b/src/client/Inode.h index a13fd98bc7b..7b7daa1ec69 100644 --- a/src/client/Inode.h +++ b/src/client/Inode.h @@ -295,7 +295,7 @@ struct Inode { ceph_lock_state_t *fcntl_locks; ceph_lock_state_t *flock_locks; - xlist<MetaRequest*> unsafe_dir_ops; + xlist<MetaRequest*> unsafe_ops; Inode(Client *c, vinodeno_t vino, ceph_file_layout *newlayout) : client(c), ino(vino.ino), snapid(vino.snapid), faked_ino(0), |