Whamcloud - gitweb
LU-11596 osc: Fix and re-enable sanity grant test for ARM
authorJames Simmons <jsimmons@infradead.org>
Sat, 20 Nov 2021 13:58:53 +0000 (08:58 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 21 Mar 2023 20:58:38 +0000 (20:58 +0000)
commitbc9bf12098351718531318ae24e2a7d7b8c9878d
tree0a133897ba633caf9a01682d0b2f126df4384707
parentc1f6eaea0235d5811dc6a93203df9244b0310355
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.

Lustre-change: https://review.whamcloud.com/40758
Lustre-commit: 7d3edce0650f0b66bdd280373a54a16cb28b8469

Test-Parameters: trivial clientarch=aarch64 clientdistro=el8.6 testlist=sanity
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-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50279
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osc/osc_cache.c
lustre/tests/sanity.sh