1. 23 Jun, 2023 3 commits
  2. 15 Jun, 2023 1 commit
  3. 13 Jun, 2023 2 commits
  4. 05 Jun, 2023 3 commits
  5. 04 Jun, 2023 1 commit
    • Damien Le Moal's avatar
      ata: libata-sata: Simplify ata_change_queue_depth() · 371b74c8
      Damien Le Moal authored
      Commit 141f3d62 ("ata: libata-sata: Fix device queue depth control")
      added a struct ata_device argument to ata_change_queue_depth() to
      address problems with changing the queue depth of ATA devices managed
      through libsas. This was due to problems with ata_scsi_find_dev() which
      are now fixed with commit 7f875850 ("ata: libata-scsi: Use correct
      device no in ata_find_dev()").
      
      Undo some of the changes of commit 141f3d62: remove the added struct
      ata_device aregument and use again ata_scsi_find_dev() to find the
      target ATA device structure. While doing this, also make sure that
      ata_scsi_find_dev() is called with ap->lock held, as it should.
      
      libsas and libata call sites of ata_change_queue_depth() are updated to
      match the modified function arguments.
      Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
      Reviewed-by: default avatarJason Yan <yanaijie@huawei.com>
      Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
      371b74c8
  6. 01 Jun, 2023 1 commit
  7. 16 May, 2023 16 commits
  8. 14 May, 2023 13 commits