From: Hannes Reinecke Subject: [PATCHv2 0/2] dm-multipath: push back requests instead of queueing Date: Fri, 17 Jan 2014 11:42:06 +0100 Message-ID: <1389955328-107148-1-git-send-email-hare@suse.de> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Alasdair Kergon Cc: dm-devel@redhat.com List-Id: dm-devel.ids 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. This patchset is the reworked version from the original, including the review by Jun'ichi. Hannes Reinecke (2): dm-mpath: push back requests instead of queueing dm-mpath: reduce memory pressure during requeuing drivers/md/dm-mpath.c | 183 +++++++++++++----------------------------- drivers/md/dm.c | 13 +++ include/linux/device-mapper.h | 1 + 3 files changed, 71 insertions(+), 126 deletions(-) -- 1.7.12.4