scsi: target: iblock: Allow iblock devices to be shared
authorMike Christie <michael.christie@oracle.com>
Mon, 21 Jul 2025 18:51:45 +0000 (13:51 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Jul 2025 01:39:01 +0000 (21:39 -0400)
commit7ffbf335e325ed3f36ebcfed8149a8d0d7e20076
treeb1fca7215e3ed0446c46126a918959c80485893e
parent35dabf4503b94a697bababe94678a8bc989c3223
scsi: target: iblock: Allow iblock devices to be shared

We might be running a local application that also interacts with the
backing device. In this setup we have some clustering type of software
that manages the ownwer of it, so we don't want the kernel to restrict
us. This patch allows the user to control if the driver gets exclusive
access.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20250721185145.20913-1-michael.christie@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_iblock.c
drivers/target/target_core_iblock.h