linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Cleanups and improvements
@ 2023-06-05 10:52 Damien Le Moal
  2023-06-05 10:52 ` [PATCH v2 1/3] ata: libata-sata: Improve ata_change_queue_depth() Damien Le Moal
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Damien Le Moal @ 2023-06-05 10:52 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 with libsas
managed devices consistent with libata managed devices. Also add a
couple of simple cleanups to use defined helper functions instead of
open coding device flags checks.

Changes from v1:
 - Improved comments in the code changes introduced in patch 1
 - Fixed typos in the commit message of patch 2 and 3
 - Added Review tags from Hannes and John

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 | 31 +++++++++++++++++++++----------
 drivers/ata/libata-scsi.c |  2 +-
 3 files changed, 23 insertions(+), 14 deletions(-)

-- 
2.40.1


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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-05 10:52 [PATCH v2 0/3] Cleanups and improvements Damien Le Moal
2023-06-05 10:52 ` [PATCH v2 1/3] ata: libata-sata: Improve ata_change_queue_depth() Damien Le Moal
2023-06-05 10:59   ` Johannes Thumshirn
2023-06-05 10:52 ` [PATCH v2 2/3] ata: libata-eh: Use ata_ncq_enabled() in ata_eh_speed_down() Damien Le Moal
2023-06-05 11:00   ` Johannes Thumshirn
2023-06-05 12:33   ` John Garry
2023-06-05 10:52 ` [PATCH v2 3/3] ata: libata-scsi: Use ata_ncq_supported in ata_scsi_dev_config() Damien Le Moal
2023-06-05 11:00   ` Johannes Thumshirn
2023-06-05 12:40     ` Johannes Thumshirn
2023-06-05 12:32   ` John Garry

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).