Whamcloud - gitweb
LU-18006 osc: rework sdio locking 49/55649/7
authorPatrick Farrell <paf0187@gmail.com>
Sat, 6 Jul 2024 18:10:26 +0000 (14:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Jul 2024 04:42:47 +0000 (04:42 +0000)
commitb94ba0b8075bf82bde071a7c0135fcf50d0d2724
treed0ece1b5e8ea3d5056fb65ce6f460b75d07fe656
parent63014195091532430a4155d3b2cd72b3a1b02dee
LU-18006 osc: rework sdio locking

We cannot hold a spinlock across a call to kthread_create,
so we have to rearrange the locking for this, moving the
locking inside the data copy function.  This handles the
multithreading in a slightly different spot.

Test-Parameters: testlist=sanity env=ONLY=119f,ONLY_REPEAT=100
Test-Parameters: testlist=sanity env=ONLY=119f,ONLY_REPEAT=100
Signed-off-by: Patrick Farrell <patrick.farrell@oracle.com>
Change-Id: I30c1c6600ebfe2e1fb54606608ea55469ae06937
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55649
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/cl_io.c
lustre/osc/osc_request.c