Skip to content

Commit 6f8693e

Browse files
committed
Merge tag 'ceph-for-5.19-rc5' of https://github.com/ceph/ceph-client
Pull ceph fix from Ilya Dryomov: "A ceph filesystem fix, marked for stable. There appears to be a deeper issue on the MDS side, but for now we are going with this one-liner to avoid busy looping and potential soft lockups" * tag 'ceph-for-5.19-rc5' of https://github.com/ceph/ceph-client: ceph: wait on async create before checking caps for syncfs
2 parents 8300d38 + 8692969 commit 6f8693e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/ceph/caps.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4377,6 +4377,7 @@ static void flush_dirty_session_caps(struct ceph_mds_session *s)
43774377
ihold(inode);
43784378
dout("flush_dirty_caps %llx.%llx\n", ceph_vinop(inode));
43794379
spin_unlock(&mdsc->cap_dirty_lock);
4380+
ceph_wait_on_async_create(inode);
43804381
ceph_check_caps(ci, CHECK_CAPS_FLUSH, NULL);
43814382
iput(inode);
43824383
spin_lock(&mdsc->cap_dirty_lock);

0 commit comments

Comments
 (0)