Whamcloud - gitweb
LU-5939 hsm: make HSM modification requests replayable 84/13684/3
authorMikhail Pershin <mike.pershin@intel.com>
Mon, 9 Feb 2015 03:44:46 +0000 (06:44 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 8 May 2015 14:57:59 +0000 (14:57 +0000)
commit9eda825b1b449baaf2676cc80ccae79d4297cf2d
tree60fa7ee6baca45fbfa39e960cb0f9309c8a751dc
parent94fe3dadb5774af0eb0fec6d21aa73a22ac4838c
LU-5939 hsm: make HSM modification requests replayable

There are several HSM requests which modify data on server and
reply on Lustre recovery, e.g. they should replay changes in
case of recovery.

Patch allows such requests to be replayed in recovery time and
they are issued from client using mdc_rpc_lock to serialize them
and avoid concurrent last_rcvd update on server.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I39810f99e99fadb76a96facf903405f6c85cc71f
Reviewed-on: http://review.whamcloud.com/13684
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdc/mdc_request.c
lustre/target/tgt_handler.c