summaryrefslogtreecommitdiff
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-02-28 20:46:46 (GMT)
committerSage Weil <sage@newdream.net>2011-03-03 18:09:51 (GMT)
commitb545cc1505eb49247071ce9f4092665de788ca00 (patch)
tree25bfbae54c086a1fdd0801efdd07aa4bdfdac951 /fs/ceph/dir.c
parent9bde178d052418af0b8e0f12932cf02ab4764c9d (diff)
downloadlinux-b545cc1505eb49247071ce9f4092665de788ca00.tar.xz
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/dir.c')
-rw-r--r--fs/ceph/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index 0bc68de..9b4f9d9 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -409,7 +409,7 @@ more:
spin_lock(&inode->i_lock);
if (ci->i_release_count == fi->dir_release_count) {
dout(" marking %p complete\n", inode);
- ci->i_ceph_flags |= CEPH_I_COMPLETE;
+ /* ci->i_ceph_flags |= CEPH_I_COMPLETE; */
ci->i_max_offset = filp->f_pos;
}
spin_unlock(&inode->i_lock);