[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171121172347.GA7640@bombadil.infradead.org>
Date: Tue, 21 Nov 2017 09:23:47 -0800
From: Matthew Wilcox <willy@...radead.org>
To: Dave Chinner <david@...morbit.com>
Cc: "Darrick J. Wong" <darrick.wong@...cle.com>,
xfs <linux-xfs@...r.kernel.org>,
Ilya Dryomov <idryomov@...il.com>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Brian Foster <bfoster@...hat.com>,
holger@...lied-asynchrony.com,
linux-ext4 <linux-ext4@...r.kernel.org>,
linux-btrfs <linux-btrfs@...r.kernel.org>
Subject: Re: [PATCH v2] iomap: report collisions between directio and
buffered writes to userspace
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?
Powered by blists - more mailing lists