]> asedeno.scripts.mit.edu Git - linux.git/commit
ceph: voluntarily drop Ax cap for requests that create new inode
authorYan, Zheng <zyan@redhat.com>
Thu, 23 Nov 2017 09:47:15 +0000 (17:47 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 29 Jan 2018 17:36:04 +0000 (18:36 +0100)
commit222b7f90ba3825728fd27e9105aeee7af9576819
tree8cbfe764c0bfd8bbdbcf399d75c4c24aac9d4b89
parente573427a440fd67d3f522357d7ac901d59281948
ceph: voluntarily drop Ax cap for requests that create new inode

MDS need to rdlock directory inode's authlock when handling these
requests. Voluntarily dropping CEPH_CAP_AUTH_EXCL avoids a cap revoke
message.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/dir.c
fs/ceph/file.c