This patchset adds a "ceph.snap.btime" vxattr to snapshot files and directories, when run alongside an MDS that provides InodeStat v3 information as implemented in https://github.com/ceph/ceph/pull/27077 . Changes since v1: - add fix for listxattr vxattr buffer length calculations + this bug caused breakage for non-hidden exists_cb() vxattrs - rebase against current mainline ---------------------------------------------------------------- David Disseldorp (5): ceph: clean up ceph.dir.pin vxattr name sizeof() ceph: carry snapshot creation time with inodes ceph: add ceph.snap.btime vxattr ceph: fix listxattr vxattr buffer length calculation ceph: remove unused vxattr length helpers fs/ceph/inode.c | 1 + fs/ceph/mds_client.c | 8 +++ fs/ceph/mds_client.h | 1 + fs/ceph/super.c | 7 +-- fs/ceph/super.h | 3 +- fs/ceph/xattr.c | 126 ++++++++++++++++++++----------------------- 6 files changed, 71 insertions(+), 75 deletions(-)