xfs: support STATX_DIOALIGN
authorEric Biggers <ebiggers@google.com>
Sat, 27 Aug 2022 06:58:51 +0000 (23:58 -0700)
committerEric Biggers <ebiggers@google.com>
Mon, 12 Sep 2022 00:47:12 +0000 (19:47 -0500)
commit61a223df421f698c253143014cfd384255b3cf1e
treeebc56d9da8a6c2a4ae91e11f405ce755021d30ad
parentc8c02272a9f74bcba4a930a496b2a0c661873c35
xfs: support STATX_DIOALIGN

Add support for STATX_DIOALIGN to xfs, so that direct I/O alignment
restrictions are exposed to userspace in a generic way.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20220827065851.135710-9-ebiggers@kernel.org
fs/xfs/xfs_iops.c