Whamcloud - gitweb
LU-17887 obd: do not update obd_memory from RCU
authorBruno Faccini <bfaccini@nvidia.com>
Thu, 30 May 2024 16:39:37 +0000 (18:39 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jun 2024 05:35:05 +0000 (05:35 +0000)
commit89cf5e22f700f452065c27dd3d949c25ec61395e
tree512a388824daf6769b71a3974a343a3a099980bc
parent1c8464b4ae178fe9b8cf847f6eff0a0dba9e72b7
LU-17887 obd: do not update obd_memory from RCU

OBD_FREE_PRE() should not be run from an RCU
callback as the obdclass module may have been
unloaded during the RCU grace period.

Lustre-change: https://review.whamcloud.com/55263
Lustre-commit: 8b6719f1b32e134babe9f47e2dc79c66a3735b49

Signed-off-by: Bruno Faccini <bfaccini@nvidia.com>
Change-Id: I6f663b2aed2e60c15f2a1b9755b2c4050bd91ce2
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55380
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/obdclass/lu_object.c