ceph: add a new vxattr to return auth mds for an inode
authorJeff Layton <jlayton@kernel.org>
Mon, 26 Jul 2021 11:07:50 +0000 (07:07 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 2 Sep 2021 20:49:16 +0000 (22:49 +0200)
commit40e309de4dd84ba91b9e0549a5173ce13ef02c5e
tree674a354f9a0dbdbd282ed69d319f5587654733d5
parent49f8899e5edfc4b8a97d3959e1ded5a95f2e46b3
ceph: add a new vxattr to return auth mds for an inode

Add a new vxattr that shows what MDS is authoritative for an inode (if
we happen to have auth caps). If we don't have an auth cap for the inode
then just return -1.

URL: https://tracker.ceph.com/issues/1276
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Luis Henriques <lhenriques@suse.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/xattr.c