From: Damien Le Moal <dlemoal@kernel.org>
To: Dongdong Hao <doubled@leap-io-kernel.com>,
James.Bottomley@HansenPartnership.com,
martin.petersen@oracle.com
Cc: hare@kernel.org, hare@suse.de, yjzhang@leap-io-kernel.com,
kezijie@leap-io-kernel.com, jzzhang@leap-io-kernel.com,
baikefan@leap-io-kernel.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi: leapraid: standardize NCQ priority sysfs attributes
Date: Fri, 14 Aug 2026 17:31:16 +0900 [thread overview]
Message-ID: <356cb94c-d8e0-41c5-b45b-dfdd98b00a03@kernel.org> (raw)
In-Reply-To: <20260814081412.394957-1-doubled@leap-io-kernel.com>
On 8/14/26 17:14, Dongdong Hao wrote:
> 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.
>
> Signed-off-by: Dongdong Hao <doubled@leap-io-kernel.com>
Your commit message lines are very short.
Please use up to 75 chars per line.
Other than that, looks OK.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
--
Damien Le Moal
Western Digital Research
prev parent reply other threads:[~2026-08-14 8:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-14 8:14 [PATCH] scsi: leapraid: standardize NCQ priority sysfs attributes Dongdong Hao
2026-08-14 8:31 ` Damien Le Moal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=356cb94c-d8e0-41c5-b45b-dfdd98b00a03@kernel.org \
--to=dlemoal@kernel.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=baikefan@leap-io-kernel.com \
--cc=doubled@leap-io-kernel.com \
--cc=hare@kernel.org \
--cc=hare@suse.de \
--cc=jzzhang@leap-io-kernel.com \
--cc=kezijie@leap-io-kernel.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=yjzhang@leap-io-kernel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox