Skip to content

scsi_dh: switch to scsi_execute_req_flags()

Hannes Reinecke linux-scsi 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Changes to v1 from the cover letter

- Integrate reviews from hch

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scsi_dh_rdac: switch to scsi_execute_req_flags()drivers/scsi/device_handler/scsi_dh_rdac.c+51 -1230 replies
2/3scsi_dh_emc: switch to scsi_execute_req_flags()drivers/scsi/device_handler/scsi_dh_emc.c+56 -1910 replies
3/3scsi_dh_hp_sw: switch to scsi_execute_req_flags()drivers/scsi/device_handler/scsi_dh_hp_sw.c+65 -1570 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 0/3] scsi_dh: switch to scsi_execute_req_flags()

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(-)
Signature · 1 line
2.6.6