Whamcloud - gitweb
LU-12781 ptlrpc: fix inline reply buffer grow 32/36732/4
authorMikhail Pershin <mpershin@whamcloud.com>
Mon, 11 Nov 2019 21:24:39 +0000 (00:24 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 3 Jan 2020 00:09:24 +0000 (00:09 +0000)
commit02c23a2e851fdebc3e2bde45a51fb043559504ab
treed48b1206e8e2d9114f4ca340539e207d3f5cc570
parent416e67222b769df490a8be034ef987a596dd8dff
LU-12781 ptlrpc: fix inline reply buffer grow

In req_capsule_server_grow() reply buffer can be increased
without re-allocation if has enough size already, don't do
that though if rs->rs_repbuf is a wrapper, e.g. with security
enabled. In that case re-allocation is still needed.

Re-enable test 272a in sanity.sh with SHARED_KEY

Test-Parameters: mdscount=2 mdtcount=4 envdefinitions=SHARED_KEY=true testlist=sanity,sanity-pfl
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I0632b9513f877bea989b7a61a729e2db488dcfcc
Reviewed-on: https://review.whamcloud.com/36732
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_io.c
lustre/ptlrpc/layout.c
lustre/tests/sanity.sh