[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190827115418.GA5921@lst.de>
Date: Tue, 27 Aug 2019 13:54:18 +0200
From: Christoph Hellwig <hch@....de>
To: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Cc: Christoph Hellwig <hch@....de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] uuid: Add helpers for finding UUID from an array
On Tue, Aug 27, 2019 at 02:49:18PM +0300, Heikki Krogerus wrote:
> Matching function that compares every UUID in an array to a
> given UUID with guid_equal().
>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
> ---
> Hi,
>
> I don't have a user for these helpers, but since they are pretty
> trivial, I figured that might as well propose them in any case.
> Though, I think there was somebody proposing of doing the same thing
> that these helpers do at one point, but just the hard way in the
> drivers, right Andy?
XFS has something similar in xfs_uuid_mount, except that it also
tracks empty slots. That beeing said I'm pretty sure if you ask willy
he's suggest to just convert the table to an xarray instead :)
So I'm defintively curious what the users would be where we just check
a table, but don't also add something to the table.
Powered by blists - more mailing lists