]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: introduce is_ceph_vxattr() helper
authorVenky Shankar <vshankar@redhat.com>
Tue, 25 Aug 2020 01:26:12 +0000 (21:26 -0400)
committerVenky Shankar <vshankar@redhat.com>
Tue, 13 Oct 2020 04:29:38 +0000 (00:29 -0400)
commit6b6a83aaa055f855d26bcedd8a5b58e7adf4618b
tree6dc0ea5a740daf85f80e790b1d2f6ee80f502d35
parentdaa2f8515669727260060e7f2ffe35525317bc00
mds: introduce is_ceph_vxattr() helper

Not all ceph.* xattrs are virtual -- virtual in the sense
that such xattrs have entries in the inode structure (inode_t)
rather than in xattr_map. There could be cases where an xattr
is in ceph namespace but does not necessarily need to be stored
for each inode -- so filter such xattrs individually rather than
treating all ceph.* xattrs as virtual.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/mds/Server.cc
src/mds/Server.h