[PATCH 4/8] xfs: log file size updates at I/O completion time

Ben Myers bpm at sgi.com
Mon Mar 5 14:41:36 CST 2012


On Wed, Feb 29, 2012 at 04:53:51AM -0500, Christoph Hellwig wrote:
> @@ -173,18 +214,32 @@ xfs_end_io(
>  	 * range to normal written extens after the data I/O has finished.
>  	 */
>  	if (ioend->io_type == IO_UNWRITTEN) {
> +		/*
> +		 * For buffered I/O we never preallocate a transaction when
> +		 * doing the unwritten extent conversion, but for direct I/O
> +		 * we do not know if we are converting and unwritten extent
						       an



More information about the xfs mailing list