Whamcloud - gitweb
LU-12719 obdclass: serialize lwp list access 03/36003/3
authorLai Siyao <lai.siyao@whamcloud.com>
Sun, 11 Aug 2019 06:34:04 +0000 (14:34 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:03:00 +0000 (23:03 +0000)
commit875252d59924ad09db8de9f0fbb611788a0b9c78
tree8f910520e3f4df30f2a29325825222f558990f24
parent454719d6ddceb1944da83a88e01518579ebd0828
LU-12719 obdclass: serialize lwp list access

lustre_sb_info.lsi_lwp_list should be acessed with lock, and
some place may sleep, change lsi_lwp_lock from spinlock to mutex.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Ifc3622eb28cd6cf49661b14fc10e98aa689a58dc
Reviewed-on: https://review.whamcloud.com/36003
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_disk.h
lustre/obdclass/obd_mount.c
lustre/obdclass/obd_mount_server.c