Whamcloud - gitweb
LU-12691 ldlm: obd_max_recoverable_clients is not atomic 78/36878/2
authorTatsushi Takamura <takamr.tatsushi@jp.fujitsu.com>
Mon, 26 Aug 2019 00:12:37 +0000 (09:12 +0900)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Dec 2019 23:05:48 +0000 (23:05 +0000)
commitccd89f519d4cdb3ebf971edf178f9cd2e664beec
treeae5e6274662af73cd5ec8e57700cc292c6dc2491
parentb0194200146a54ee45df208da88dcc6b916fb51f
LU-12691 ldlm: obd_max_recoverable_clients is not atomic

Originally obd_max_recoverable_clients is not increased
at the same moment. But because of LU-3540,
it will be increased by multiple processes.

The type of obd_max_recoverable_clients should be
atomic_t and be handled by atomic operations.

Lustre-change: https://review.whamcloud.com/35914
Lustre-commit: 01261e7b563adc97899d962f0ba2d1b430894bf7

Signed-off-by: Tatsushi Takamura <takamr.tatsushi@jp.fujitsu.com>
Change-Id: I9a67bbbfacab2e05858243f649e3a4e0d4b5d7f7
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36878
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/obdclass/lprocfs_status_server.c
lustre/target/tgt_lastrcvd.c