]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: wait on async create before checking caps wip-jlayton-55857
authorJeff Layton <jlayton@kernel.org>
Mon, 6 Jun 2022 15:07:59 +0000 (11:07 -0400)
committerJeff Layton <jlayton@kernel.org>
Mon, 6 Jun 2022 15:07:59 +0000 (11:07 -0400)
commitec5ed88dcee856ab4497e943ab068f91a057b3d2
treeb335864e730510e14af81124cc2b724e606d82c9
parenta7836bad6c71b15d459715c02d3169cd8441ba8b
ceph: wait on async create before checking caps

Currently, we'll call ceph_check_caps, but if we're still waiting on the
reply, we'll end up spinning around on the same inode. Wait for the
async create reply before we try to flush caps.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/caps.c