Re: [Patch v9 04/10] fs: Add initial atomic write support info to statx
Hannes Reinecke <[email protected]>
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.block,gmane.linux.kernel,gmane.linux.file-systems,gmane.linux.scsi,gmane.comp.file-systems.btrfs,gmane.linux.kernel.io-uring |
|---|---|
| Message-ID | <[email protected]> |
On 6/20/24 14:53, John Garry wrote: > From: Prasad Singamsetty <[email protected]> > > Extend statx system call to return additional info for atomic write support > support for a file. > > Helper function generic_fill_statx_atomic_writes() can be used by FSes to > fill in the relevant statx fields. For now atomic_write_segments_max will > always be 1, otherwise some rules would need to be imposed on iovec length > and alignment, which we don't want now. > > Signed-off-by: Prasad Singamsetty <[email protected]> > jpg: relocate bdev support to another patch > Reviewed-by: "Darrick J. Wong" <[email protected]> > Reviewed-by: Martin K. Petersen <[email protected]> > Signed-off-by: John Garry <[email protected]> > --- > fs/stat.c | 34 ++++++++++++++++++++++++++++++++++ > include/linux/fs.h | 3 +++ > include/linux/stat.h | 3 +++ > include/uapi/linux/stat.h | 12 ++++++++++-- > 4 files changed, 50 insertions(+), 2 deletions(-) > Reviewed-by: Hannes Reinecke <[email protected]> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect [email protected] +49 911 74053 688 SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>