[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1232419149.19468.3.camel@norville.austin.ibm.com>
Date: Mon, 19 Jan 2009 20:39:09 -0600
From: Dave Kleikamp <shaggy@...ux.vnet.ibm.com>
To: Andreas Dilger <adilger@....com>
Cc: coly.li@...e.de, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Roman Zippel <zippel@...ux-m68k.org>,
"Sergey S. Kostyliov" <rathamahata@...4.ru>,
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>,
Mikulas Patocka <mikulas@...ax.karlin.mff.cuni.cz>,
Bob Copeland <me@...copeland.com>,
Anders Larsen <al@...rsen.net>, reiserfs-devel@...r.kernel.org,
Phillip Lougher <phillip@...gher.demon.co.uk>,
Christoph Hellwig <hch@...radead.org>,
Evgeniy Dushistov <dushistov@...l.ru>, Jan Kara <jack@...e.cz>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH 0/20] return f_fsid for statfs(2)
On Tue, 2009-01-20 at 07:36 +0800, Andreas Dilger wrote:
> On Jan 19, 2009 13:28 -0600, Dave Kleikamp wrote:
> > ext[234] return a portion of the uuid in f_fsid. There is a theoretical
> > chance of those values being non-unique. Since there doesn't appear to
> > be any case for the fsid to be persistent between boots, I guess
> > huge_encode_dev() is probably a better choice. In practice it probably
> > makes no difference.
>
> I'm not sure what you mean about "no case for fsid to be persistent"?
> The whole point of fsid (for NFS) is that this identifies the filesystem
> over reboot, even if the block device ID changes, or if the filesystem
> doesn't have a block device at all (e.g. cluster filesystem).
I guess that just demonstrates how little I know about what the fsid is
about. Would it be preferable for file systems that have a uuid to use
that instead? Of course anything is an improvement over zeroes.
Shaggy
--
David Kleikamp
IBM Linux Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists