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 scsi: docs: arcmsr: Use a chapter heading for clarity 2023-05-22 18:36:07 -04:00
bfa.rst
bnx2fc.rst
BusLogic.rst Buslogic: remove ISA support 2021-04-06 09:28:17 -06:00
ChangeLog.arcmsr
ChangeLog.ips
ChangeLog.lpfc Documentation: Fix typos 2023-08-18 11:29:03 -06:00
ChangeLog.megaraid scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.megaraid_sas scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.ncr53c8xx scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.sym53c8xx Documentation: Fix typos and grammatical errors 2026-01-16 11:13:45 -07:00
ChangeLog.sym53c8xx_2 scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
cxgb3i.rst
dc395x.rst scsi: docs: dc395x: Shorten the chapter heading 2023-05-22 18:36:07 -04:00
dpti.rst
FlashPoint.rst
g_NCR5380.rst scsi: docs: g_NCR5380: Shorten chapter heading 2023-05-22 18:36:07 -04:00
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 scsi: libsas: Delete lldd_clear_aca callback 2022-02-19 15:59:34 -05:00
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 scsi: docs: megaraid: Clarify chapter heading 2023-05-22 18:36:07 -04:00
ncr53c8xx.rst scsi: docs: ncr53c8xx: Shorten chapter heading 2023-05-22 18:36:07 -04:00
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: docs: scsi-changer: Shorten the chapter heading 2023-05-22 18:36:07 -04:00
scsi-generic.rst scsi: docs: scsi-generic: Multiple cleanups 2023-05-22 18:36:07 -04:00
scsi-parameters.rst SCSI misc on 20210219 2021-02-22 10:24:58 -08:00
scsi.rst scsi: docs: introduction: Multiple cleanups 2023-05-22 18:36:07 -04:00
sd-parameters.rst
smartpqi.rst
st.rst scsi: st: Fix typo in documentation 2026-05-14 21:59:19 -04:00
sym53c8xx_2.rst scsi: docs: sym53c8xx_2: Shorten chapter heading 2023-05-22 18:36:07 -04:00
sym53c500_cs.rst
tcm_qla2xxx.rst scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ufs.rst scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
wd719x.rst