All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv4 0/6] dm-multipath: push back requests instead of queueing
@ 2014-02-03  8:18 Hannes Reinecke
  2014-02-03  8:18 ` [PATCH 1/6] dm-multipath: Do not call pg_init twice Hannes Reinecke
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Hannes Reinecke @ 2014-02-03  8:18 UTC (permalink / raw)
  To: Alasdair Kergon; +Cc: Jun'ichi Nomura, dm-devel, Mike Snitzer

Hi all,

dm-multipath still carries around it's own queueing framework for
implementing 'queue_if_no_path'.
However, there is no real reason for this; we could as well
push back the requests onto the request_queue.
In doing so we can also reduce the memory pressure during
fail_if_no_path scenarios, as we don't have to allocate a
context for each request when it need to be requeued.

Changes since v3:
- Include dm_md_get_queue(), as suggested from Mike Snitzer
- Call __pg_init_all_paths() in pg_init_done() to handle
  pg_init_required correctly, as suggested by Jun'ichi Nomura

Hannes Reinecke (5):
  dm-multipath: Do not call pg_init twice
  dm-multipath: push back requests instead of queueing
  dm-multipath: remove process_queued_ios()
  dm-multipath: reduce memory pressure during requeuing
  dm-multipath: remove map_io()

Mike Snitzer (1):
  dm: implement dm_md_get_queue()

 drivers/md/dm-mpath.c         | 204 +++++++++++++-----------------------------
 drivers/md/dm-table.c         |  14 +++
 drivers/md/dm.c               |   5 ++
 drivers/md/dm.h               |   1 +
 include/linux/device-mapper.h |   5 ++
 5 files changed, 89 insertions(+), 140 deletions(-)

-- 
1.7.12.4

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCHv5 0/6] dm-multipath: push back requests instead of queueing
@ 2014-02-03 12:34 Hannes Reinecke
  2014-02-03 12:34 ` [PATCH 4/6] dm-multipath: remove process_queued_ios() Hannes Reinecke
  0 siblings, 1 reply; 15+ messages in thread
From: Hannes Reinecke @ 2014-02-03 12:34 UTC (permalink / raw)
  To: Alasdair Kergon; +Cc: Jun'ichi Nomura, dm-devel, Mike Snitzer

Hi all,

dm-multipath still carries around it's own queueing framework for
implementing 'queue_if_no_path'.
However, there is no real reason for this; we could as well
push back the requests onto the request_queue.
In doing so we can also reduce the memory pressure during
fail_if_no_path scenarios, as we don't have to allocate a
context for each request when it need to be requeued.

Changes since v3:
- Include dm_md_get_queue(), as suggested from Mike Snitzer
- Call __pg_init_all_paths() in pg_init_done() to handle
  pg_init_required correctly, as suggested by Jun'ichi Nomura

Changes since v4:
- Fixup calls to __pg_init_all_paths() as found by
  Jun'ichi Nomura
- Update description for 'remove process_queue_ios' patch

Hannes Reinecke (5):
  dm-multipath: Do not call pg_init twice
  dm-multipath: push back requests instead of queueing
  dm-multipath: remove process_queued_ios()
  dm-multipath: reduce memory pressure during requeuing
  dm-multipath: remove map_io()

Mike Snitzer (1):
  dm: implement dm_md_get_queue()

 drivers/md/dm-mpath.c         | 208 ++++++++++++++----------------------------
 drivers/md/dm-table.c         |  14 +++
 drivers/md/dm.c               |   5 +
 drivers/md/dm.h               |   1 +
 include/linux/device-mapper.h |   5 +
 5 files changed, 93 insertions(+), 140 deletions(-)

-- 
1.7.12.4

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

end of thread, other threads:[~2014-02-04  3:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03  8:18 [PATCHv4 0/6] dm-multipath: push back requests instead of queueing Hannes Reinecke
2014-02-03  8:18 ` [PATCH 1/6] dm-multipath: Do not call pg_init twice Hannes Reinecke
2014-02-03  8:18 ` [PATCH 2/6] dm: implement dm_md_get_queue() Hannes Reinecke
2014-02-03  8:18 ` [PATCH 3/6] dm-multipath: push back requests instead of queueing Hannes Reinecke
2014-02-03  8:18 ` [PATCH 4/6] dm-multipath: remove process_queued_ios() Hannes Reinecke
2014-02-03 11:30   ` Junichi Nomura
2014-02-03 11:39     ` Hannes Reinecke
2014-02-03 12:08   ` Junichi Nomura
2014-02-03 12:18     ` Hannes Reinecke
2014-02-03 12:39       ` Junichi Nomura
2014-02-03 12:57         ` Hannes Reinecke
2014-02-04  3:21           ` Junichi Nomura
2014-02-03  8:18 ` [PATCH 5/6] dm-multipath: reduce memory pressure during requeuing Hannes Reinecke
2014-02-03  8:18 ` [PATCH 6/6] dm-multipath: remove map_io() Hannes Reinecke
  -- strict thread matches above, loose matches on Subject: below --
2014-02-03 12:34 [PATCHv5 0/6] dm-multipath: push back requests instead of queueing Hannes Reinecke
2014-02-03 12:34 ` [PATCH 4/6] dm-multipath: remove process_queued_ios() Hannes Reinecke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.