[v2,0/5] ceph: add snapshot creation time vxattr
mbox series

Message ID 20190416172606.26037-1-ddiss@suse.de
Headers show
Series
  • ceph: add snapshot creation time vxattr
Related show

Message

David Disseldorp April 16, 2019, 5:26 p.m. UTC
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(-)