Whamcloud - gitweb
LU-2049 grant: Fix grant interop with pre-GRANT_PARAM clients 53/25853/14
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Tue, 7 Mar 2017 13:37:46 +0000 (08:37 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 24 May 2017 07:33:32 +0000 (07:33 +0000)
commit03f24e6f786459b3dd8a37ced7fb3842b864613d
tree1cbbeff7f50652993640735c3d270dd721d528ab
parentd185bf805b71079343b42521fafdd734d52d052b
LU-2049 grant: Fix grant interop with pre-GRANT_PARAM clients

Fix a performance regression with pre-GRANT_PARAM clients.
This patch brings the grant allocation logic back into line with how
servers prior to GRANT_PARAM support allocated grant space.

Test-Parameters: clientdistro=el6.6 clientjob=lustre-b2_7 clientbuildno=29 testlist=sanity-quota mdscount=1 mdtcount=1 ostcount=2 envdefinitions=SANITY_QUOTA_EXCEPT="36"
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I63fd5b91b499936b74d2dd21c1215e0b006af085
Reviewed-on: https://review.whamcloud.com/25853
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/target/tgt_grant.c