From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([65.50.211.133]:36423 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbdKURXu (ORCPT ); Tue, 21 Nov 2017 12:23:50 -0500 Date: Tue, 21 Nov 2017 09:23:47 -0800 From: Matthew Wilcox Subject: Re: [PATCH v2] iomap: report collisions between directio and buffered writes to userspace Message-ID: <20171121172347.GA7640@bombadil.infradead.org> References: <20171117193925.GM5119@magnolia> <20171120161829.GA25991@bombadil.infradead.org> <20171120202606.GN5858@dastard> <20171120215100.GB8933@bombadil.infradead.org> <20171120222749.GO5858@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171120222749.GO5858@dastard> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Dave Chinner Cc: "Darrick J. Wong" , xfs , Ilya Dryomov , linux-fsdevel , Brian Foster , holger@applied-asynchrony.com, linux-ext4 , linux-btrfs On Tue, Nov 21, 2017 at 09:27:49AM +1100, Dave Chinner wrote: > On Mon, Nov 20, 2017 at 01:51:00PM -0800, Matthew Wilcox wrote: > > If you want an example of it in use, I'm pretty happy with this patch > > that switches the brd driver entirely from the radix tree API to the > > xarray API: > > > > http://git.infradead.org/users/willy/linux-dax.git/commitdiff/dbf96ae943e43563cbbaa26e21b656b6fe8f4b0f > > Looks pretty neat, but I'll reserve judgement for when I see the > conversion of the XFS radix tree code.... Challenge accepted. This was a good thing for me to do because I found some opportunities to improve the XArray API. Changes since yesterday: - Added XA_NO_TAG - Added 'max' parameters to xa_get_entries() and xa_get_tagged() - Changed the order of the arguments of xa_get_entries() and xa_get_tagged() to match the radix tree equivalents You can see the patches on that (rebased) branch: xfs: Convert mru cache to XArray xfs: Convert xfs dquot to XArray xfs: Convert pag_ici_root to XArray xfs: Convert m_perag_tree to XArray or did you want me to send them by email?