dm mpath: reduce memory pressure when requeuing
authorHannes Reinecke <hare@suse.de>
Fri, 28 Feb 2014 14:33:46 +0000 (15:33 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Mar 2014 20:56:25 +0000 (16:56 -0400)
commite3bde04f1ecef9d0508af9ea78421863744f552b
tree848d74aa7167c665e5a828e70f2ad12f11d5df77
parent3e9f1be1b4079bfe689ef6be5174f3177b3fd2aa
dm mpath: reduce memory pressure when requeuing

When multipath needs to requeue I/O in the block layer the per-request
context shouldn't be allocated, as it will be freed immediately
afterwards anyway.  Avoiding this memory allocation will reduce memory
pressure during requeuing.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
drivers/md/dm-mpath.c