On Tue, Feb 28, 2017 at 08:51:39AM -0800, Darrick J. Wong wrote:
> Hm... is fio_alignment is specified in units of bytes?
Yes.
> If so, then
> shouldn't this be a __u32 so that we can handle some weird future device
> that wants, say, 1MB alignment for its atomic IO?
That would be pretty
On Tue, Feb 28, 2017 at 06:57:30AM -0800, Christoph Hellwig wrote:
> This fcntl can be used to query I/O parameters for the given file
> descriptor. Initially it is used for the I/O alignment and atomic
> write parameters.
>
> Signed-off-by: Christoph Hellwig
> ---
> fs/fcntl.c
This fcntl can be used to query I/O parameters for the given file
descriptor. Initially it is used for the I/O alignment and atomic
write parameters.
Signed-off-by: Christoph Hellwig
---
fs/fcntl.c | 18 ++
include/linux/fs.h | 1 +