Files
linux/drivers/md
Kent Overstreet 196d38bccf block: Generic bio chaining
This adds a generic mechanism for chaining bio completions. This is
going to be used for a bio_split() replacement, and it turns out to be
very useful in a fair amount of driver code - a fair number of drivers
were implementing this in their own roundabout ways, often painfully.

Note that this means it's no longer to call bio_endio() more than once
on the same bio! This can cause problems for drivers that save/restore
bi_end_io. Arguably they shouldn't be saving/restoring bi_end_io at all
- in all but the simplest cases they'd be better off just cloning the
bio, and immutable biovecs is making bio cloning cheaper. But for now,
we add a bio_endio_nodec() for these cases.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
2013-11-23 22:33:56 -08:00
..
2013-11-23 22:33:56 -08:00
2013-09-26 15:33:18 -07:00
2013-03-01 22:45:51 +00:00
2013-03-01 22:45:51 +00:00
2013-11-23 22:33:47 -08:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:51 +00:00
2013-11-23 22:33:56 -08:00
2013-11-23 22:33:47 -08:00
2013-11-23 22:33:47 -08:00
2013-11-09 18:20:22 -05:00
2013-08-23 09:02:13 -04:00
2013-11-23 22:33:47 -08:00
2012-07-30 17:25:16 -07:00
2013-11-23 22:33:56 -08:00
2013-09-05 20:46:06 -04:00
2013-11-23 22:33:47 -08:00
2013-11-23 22:33:47 -08:00
2013-11-23 22:33:56 -08:00
2013-11-23 22:33:56 -08:00
2013-03-01 22:45:47 +00:00
2013-11-09 18:20:22 -05:00
2013-11-23 22:33:47 -08:00
2013-11-09 18:20:22 -05:00
2013-11-23 22:33:47 -08:00
2013-09-05 20:46:06 -04:00
2013-11-23 22:33:47 -08:00
2013-11-23 22:33:47 -08:00
2013-11-23 22:33:47 -08:00