Whamcloud - gitweb
LU-1267 lfsck: enhance RPCs (2) for MDT-OST consistency 87/7087/39
authorFan Yong <fan.yong@intel.com>
Fri, 24 Jan 2014 19:44:32 +0000 (03:44 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 3 Feb 2014 01:29:48 +0000 (01:29 +0000)
commit129ff9f509f0568a258f544d763a0a267e0f8b26
tree47bd6affd63105dfbe910d502db9cf18620f2490
parent7f66fe7572a2a8ab6711146bdea67d04e6381b4b
LU-1267 lfsck: enhance RPCs (2) for MDT-OST consistency

The LFSCK on the MDT uses LFSCK_NOTIFY RPC to control the LFSCK
on the OSTs (or other MDTs) to start/stop/fail/pause the layout
consistency verification. And uses LFSCK_QUERY RPC to query the
LFSCK status on the OSTs (or other MDTs).

Introduce new connection flag: OBD_CONNECT_LFSCK to indicate that
whether the target server (MDT/OST) supports online LFSCK or not.

Test-Parameters: allwaysuploadlogs
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ia605f25d0ca0224af3ee543d72a1e9f0cae918e3
Reviewed-on: http://review.whamcloud.com/7087
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lod/lod_lov.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c