linux/Documentation/scsi
Dongdong Hao 46f861d300 scsi: leapraid: Standardize NCQ priority sysfs attributes
Replace the earlier LeapRAID ncq_cmd_prio_enable attribute with the
standard sas_ncq_prio_supported and sas_ncq_prio_enable names documented in
Documentation/ABI/testing/sysfs-block-device, and rename the per-device NCQ
priority state to match.

The earlier ncq_cmd_prio_enable name has not yet been established as part
of a released userspace ABI, so no compatibility alias is needed.

For LeapRAID, sas_ncq_prio_enable is backed by the driver's per-device NCQ
priority state and controls whether RT-class I/O requests are issued with
command priority on supported SATA devices.

Update leapraid.rst to describe the standard attribute names and paths, and
clean up the surrounding RST text for consistency with kernel documentation
style.

Also switch the capability check from open-coded VPD page 0x89 parsing to
sas_ata_ncq_prio_supported(), use kstrtobool() for the enable path, and
expose the NCQ priority attributes only for SATA devices using LeapRAID's
target-private SAS device state.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Dongdong Hao <doubled@leap-io-kernel.com>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Link: https://patch.msgid.link/20260814090526.395704-1-doubled@leap-io-kernel.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
2026-08-23 21:57:41 -04:00
..
scsi_transport_srp
53c700.rst
aacraid.rst
advansys.rst
aha152x.rst
aic7xxx.rst
aic79xx.rst
arcmsr_spec.rst
bfa.rst
bnx2fc.rst
BusLogic.rst
ChangeLog.arcmsr
ChangeLog.ips
ChangeLog.lpfc
ChangeLog.megaraid
ChangeLog.megaraid_sas
ChangeLog.ncr53c8xx
ChangeLog.sym53c8xx Documentation: Fix typos and grammatical errors 2026-01-16 11:13:45 -07:00
ChangeLog.sym53c8xx_2
cxgb3i.rst
dc395x.rst
dpti.rst
FlashPoint.rst
g_NCR5380.rst
hpsa.rst
hptiop.rst
index.rst scsi: leapraid: Add driver documentation 2026-08-07 11:56:30 -04:00
leapraid.rst scsi: leapraid: Standardize NCQ priority sysfs attributes 2026-08-23 21:57:41 -04:00
libsas.rst
LICENSE.FlashPoint
link_power_management_policy.rst scsi: docs: Add description for missing options of link_power_management_policy 2026-01-20 14:58:54 -07:00
lpfc.rst
megaraid.rst
ncr53c8xx.rst
NinjaSCSI.rst
ppa.rst
qlogicfas.rst
scsi_eh.rst scsi: documentation: scsi_eh: updates for EH changes 2025-01-02 13:10:54 -05:00
scsi_fc_transport.rst scsi: fc_transport: docs: Add documentation for FC Remote Ports 2025-06-09 21:49:26 -04:00
scsi_mid_low_api.rst scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
scsi-changer.rst
scsi-generic.rst
scsi-parameters.rst
scsi.rst
sd-parameters.rst
smartpqi.rst
st.rst scsi: st: Fix typo in documentation 2026-05-14 21:59:19 -04:00
sym53c8xx_2.rst
sym53c500_cs.rst
tcm_qla2xxx.rst
ufs.rst
wd719x.rst