xfs
[Top] [All Lists]

Re: [PATCH 1/2] xfs: create new metadata UUID field and incompat flag

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH 1/2] xfs: create new metadata UUID field and incompat flag
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 12 May 2015 11:58:27 +1000
Cc: Eric Sandeen <sandeen@xxxxxxxxxx>, Brian Foster <bfoster@xxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <55514028.6010606@xxxxxxxxxxx>
References: <554D1F56.7030209@xxxxxxxxxx> <554D2110.8030405@xxxxxxxxxxx> <20150511161404.GA54361@xxxxxxxxxxxxxxx> <5550DE64.2030907@xxxxxxxxxxx> <20150511214902.GG15721@dastard> <55514028.6010606@xxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, May 11, 2015 at 06:50:00PM -0500, Eric Sandeen wrote:
> On 5/11/15 4:49 PM, Dave Chinner wrote:
> > On Mon, May 11, 2015 at 11:52:52AM -0500, Eric Sandeen wrote:
> >> On 5/11/15 11:14 AM, Brian Foster wrote:
> >>> On Fri, May 08, 2015 at 03:48:16PM -0500, Eric Sandeen wrote:
> >>> I suppose I could be convinced otherwise if there's context I'm missing,
> >>> but otherwise this seems a bit confusing to me...
> >>>
> >>> Brian
> >>
> >> Yeah, I'm sympathetic to that argument.  I can look into using sb_meta_uuid
> >> for the log too, if the incompat flag is set.
> > 
> > The log uuid is user facing, like the superblock uuid. i.e. there
> > are tools that identify external log devices by checking that the
> > uuid in the log matches the user facing uuid in the superblock.
> > Hence the log uuid needs to use the uuid that is reported to
> > userspace.
> 
> 
> None that are external to xfsprogs, I think, are there? (1) - but still.
> I'm happy to leave it as it is ... I don't think it really matters either way.
> 
> -Eric
> 
> (1) at one point I wanted to teach blkid to find an external log by UUID,
> but there is no "log superblock" so I gave up on that idea.

Well, we don't know, really, do we? It's best to play it safe and
keep it the same as the user visible filesytem uuid, as that is
what is currently expected by anything poking at block dev UUIDs...

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>