Whamcloud - gitweb
LU-5319 mdc: manage number of modify RPCs in flight 74/14374/12
authorGregoire Pichon <gregoire.pichon@bull.net>
Mon, 30 Mar 2015 15:06:54 +0000 (17:06 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 1 Jul 2015 01:44:01 +0000 (01:44 +0000)
commit1fc013f90175d1e50d7a22b404ad6abd31a43e38
tree9e41ca26e835d6db201e1780319a338133f7e41b
parent8a11cb6282cfbdc8617b809344e6a11223e86a38
LU-5319 mdc: manage number of modify RPCs in flight

This patch is the main client part of a new feature that supports
multiple modify metadata RPCs in parallel. Its goal is to improve
metadata operations performance of a single client, while maintening
the consistency of MDT reply reconstruction and MDT recovery
mecanisms.

It allows to manage the number of modify RPCs in flight within
the client obd structure and to assign a virtual index (the tag) to
each modify RPC to help server side cleaning of reply data.

The mdc component uses this feature to send multiple modify RPCs
in parallel.

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Change-Id: Ia707e39770e479648627611a99d0724e7070baec
Reviewed-on: http://review.whamcloud.com/14374
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
12 files changed:
lustre/fid/fid_request.c
lustre/include/lustre_mdc.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/mdc/lproc_mdc.c
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_reint.c
lustre/mdc/mdc_request.c
lustre/obdclass/genops.c
lustre/tests/replay-single.sh
lustre/tests/sanity.sh