Whamcloud - gitweb
LU-1267 lfsck: enhance RPCs (1) for MDT-OST consistency 23/8623/21
authorFan Yong <fan.yong@intel.com>
Fri, 24 Jan 2014 19:42:48 +0000 (03:42 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 3 Feb 2014 01:29:07 +0000 (01:29 +0000)
commit7f66fe7572a2a8ab6711146bdea67d04e6381b4b
treef7d67d357ffa5ecf712ce54b658d415321b57fab
parent3f5fc6412d3ae2d3a57f8fdb8a457f35e9d9576e
LU-1267 lfsck: enhance RPCs (1) for MDT-OST consistency

Introduce new RPC LFSCK_NOTIFY for the LFSCK instance on the server_1
to notify the LFSCK instance on the server_2 about the event such as:
lfsck start/stop/pause/fail/phaseX_done, and so on.

Introduce new RPC LFSCK_QUERY for the LFSCK instance on the server_1
to query the LFSCK status on the server_2.

The two new RPCs are used not only for MDT-OST consistency, but also
for DNE consistency in the future.

Test-Parameters: allwaysuploadlogs
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I8529f1a3f5f7f9589101f456f0397c8ebe11df18
Reviewed-on: http://review.whamcloud.com/8623
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
23 files changed:
lustre/include/lprocfs_status.h
lustre/include/lu_target.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_lfsck.h
lustre/include/lustre_lib.h
lustre/include/lustre_req_layout.h
lustre/include/obd_support.h
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c
lustre/mdd/mdd_device.c
lustre/mdt/mdt_handler.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_obd.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/wiretest.c
lustre/target/tgt_handler.c
lustre/target/tgt_internal.h
lustre/utils/req-layout.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c