From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:8925 "EHLO ipmail06.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754357AbcDMVyv (ORCPT ); Wed, 13 Apr 2016 17:54:51 -0400 Date: Thu, 14 Apr 2016 07:54:42 +1000 From: Dave Chinner To: Christoph Hellwig Cc: xfs@oss.sgi.com, rpeterso@redhat.com, linux-fsdevel@vger.kernel.org Subject: Re: iomap infrastructure and multipage writes V2 Message-ID: <20160413215442.GS567@dastard> References: <1460494382-14547-1-git-send-email-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460494382-14547-1-git-send-email-hch@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Apr 12, 2016 at 01:52:54PM -0700, Christoph Hellwig wrote: > This series add a new file system I/O path that uses the iomap structure > introduced for the pNFS support and support multi-page buffered writes. > > This was first started by Dave Chinner a long time ago, then I did beat > it into shape for production runs in a very constrained ARM NAS > enviroment for Tuxera almost as long ago, and now half a dozen rewrites > later it's back. > > The basic idea is to avoid the crazy per-block get_blocks overhead > and make use of extents in the buffered write path by iterating over > them instead. > > Chances since V1: > - add support for fiemap > - fix a test fail on 1k block sizes > - prepare for 64-bit length, this will be used in a follow on patchset This appears to pass xfstests on all my test setups without any regressions. I haven't tested RT devices yet, but we can ignore that for now. I guess now it's time to look harder at the code. Christoph, have you done any perf testing of this patchset yet to check that it does indeed reduce the CPU overhead of large write operations? I'd also be interested to know if there is any change in overhead for single page (4k) IOs as well, even though I suspect there won't be. Cheers, Dave. -- Dave Chinner david@fromorbit.com