Whamcloud - gitweb
LU-12691 ldlm: obd_max_recoverable_clients is not atomic 14/35914/3
authorTatsushi Takamura <takamr.tatsushi@jp.fujitsu.com>
Mon, 26 Aug 2019 00:12:37 +0000 (09:12 +0900)
committerOleg Drokin <green@whamcloud.com>
Wed, 9 Oct 2019 22:35:25 +0000 (22:35 +0000)
commit01261e7b563adc97899d962f0ba2d1b430894bf7
tree13e62e5a53e69a2dbb2b0a2cf281070097fcd86c
parente25e45c612a061031e8b4b5233137fbb57b50cc4
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.

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