Whamcloud - gitweb
LU-3951 lfsck: LWP connection from OST-x to MDT-y 66/7666/24
authorFan Yong <fan.yong@intel.com>
Fri, 24 Jan 2014 19:41:42 +0000 (03:41 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 31 Jan 2014 04:19:41 +0000 (04:19 +0000)
commit7a303a8250c7f2e20a72089cca6d9ac52daff632
tree38299b6aaecc8945e7041150106bffb35b6cb193
parent7926ffc8a84db151fc81575168e45e92eab516d8
LU-3951 lfsck: LWP connection from OST-x to MDT-y

When client sends object-based RPC to the OST-x, the RPC service
thread on the OST-x needs to verify whether the given parent FID
information in the client RPC matches the parent FID information
stored in the OST-object. If not match, it will query the MDT-y
according to the client given parent FID information. The query
RPC from the OST-x to the MDT-y is sent via LWP connection.

The other use case is that the LFSCK on the OST-x needs to talk
with the LFSCK on the MDT-y, such control/query RPC will be via
above LWP connection from OST-x to MDT-y.

Currently, we only support LWP connection frm OST-x to the MDT-0.
This patch enhance that to enable LWP connection from any OST to
any MDT.

Test-Parameters: allwaysuploadlogs
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ie98be82b3af90456d1838d53b6d77c12956f7bd7
Reviewed-on: http://review.whamcloud.com/7666
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
libcfs/include/libcfs/libcfs_string.h
libcfs/libcfs/libcfs_string.c
lustre/include/lustre_disk.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/mdt/mdt_handler.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_mount.c
lustre/obdclass/obd_mount_server.c
lustre/ofd/ofd_fs.c
lustre/ofd/ofd_objects.c
lustre/osp/lwp_dev.c
lustre/quota/qsd_lib.c