All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Don Brace <don.brace@microchip.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH v7 3/4] smartpqi: add host attributes
Date: Sun, 15 Oct 2023 00:49:15 +0200	[thread overview]
Message-ID: <ZSsa63tNPP8WNizq@debian> (raw)
In-Reply-To: <20231011190024.42728-4-don.brace@microchip.com>

[-- Attachment #1: Type: text/plain, Size: 3261 bytes --]

Hi Don,

On Wed, Oct 11, 2023 at 02:00:23PM -0500, Don Brace wrote:
> Add in some host level sysfs entries:
> enable_stream_detection - Send RAID 5/6 writes down the normal I/O path.
>                           Allow for full-stripe write requests.
> ssd_smart_path_enabled  - Indicates that our Accelerated I/O path is
>                           enabled. (AIO).
> enable_r5_writes        - Allow RAID 5 write operations down the AIO path.
> enable_r6_writes        - Allow RAID 6 write operations down the AIO path.
> 
> Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
> Reviewed-by: Scott Teel <scott.teel@microchip.com>
> Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
> Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
> Signed-off-by: Don Brace <don.brace@microchip.com>

Patch applied.
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=5fdcb5af706691ab62ddef6c08b97eb633c59e15>

Thanks,
Alex

> ---
>  man4/smartpqi.4 | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 62 insertions(+)
> 
> diff --git a/man4/smartpqi.4 b/man4/smartpqi.4
> index 89387c0498fd..a32eac206904 100644
> --- a/man4/smartpqi.4
> +++ b/man4/smartpqi.4
> @@ -237,6 +237,68 @@ $ \c
>  Adaptec
>  .EE
>  .in
> +.TP
> +.I /sys/class/scsi_host/host*/enable_stream_detection
> +The
> +.I enable_stream_detection
> +attribute is read-write.
> +This attribute enables/disables stream detection in the driver.
> +Enabling stream detection can improve sequential write performance for
> +ioaccel-enabled volumes. See the
> +.BI ssd_smart_path_enabled
> +disk attribute section for details on ioaccel-enabled volumes.
> +The default value is 1 (stream detection enabled).
> +.IP
> +Enable example:
> +.IP
> +.in +4n
> +.EX
> +$ \c
> +.B echo 1 > /sys/class/scsi_host/host1/enable_stream_detection
> +.EE
> +.in
> +.TP
> +.I /sys/class/scsi_host/host*/enable_r5_writes
> +The
> +.I enable_r5_writes
> +attribute is read-write.
> +This attribute enables/disables RAID 5 write operations for ioaccel-enabled
> +volumes.
> +Enabling can improve sequential write performance.
> +See the
> +.BI ssd_smart_path_enabled
> +disk attribute section for details on ioaccel-enabled volumes.
> +The default value is 1 (RAID 5 writes enabled).
> +.IP
> +Enable example:
> +.IP
> +.in +4n
> +.EX
> +$ \c
> +.B echo 1 > /sys/class/scsi_host/host1/enable_r5_writes
> +.EE
> +.in
> +.TP
> +.I /sys/class/scsi_host/host*/enable_r6_writes
> +The
> +.I enable_r6_writes
> +attribute is read-write.
> +This attribute enables/disables RAID 6 write operations for
> +ioaccel-enabled volumes.
> +Enabling can improve sequential write performance.
> +See the
> +.BI ssd_smart_path_enabled
> +disk attribute section for details on ioaccel-enabled volumes.
> +The default value is 1 (RAID 6 writes enabled).
> +.IP
> +Enable example:
> +.IP
> +.in +4n
> +.EX
> +$ \c
> +.B echo 1 > /sys/class/scsi_host/host1/enable_r6_writes
> +.EE
> +.in
>  .SS SmartPQI-specific disk attribute files in \f[BI]/sys\fP
>  In the file specifications below,
>  .I c
> -- 
> 2.42.0.345.gaab89be2eb
> 

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-10-14 22:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11 19:00 [PATCH v7 0/4] smartpqi man page updates Don Brace
2023-10-11 19:00 ` [PATCH v7 1/4] smartpqi: update host attribute descriptions Don Brace
2023-10-14 22:38   ` Alejandro Colomar
2023-10-11 19:00 ` [PATCH v7 2/4] smartpqi: remove sysfs entry for version Don Brace
2023-10-11 19:00 ` [PATCH v7 3/4] smartpqi: add host attributes Don Brace
2023-10-14 22:49   ` Alejandro Colomar [this message]
2023-10-11 19:00 ` [PATCH v7 4/4] smartpqi: add device attributes Don Brace
2023-10-14 22:56   ` Alejandro Colomar

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=ZSsa63tNPP8WNizq@debian \
    --to=alx@kernel.org \
    --cc=don.brace@microchip.com \
    --cc=linux-man@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.