Whamcloud - gitweb
LU-15095 target: lbug_on_grant_miscount module parameter 21/45521/5
authorVladimir Saveliev <c17830@cray.com>
Wed, 10 Nov 2021 08:40:50 +0000 (11:40 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 23 Dec 2021 07:19:22 +0000 (07:19 +0000)
commit2c787065441ee60c6c163dc77851d0964f81a89c
tree8cb286cc7106558b3f3ebc953dc6dfd269bb034f
parent28769c65987cb1546918fe12d6f34b95ab9c5507
LU-15095 target: lbug_on_grant_miscount module parameter

Some tests have hit "lctl: error invoking upcall" when setting the
lbug_on_grant_miscount tunable parameter.  Instead, define a module
parameter lbug_on_grant_miscount flag as ptlrpc module parameter,
similar to how it is done for ldiskfs_track_declares_assert.

Change-Id: I9cd0f9fa75b37539b23443bbcbb3445c87318ab1
Fixes: bb5d81ea95 ("LU-14543 target: prevent overflowing of tgd->tgd_tot_granted")
Test-Parameters: trivial
Signed-off-by: Vladimir Saveliev <vlaidimir.saveliev@hpe.com>
Reviewed-on: https://review.whamcloud.com/45521
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lu_target.h
lustre/mdt/mdt_lproc.c
lustre/ofd/lproc_ofd.c
lustre/target/tgt_grant.c
lustre/target/tgt_main.c
lustre/tests/test-framework.sh