Re: [PATCH v5 2/7] scsi: libsas: Define NCQ Priority sysfs attributes for SATA devices

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

 



On 2024/3/5 8:50, Igor Pylypiv wrote:
Libata sysfs attributes cannot be used for libsas managed SATA devices
because the ata_port location is different for libsas.

Defined sysfs attributes (visible for SATA devices only):
- /sys/block/sda/device/ncq_prio_enable
- /sys/block/sda/device/ncq_prio_supported

The newly defined attributes will pass the correct ata_port to libata
helper functions.

Reviewed-by: John Garry<john.g.garry@xxxxxxxxxx>
Reviewed-by: Damien Le Moal<dlemoal@xxxxxxxxxx>
Signed-off-by: Igor Pylypiv<ipylypiv@xxxxxxxxxx>
---
  drivers/scsi/libsas/sas_ata.c | 94 +++++++++++++++++++++++++++++++++++
  include/scsi/sas_ata.h        |  6 +++
  2 files changed, 100 insertions(+)

Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>




[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