From: Christoph Hellwig Subject: Re: [PATCH 5/5] ext4: Switch to iomap for SEEK_HOLE / SEEK_DATA Date: Fri, 30 Jun 2017 19:37:40 +0200 Message-ID: <20170630173740.GB11420@lst.de> References: <20170629135420.21357-1-hch@lst.de> <20170629135420.21357-6-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Jan Kara , linux-fsdevel , linux-xfs@vger.kernel.org, linux-ext4 To: Andreas Gruenbacher Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Fri, Jun 30, 2017 at 01:51:10PM +0200, Andreas Gruenbacher wrote: > Also, ext4 no longer calls inode_lock or inode_lock_shared; that needs > to be added back for consistency between reading i_size and walking > the file extents. At least for XFS we never had such a consistency as we never took the iolock (aka i_rwsem).