diff options
author | Eric Biggers | 2022-08-26 23:58:45 -0700 |
---|---|---|
committer | Eric Biggers | 2022-09-11 19:47:12 -0500 |
commit | 2d985f8c6b91b5007a16e640bb9c038c5fb2839b (patch) | |
tree | 0fc609386fbba4cabc8c4c0a99005cc7cb53807d /fs/ext4/ext4.h | |
parent | 825cf206ed510c4a1758bef8957e2b039253e2e3 (diff) |
vfs: support STATX_DIOALIGN on block devices
Add support for STATX_DIOALIGN to block devices, so that direct I/O
alignment restrictions are exposed to userspace in a generic way.
Note that this breaks the tradition of stat operating only on the block
device node, not the block device itself. However, it was felt that
doing this is preferable, in order to make the interface useful and
avoid needing separate interfaces for regular files and block devices.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Link: https://lore.kernel.org/r/20220827065851.135710-3-ebiggers@kernel.org
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions