Hi all,

here's a patchset to switch to scsi_execute_req_flags() for
all SCSI device handlers. Originally we would be using
blk_execute_rq_nowait to allow the 'activate' function
to run asynchronously.
However, as we're now calling the 'activate' function
synchronously there's no point in using the blk_execute_rq()
interface and we should be using scsi_execute_req_flags()
instead.
And while we're at it we can convert them to use
scsi_get_vpd_page(), thus simplifying the code
by quite a bit.

As usual, comments and reviews are welcome.

Changes to v1:
- Integrate reviews from hch

Changes to v2:
- Integrate further reviews from hch

Hannes Reinecke (3):
  scsi_dh_rdac: switch to scsi_execute_req_flags()
  scsi_dh_emc: switch to scsi_execute_req_flags()
  scsi_dh_hp_sw: switch to scsi_execute_req_flags()

 drivers/scsi/device_handler/scsi_dh_emc.c   | 247 +++++++---------------------
 drivers/scsi/device_handler/scsi_dh_hp_sw.c | 222 ++++++++-----------------
 drivers/scsi/device_handler/scsi_dh_rdac.c  | 174 ++++++--------------
 3 files changed, 172 insertions(+), 471 deletions(-)

-- 
2.6.6

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to