From: Dan Williams <dan.j.williams@intel.com>
To: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org
Cc: jgarzik@pobox.com, JBottomley@parallels.com
Subject: [PATCH 0/5] libsas fixes discovered via isci-atapi enabling effort
Date: Tue, 20 Sep 2011 15:10:03 -0700 [thread overview]
Message-ID: <20110920220819.1094.12265.stgit@localhost6.localdomain6> (raw)
While enabling atapi device support for isci we encountered a condition
whereby multiple srX devices (one for every possible LUN) were exported
by the midlayer. Looking at other drivers showed that they had a local
workaround for this and other conditions in custom
->slave_{alloc|configure} methods. Rather than add custom workaround
for isci this patchset uplevels those workarounds to libsas proper.
Patch 3/5 is tagged RFC as I do not know the original history behind
hard limiting libsas end devices to a queue_depth of 32. At least mvsas
has been bumping this up to 64 on its own.
---
Dan Williams (5):
libsas: disable scanning lun > 0 on ata devices
libsas: fix ->change_queue_{depth|type} for sata devices
libsas: dynamic queue depth
mvsas: remove mvs_slave_{alloc|configure}
pm8001: remove pm8001_slave_{alloc|configure}
drivers/ata/libata-core.c | 1 +
drivers/ata/libata-scsi.c | 44 +++++++++++++++++++++++------------
drivers/scsi/libsas/sas_scsi_host.c | 42 +++++++++++++++++++--------------
drivers/scsi/mvsas/mv_init.c | 4 ++-
drivers/scsi/mvsas/mv_sas.c | 30 ------------------------
drivers/scsi/mvsas/mv_sas.h | 2 --
drivers/scsi/pm8001/pm8001_init.c | 4 ++-
drivers/scsi/pm8001/pm8001_sas.c | 31 +------------------------
drivers/scsi/pm8001/pm8001_sas.h | 2 --
drivers/scsi/scsi_transport_sas.c | 10 ++++++--
include/linux/libata.h | 2 ++
11 files changed, 69 insertions(+), 103 deletions(-)
next reply other threads:[~2011-09-20 22:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-20 22:10 Dan Williams [this message]
2011-09-20 22:10 ` [PATCH 1/5] libsas: disable scanning lun > 0 on ata devices Dan Williams
2011-09-20 22:15 ` Christoph Hellwig
2011-09-21 12:28 ` Mark Salyzyn
2011-09-22 2:29 ` Jeff Garzik
2011-09-20 22:10 ` [PATCH 2/5] libsas: fix ->change_queue_{depth|type} for sata devices Dan Williams
2011-09-20 22:16 ` Christoph Hellwig
2011-09-21 12:27 ` Mark Salyzyn
2011-09-22 2:30 ` Jeff Garzik
2011-09-20 22:10 ` [RFC PATCH 3/5] libsas: dynamic queue depth Dan Williams
2011-09-20 22:18 ` Christoph Hellwig
2011-09-21 1:17 ` Jack Wang
2011-09-21 12:37 ` Mark Salyzyn
2011-09-22 1:38 ` Jack Wang
2011-09-20 22:10 ` [PATCH 4/5] mvsas: remove mvs_slave_{alloc|configure} Dan Williams
2011-09-22 2:26 ` Xiangliang Yu
2011-09-22 2:31 ` Jeff Garzik
2011-09-22 3:17 ` Williams, Dan J
2011-09-22 3:19 ` Xiangliang Yu
2011-09-20 22:11 ` [PATCH 5/5] pm8001: remove pm8001_slave_{alloc|configure} Dan Williams
2011-09-21 1:13 ` [PATCH 0/5] libsas fixes discovered via isci-atapi enabling effort Jack Wang
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=20110920220819.1094.12265.stgit@localhost6.localdomain6 \
--to=dan.j.williams@intel.com \
--cc=JBottomley@parallels.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox