[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [PATCHv4 0/6] dm-multipath: push back requests instead of queueing



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]