Christoph Hellwig
5f1b670d0b
block, dm: don't copy bios for request clones
...
Currently dm-multipath has to clone the bios for every request sent
to the lower devices, which wastes cpu cycles and ties down memory.
This patch instead adds a new REQ_CLONE flag that instructs req_bio_endio
to not complete bios attached to a request, which we set on clone
requests similar to bios in a flush sequence. With this change I/O
errors on a path failure only get propagated to dm-multipath, which
can then either resubmit the I/O or complete the bios on the original
request.
I've done some basic testing of this on a Linux target with ALUA support,
and it survives path failures during I/O nicely.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Mike Snitzer <snitzer@redhat.com >
Signed-off-by: Jens Axboe <axboe@fb.com >
2015-05-22 08:58:57 -06:00
..
2015-04-29 00:04:29 +02:00
2015-04-02 10:03:55 +01:00
2015-04-16 13:53:32 -05:00
2015-04-26 17:22:07 -07:00
2015-04-17 15:50:54 -04:00
2015-05-05 13:40:44 -06:00
2015-04-09 10:42:18 +03:00
2015-04-22 09:18:17 -07:00
2015-05-05 09:03:52 -07:00
2015-04-22 09:20:15 -07:00
2015-04-24 08:23:45 -07:00
2015-04-15 23:02:24 +02:00
2015-04-29 15:19:21 +02:00
2015-04-26 13:51:05 -07:00
2015-03-31 13:17:15 +09:00
2015-04-29 16:47:57 +05:30
2015-04-21 14:47:16 +05:30
2015-04-21 09:42:58 -07:00
2015-04-22 09:18:17 -07:00
2015-04-22 09:04:39 -07:00
2015-05-04 08:56:47 +10:00
2015-04-14 18:25:15 -07:00
2015-04-05 14:45:27 +02:00
2015-04-03 16:20:12 +02:00
2015-04-17 09:03:55 -04:00
2015-04-21 09:42:58 -07:00
2015-04-26 17:44:09 -07:00
2015-05-05 13:40:42 -06:00
2015-04-14 20:21:54 -07:00
2015-04-14 09:50:27 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 13:36:02 -07:00
2015-04-26 17:47:46 -07:00
2015-04-24 08:23:45 -07:00
2015-04-15 09:00:47 -07:00
2015-04-18 08:22:10 -04:00
2015-04-22 10:55:06 -07:00
2015-04-07 13:25:14 +10:00
2015-04-03 16:15:30 +02:00
2015-05-22 08:58:57 -06:00
2015-05-05 08:42:06 -07:00
2015-04-22 09:18:17 -07:00
2015-04-17 09:04:09 -04:00
2015-04-26 13:36:02 -07:00
2015-04-21 09:42:58 -07:00
2015-04-24 09:49:37 -07:00
2015-04-26 17:22:07 -07:00
2015-04-30 16:48:53 -04:00
2015-04-07 12:05:12 +02:00
2015-04-24 08:46:18 -07:00
2015-04-26 17:22:07 -07:00
2015-04-21 22:02:43 +02:00
2015-04-16 14:01:03 -05:00
2015-04-22 09:04:39 -07:00
2015-04-13 17:07:21 -07:00
2015-04-15 10:02:42 +02:00
2015-04-26 13:44:46 -07:00
2015-04-14 20:21:54 -07:00
2015-04-06 19:39:57 +02:00
2015-04-15 23:06:16 +02:00
2015-03-26 15:23:17 +11:00
2015-03-31 12:01:19 -04:00
2015-04-23 14:50:52 +02:00
2015-04-14 17:29:55 -07:00
2015-04-17 09:04:12 -04:00
2015-04-23 16:55:50 +02:00
2015-04-15 16:35:23 -07:00
2015-04-27 10:10:19 -07:00
2015-04-27 13:08:14 +09:00
2015-04-14 00:43:28 +02:00
2015-04-24 09:49:37 -07:00
2015-04-03 16:15:30 +02:00
2015-04-17 15:50:54 -04:00
2015-05-05 08:42:06 -07:00
2015-04-24 10:22:09 -07:00
2015-04-07 13:43:28 -07:00
2015-04-28 20:22:31 +02:00
2015-04-03 16:04:21 +02:00
2015-04-28 12:53:16 +02:00
2015-04-08 08:11:51 -06:00
2015-04-24 10:22:09 -07:00
2015-04-20 15:16:25 -07:00
2015-04-15 12:41:14 +09:30
2015-03-25 12:25:29 +01:00
2015-04-22 11:22:55 -07:00
2015-04-24 10:22:09 -07:00
2015-04-03 16:17:04 +02:00