vfs: expose the inode change attribute via statx
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vfs: report change attribute in statx for IS_I_VERSION inodesfs/ include/ include/ +1 more | +16 | 9 replies | |
| 2/4 | nfs: report the change attribute if requestedfs/ | +5 | 0 replies | |
| 3/4 | afs: fill out change attribute in statx repliesfs/ | +2 | 0 replies | |
| 4/4 | ceph: fill in the change attribute in statx requestsfs/ | +9 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Xiubo Li |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] vfs: expose the inode change attribute via statx
The i_version counter is currently only really visible via knfsd with NFSv4, so testing its behavior has always been quite difficult. The main goal of this patchset is to remedy that.
The idea is to expose i_version to userland via statx for all filesystems that support it. The initial usecase for this is to allow for better testing of i_version counter behavior, but it may be useful for userland nfs servers like nfs-ganesha and possibly other situations in the future.
I'll be posting patches for xfsprogs and xfstests that use and test this functionality soon.
Jeff Layton (4):
vfs: report change attribute in statx for IS_I_VERSION inodes
nfs: report the change attribute if requested
afs: fill out change attribute in statx replies
ceph: fill in the change attribute in statx requests
fs/afs/inode.c | 2 ++ fs/ceph/inode.c | 14 +++++++++----- fs/nfs/inode.c | 7 +++++-- fs/stat.c | 7 +++++++ include/linux/stat.h | 1 + include/uapi/linux/stat.h | 3 ++- samples/vfs/test-statx.c | 8 ++++++-- 7 files changed, 32 insertions(+), 10 deletions(-)
Signature · 1 line
2.37.2