Re: [PATCH] spraid: initial commit of Ramaxel spraid driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/19/21 17:33, Yanling Song wrote:
On Wed, 13 Oct 2021 15:00:07 -0700
Bart Van Assche <bvanassche@xxxxxxx> wrote:
Please take a look at the bsg_setup_queue() call in ufs_bsg_probe().
That call associates a BSG queue with the UFS host. That queue
supports requests of type struct ufs_bsg_request. The Fibre Channel
transport driver does something similar. I believe that this is a
better solution than introducing entirely new ioctls.

I wish there was a standard way to address the ioctrl issue.
Unfortunately ioctrl is the only way to meet our requirements as listed
in the above.
As discussed in previous megaraid's patchsets:
https://lore.kernel.org/linux-scsi/yq1inc2y019.fsf@xxxxxxxxxx/, that's
why every raid controller has it's own ioctrl.

Why are ioctls the only solution? Why is a bsg interface attached to the SCSI host not appropriate? I haven't found the answer in the conversation about the Megaraid driver.

Thanks,

Bart.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux