Whamcloud - gitweb
LU-11414 ptlrpc: don't change buffer when signature is ready 23/33223/2
authorMikhail Pershin <mpershin@whamcloud.com>
Sun, 23 Sep 2018 20:07:37 +0000 (23:07 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 5 Oct 2018 22:28:05 +0000 (22:28 +0000)
commitcf503e047c7fe58c3f75c912b3ce8da93f79bf0e
treebdd4c70a5346bdfda8731f75a3a41e0c8eac9b26
parentba375e50229fa760ef98ddfbbc0b5799b4a9ef19
LU-11414 ptlrpc: don't change buffer when signature is ready

The lm_repsize is part of buffer being used in signature calculation
and must not be changed after calculation is done.

Patch reverts related changes from commit 13372d6c and moves related
lm_repsize update into MDC where DOM read-on-open buffer is prepared

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: Ic277ca26ad8fb8e23ee7e4b6e81d84a1d51b4733
Reviewed-on: https://review.whamcloud.com/33223
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_locks.c
lustre/ptlrpc/niobuf.c