Whamcloud - gitweb
LU-957 scrub: Ancillary work for LFSCK/OI scrub
authorFan Yong <yong.fan@whamcloud.com>
Wed, 30 May 2012 12:27:48 +0000 (20:27 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 4 Jun 2012 16:28:06 +0000 (12:28 -0400)
commit960857b6b23d9e715cd9737db6e25229d523e2a8
tree055c9370db8bf29613e60842cf5a0f6cb9801ba1
parent1364ab2c166d69bc857a729f3eff2c965db847c9
LU-957 scrub: Ancillary work for LFSCK/OI scrub

1) New debug sub-system - 'D_LFSCK'
For Lustre fsck/scrub running trace.

2) New MDT mount option - 'noscrub'
To disable auto triggering OI scrub when MDT mounts up
or by RPC which accesses inconsistent OI mapping entry.

3) Any object which will be used when Lustre server mounts
   should not be added into OI files to guarantee that the
   Lustre server can start up even though OI files corrupt.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I8b1f1f1160db25ce05bd2d5688f9ff1507e3841b
Reviewed-on: http://review.whamcloud.com/2897
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_debug.h
libcfs/libcfs/debug.c
lustre/include/lustre_disk.h
lustre/include/lustre_net.h
lustre/obdclass/obd_mount.c
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_oi.c