Whamcloud - gitweb
LU-12719 obdclass: serialize lwp list access 49/36349/2
authorLai Siyao <lai.siyao@whamcloud.com>
Sun, 11 Aug 2019 06:34:04 +0000 (14:34 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Nov 2019 07:33:25 +0000 (07:33 +0000)
commitb2d8a68a697e77023848ea90e78ae426b0d736d1
tree139840287d8a1abc435fd38a89328169aa1d2071
parentc234ed425713f8166c4f43ac17d757bf78038c69
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.

Lustre-change: https://review.whamcloud.com/36003
Lustre-commit: 875252d59924ad09db8de9f0fbb611788a0b9c78

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Ifc3622eb28cd6cf49661b14fc10e98aa689a58dc
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36349
Tested-by: jenkins <devops@whamcloud.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