[PATCH v2 0/3] Cleanups and improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux