linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/3] scsi_dh: switch to scsi_execute_req_flags()
@ 2016-11-01 21:49 Hannes Reinecke
  2016-11-01 21:49 ` [PATCH 1/3] scsi_dh_rdac: " Hannes Reinecke
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Hannes Reinecke @ 2016-11-01 21:49 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, James Bottomley, linux-scsi, Hannes Reinecke

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.

As usual, comments and reviews are welcome.

Changes to v1:
- Integrate 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   | 245 ++++++----------------------
 drivers/scsi/device_handler/scsi_dh_hp_sw.c | 218 +++++++------------------
 drivers/scsi/device_handler/scsi_dh_rdac.c  | 172 ++++++-------------
 3 files changed, 164 insertions(+), 471 deletions(-)

-- 
2.6.6


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCHv3 0/3] scsi_dh: switch to scsi_execute_req_flags()
@ 2016-11-03 13:20 Hannes Reinecke
  2016-11-03 13:20 ` [PATCH 3/3] scsi_dh_hp_sw: " Hannes Reinecke
  0 siblings, 1 reply; 14+ messages in thread
From: Hannes Reinecke @ 2016-11-03 13:20 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, James Bottomley, linux-scsi, Hannes Reinecke

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


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/3] scsi_dh: switch to scsi_execute_req_flags()
@ 2016-10-31 17:59 Hannes Reinecke
  2016-10-31 17:59 ` [PATCH 3/3] scsi_dh_hp_sw: " Hannes Reinecke
  0 siblings, 1 reply; 14+ messages in thread
From: Hannes Reinecke @ 2016-10-31 17:59 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, James Bottomley, linux-scsi, Hannes Reinecke

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.

As usual, comments and reviews are welcome.

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   | 245 ++++++----------------------
 drivers/scsi/device_handler/scsi_dh_hp_sw.c | 218 +++++++------------------
 drivers/scsi/device_handler/scsi_dh_rdac.c  | 160 +++++-------------
 3 files changed, 160 insertions(+), 463 deletions(-)

-- 
2.6.6


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-11-03 22:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01 21:49 [PATCHv2 0/3] scsi_dh: switch to scsi_execute_req_flags() Hannes Reinecke
2016-11-01 21:49 ` [PATCH 1/3] scsi_dh_rdac: " Hannes Reinecke
2016-11-02 15:06   ` Christoph Hellwig
2016-11-03 13:07     ` Hannes Reinecke
2016-11-02 15:44   ` Ewan D. Milne
2016-11-02 21:27     ` Hannes Reinecke
2016-11-03 16:11       ` Ewan D. Milne
2016-11-03 22:06         ` Hannes Reinecke
2016-11-01 21:49 ` [PATCH 2/3] scsi_dh_emc: " Hannes Reinecke
2016-11-02 15:08   ` Christoph Hellwig
2016-11-01 21:49 ` [PATCH 3/3] scsi_dh_hp_sw: " Hannes Reinecke
2016-11-02 15:10   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2016-11-03 13:20 [PATCHv3 0/3] scsi_dh: " Hannes Reinecke
2016-11-03 13:20 ` [PATCH 3/3] scsi_dh_hp_sw: " Hannes Reinecke
2016-10-31 17:59 [PATCH 0/3] scsi_dh: " Hannes Reinecke
2016-10-31 17:59 ` [PATCH 3/3] scsi_dh_hp_sw: " Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).