[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111205154133.GA5488@thunk.org>
Date: Mon, 5 Dec 2011 10:41:33 -0500
From: Ted Ts'o <tytso@....edu>
To: "Darrick J. Wong" <djwong@...ibm.com>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH 02/22] ext4: Create a rocompat flag for extended
metadata checksumming
(Reviews sent to ext4 list only)
On Mon, Nov 28, 2011 at 03:26:29PM -0800, Darrick J. Wong wrote:
> This patch introduces a rocompat feature flag to signal the presence
> of checksums for metadata blocks. It also provides storage for a
> precomputed UUID checksum.
>
> +
> + /* Precomputed FS UUID checksum */
> + __u32 s_uuid_csum;
This is really a checksum seed, right? Calling it a UUID is going to
be confusing because UUID's are expected to be 128 bits, and something
which is 32 bits can't possibly be a universally unique.
I'd suggest calling this "s_csum_seed", and we explain it as a
random seed which is selected when the file system is formatted.
The commit description could also explain that this is used so we can
detect old metadata blocks left over from a previous use of the
storage device.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists