xfs
[Top] [All Lists]

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

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 4/8] xfs: log file size updates at I/O completion time
From: Ben Myers <bpm@xxxxxxx>
Date: Mon, 5 Mar 2012 14:41:36 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20120229095508.812609910@xxxxxxxxxxxxxxxxxxxxxx>
References: <20120229095347.009884687@xxxxxxxxxxxxxxxxxxxxxx> <20120229095508.812609910@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
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

<Prev in Thread] Current Thread [Next in Thread>