public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* mke2fs and lazy_itable_init
@ 2008-05-08 22:48 Andreas Dilger
  2008-05-09  2:18 ` Theodore Tso
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Dilger @ 2008-05-08 22:48 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-ext4

I just noticed lazy_itable_init in the mke2fs.8.in man page.  I think
a warning needs to be added there that this is not currently safe to
use, because the kernel does not yet do the background zeroing.  There
is nothing in the man page to indicate that this is unsafe...

 .B lazy_itable_init\fR[\fb= \fI<0 to disable, 1 to enable>\fR]
 If enabled and the uninit_bg feature is enabled, the inode table will
 not fully initialized by 
 .BR mke2fs .
 This speeds up filesystem
 initialization noitceably, but it requires the kernel to finish
 initializing the filesystem in the background when the filesystem is
 first mounted.  If the option value is omitted, it defaults to 1 to
 enable lazy inode table initialization.
+.BR NOTE :
+No kernels do the background zeroing of the inode table at this time,
+so this option is unsafe for production use, due to the risk of serious
+filesystem corruption if e2fsck has to scan the whole inode table for
+some reason (e.g. incorrect group descriptor checksum).

Sorry for half patch, but my GIT repo is broken somehow and I wanted to
email before I forget.


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


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

end of thread, other threads:[~2008-08-27  9:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 22:48 mke2fs and lazy_itable_init Andreas Dilger
2008-05-09  2:18 ` Theodore Tso
2008-05-09  8:19   ` Andreas Dilger
2008-08-27  9:29     ` Solofo.Ramangalahy

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