diff options
author | Sage Weil <sage@newdream.net> | 2011-02-28 12:46:46 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-03-03 10:09:51 -0800 |
commit | b545cc1505eb49247071ce9f4092665de788ca00 (patch) | |
tree | 25bfbae54c086a1fdd0801efdd07aa4bdfdac951 /fs/ceph/inode.c | |
parent | 9bde178d052418af0b8e0f12932cf02ab4764c9d (diff) | |
download | linux-b545cc1505eb49247071ce9f4092665de788ca00.tar.bz2 |
ceph: do not set I_COMPLETE
Do not set the I_COMPLETE flag on directories until we resolve races with
dcache pruning.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r-- | fs/ceph/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 5625463aa479..193bfa5e9cbd 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -707,7 +707,7 @@ static int fill_inode(struct inode *inode, (issued & CEPH_CAP_FILE_EXCL) == 0 && (ci->i_ceph_flags & CEPH_I_COMPLETE) == 0) { dout(" marking %p complete (empty)\n", inode); - ci->i_ceph_flags |= CEPH_I_COMPLETE; + /* ci->i_ceph_flags |= CEPH_I_COMPLETE; */ ci->i_max_offset = 2; } break; |