[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <571918BC.2060007@hpe.com>
Date: Thu, 21 Apr 2016 14:15:24 -0400
From: Waiman Long <waiman.long@....com>
To: Christoph Hellwig <hch@...radead.org>
CC: Theodore Ts'o <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
<linux-ext4@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Tejun Heo <tj@...nel.org>, Christoph Lameter <cl@...ux.com>,
Scott J Norton <scott.norton@....com>,
Douglas Hatch <doug.hatch@....com>,
Toshimitsu Kani <toshi.kani@....com>
Subject: Re: [PATCH v3 1/2] ext4: Pass in DIO_SKIP_DIO_COUNT flag if inode_dio_begin()
called
On 04/20/2016 04:58 PM, Christoph Hellwig wrote:
> FYI, none of the Dax code even needs to ever touch the dio_count,
> as dax I/O can't be asynchronous, and we thus don't need it to protect
> against truncate. I'd suggest to remove it and then end_io callback
> from the DAX code entirely as a start and then move from there.
Yes, it seems like we may not need to change the dio_count in
dax_do_io() after all. BTW, what do mean by using end_io callback as a
start?
Cheers,
Longman
Powered by blists - more mailing lists