mbox series

[0/5] fuse: support birth time

Message ID 20230810105501.1418427-1-mszeredi@redhat.com (mailing list archive)
Headers show
Series fuse: support birth time | expand

Message

Miklos Szeredi Aug. 10, 2023, 10:54 a.m. UTC
Add the infrastructure for btime support in the form of a new STATX
request.

The format of the STATX reply is binary compatible with struct statx on
Linux, but the structure is defined separately in the fuse API for other
OS's.

Currently STATX only supports basic attributes, same as the GETATTR
request, plus btime.  But nothing prevents extending support to other
(present and future) statx fields.

---
Miklos Szeredi (5):
  fuse: handle empty request_mask in statx
  fuse: add STATX request
  fuse: add ATTR_TIMEOUT macro
  fuse: implement statx
  fuse: cache btime

 fs/fuse/dir.c             | 145 +++++++++++++++++++++++++++++++-------
 fs/fuse/fuse_i.h          |  15 +++-
 fs/fuse/inode.c           |  30 ++++++--
 fs/fuse/readdir.c         |   6 +-
 include/uapi/linux/fuse.h |  56 ++++++++++++++-
 5 files changed, 218 insertions(+), 34 deletions(-)