linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Cleanups and improvements
@ 2023-06-05  1:32 Damien Le Moal
  2023-06-05  1:32 ` [PATCH 1/3] ata: libata-sata: Improve ata_change_queue_depth() Damien Le Moal
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Damien Le Moal @ 2023-06-05  1:32 UTC (permalink / raw)
  To: linux-ide, linux-scsi, Martin K . Petersen; +Cc: John Garry, Jason Yan

Improve ata_change_queue_depth() to have its behavior consistent for
libsas managed devices with libata managed devices. Also add a couple of
simple cleanups to use defined helper functions instead of open coding
device flags checks.

Damien Le Moal (3):
  ata: libata-sata: Improve ata_change_queue_depth()
  ata: libata-eh: Use ata_ncq_enabled() in ata_eh_speed_down()
  ata: libata-scsi: Use ata_ncq_supported in ata_scsi_dev_config()

 drivers/ata/libata-eh.c   |  4 +---
 drivers/ata/libata-sata.c | 25 +++++++++++++++----------
 drivers/ata/libata-scsi.c |  2 +-
 3 files changed, 17 insertions(+), 14 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-06-05 12:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-05  1:32 [PATCH 0/3] Cleanups and improvements Damien Le Moal
2023-06-05  1:32 ` [PATCH 1/3] ata: libata-sata: Improve ata_change_queue_depth() Damien Le Moal
2023-06-05  7:57   ` Hannes Reinecke
2023-06-05  9:58   ` John Garry
2023-06-05 10:40     ` Damien Le Moal
2023-06-05  1:32 ` [PATCH 2/3] ata: libata-eh: Use ata_ncq_enabled() in ata_eh_speed_down() Damien Le Moal
2023-06-05  7:57   ` Hannes Reinecke
2023-06-05  9:45   ` Sergei Shtylyov
2023-06-05  9:47     ` Damien Le Moal
2023-06-05 12:31   ` John Garry
2023-06-05  1:32 ` [PATCH 3/3] ata: libata-scsi: Use ata_ncq_supported in ata_scsi_dev_config() Damien Le Moal
2023-06-05  8:04   ` Hannes Reinecke
2023-06-05  9:37     ` Damien Le Moal
2023-06-05  9:46       ` Hannes Reinecke
2023-06-05  9:58         ` Damien Le Moal
2023-06-05  9:47   ` Sergei Shtylyov
2023-06-05  9:48     ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).