On Wednesday, 4 January 2023 15:38:32 CET Tim Düsterhus wrote: > Unfortunately the setting `1` allows direct write access to the devices, > whereas the previous and to my understanding the default setting of `-1` > only allows read access, making this a safer option. > > It appears that aacraid's `expose_physicals=-1` option got broken > somewhere between Linux 4.19 and 5.10.
https://git.kernel.org/linus/e3cc268fe4a0ad1cbefbc53cee35c80281e609b8 seems relevant, although I do not fully understand it. One thing that stood out for me is the check `expose_physicals > 0` instead of `expose_physicals != 0`. But that commit exists since 2.6.35 ... This very much looks like an upstream kernel issue and therefor it's better to bring it to the attention of those maintainers. Those are: $ scripts/get_maintainer.pl drivers/scsi/aacraid/aachba.c Adaptec OEM Raid Solutions <aacr...@microsemi.com> (supporter:AACRAID SCSI RAID DRIVER) "James E.J. Bottomley" <j...@linux.ibm.com> (maintainer:SCSI SUBSYSTEM) "Martin K. Petersen" <martin.peter...@oracle.com> (maintainer:SCSI SUBSYSTEM) linux-s...@vger.kernel.org (open list:AACRAID SCSI RAID DRIVER) linux-ker...@vger.kernel.org (open list) When you do forward your question, please inform this bug report of the URL. HTH
signature.asc
Description: This is a digitally signed message part.