Whamcloud - gitweb
LU-957 scrub: Ancillary work for LFSCK/OI scrub
authorFan Yong <yong.fan@whamcloud.com>
Wed, 9 May 2012 07:11:58 +0000 (15:11 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 22 May 2012 04:40:54 +0000 (00:40 -0400)
commiteeb7850ac3eae797a3cc3fee1a18725674d4d95f
tree6188e66045133ac9e022643739b645ced54c1b20
parent00c46e5396182d0a40efe770b36a5ef71b8a2ad2
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: I482fb0e076c296bb8690ed200c569001a9cb78f5
Reviewed-on: http://review.whamcloud.com/2550
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.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