Whamcloud - gitweb
LU-11596 osc: Fix and re-enable sanity grant test for ARM 58/40758/19
authorJames Simmons <jsimmons@infradead.org>
Sat, 20 Nov 2021 13:58:53 +0000 (08:58 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 18 Jan 2022 09:08:09 +0000 (09:08 +0000)
commit7d3edce0650f0b66bdd280373a54a16cb28b8469
treeb30fc8e122e52cddb03caafd981c918f6c282d39
parenteb704aecfaad2a6256d1e2e48cdfadbabb07e5cb
LU-11596 osc: Fix and re-enable sanity grant test for ARM

If both OST and OSC support OBD_CONNECT_GRANT_PARAM, OST side will not
change client side claimed grant (a.k.a. o_grant_used) regardless of
the client page size. So no grant loss in this case.

Fixes: bd1e41672c97 ("LU-2049 grant: add support for OBD_CONNECT_GRANT_PARAM")
Change-Id: Ia0d3da587cb551400fec0c054dc65b116e6bd95b
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Reviewed-on: https://review.whamcloud.com/40758
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/osc_cache.c
lustre/tests/sanity.sh