]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFSD: filecache: add STATX_DIOALIGN and STATX_DIO_READ_ALIGN support
authorMike Snitzer <snitzer@kernel.org>
Mon, 29 Sep 2025 15:56:41 +0000 (11:56 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 30 Sep 2025 20:10:05 +0000 (16:10 -0400)
commitd11f6cd1bb4a416b4515702d020a7480ac667f0f
tree928c8689ceef623a7e451f3c2477b2f010fb7c2e
parentffe381923d87c8cf5d4372c12eea6127dc36fd3a
NFSD: filecache: add STATX_DIOALIGN and STATX_DIO_READ_ALIGN support

Use STATX_DIOALIGN and STATX_DIO_READ_ALIGN to get DIO alignment
attributes from the underlying filesystem and store them in the
associated nfsd_file. This is done when the nfsd_file is first
opened for each regular file.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfsd/filecache.c
fs/nfsd/filecache.h
fs/nfsd/trace.h
fs/nfsd/vfs.h
include/trace/misc/fs.h