public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* why not allow checksumming of file contents, too?
@ 2008-06-13  1:33 iaw4
  2008-06-13  5:08 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: iaw4 @ 2008-06-13  1:33 UTC (permalink / raw)
  To: linux-ext4


there is already checksumming of metadata.  having a file-system option of
checksumming every file's contents upon closing the write would be very
convenient, too.  It would only take an extra few bytes in the file descriptor,
wouldn't it?  It would be nice insurance against hardware corruption.  zfs has
it, too, I believe.  just a suggestions from someone who is just an end user...





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: why not allow checksumming of file contents, too?
  2008-06-13  1:33 why not allow checksumming of file contents, too? iaw4
@ 2008-06-13  5:08 ` Andreas Dilger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2008-06-13  5:08 UTC (permalink / raw)
  To: iaw4; +Cc: linux-ext4

On Jun 13, 2008  01:33 +0000, iaw4 wrote:
> there is already checksumming of metadata.

There is only checksumming of the metadata in the journal and for the
group descriptor.  There is not yet checksumming of the rest of
metadata (bitmaps, inode table, superblock, etc).

> having a file-system option of
> checksumming every file's contents upon closing the write would be very
> convenient, too.  It would only take an extra few bytes in the file
> descriptor, wouldn't it?  It would be nice insurance against hardware
> corruption.  zfs has it, too, I believe.  just a suggestions from someone
> who is just an end user...

Sure, I don't think anyone objects to it, but it is a lot of work to
implement and nobody has yet made the effort to do so.  If someone is
looking to work on this, we've given a lot of thought to the design
of how to implement this.


Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-13  5:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13  1:33 why not allow checksumming of file contents, too? iaw4
2008-06-13  5:08 ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox