Whamcloud - gitweb
LU-2183 osp: cleanup osp-on-ost
authorwangdi <di.wang@whamcloud.com>
Wed, 9 Oct 2013 02:56:07 +0000 (19:56 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 Jan 2013 18:49:10 +0000 (13:49 -0500)
commit1bdf0d6fcbe11efdf67ebdb09f04955b9ce88de4
tree7f294c5d7191de9854e8f3dfeb5ad6130755cec5
parentaedb20f5caf2f2a28e33da70d837415a5082c0af
LU-2183 osp: cleanup osp-on-ost

With new quota design and FIDonOST introduced, a new connection
from OST/MDTn to MDT0 is required for sending quota and sequence
RPCs. This connection was implemented by adding a new special
osp device named osp-on-ost, which introduced complexity to osp
code, and many hacks of checking the osp device name in both
client and server side code.

In this patch, we removed the osp-on-ost, and introduced a new
device type lwp (Light Weight Proxy) to manage the light weight
connection established from OSTs/MDTs to MDT0.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Signed-off-by: Wang Di <di.wang@whamcloud.com>
Change-Id: Ic1ba25f941a4f971a542dc4be8a81e28ee0f477b
Reviewed-on: http://review.whamcloud.com/4923
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
15 files changed:
lustre/fld/fld_handler.c
lustre/include/obd.h
lustre/include/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/obdclass/genops.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_mount.c
lustre/ofd/ofd_fs.c
lustre/osp/Makefile.in
lustre/osp/lwp_dev.c [new file with mode: 0644]
lustre/osp/osp_dev.c
lustre/osp/osp_internal.h
lustre/osp/osp_ost.c [deleted file]
lustre/quota/qsd_lib.c
lustre/tests/sanity-quota.sh