diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-09-20 23:38:30 (GMT) |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 21:15:28 (GMT) |
commit | f79ea4161434b31e351658283b24e92c3e570142 (patch) | |
tree | 56feab4c7407beaebd191a5551f491197f6fce10 /block/cfq-iosched.c | |
parent | 054bdf646e36c2f7dc1bf6bc6209dbbb5909164b (diff) | |
download | linux-f79ea4161434b31e351658283b24e92c3e570142.tar.xz |
block: Refactor blk_update_request()
Converts it to use bio_advance(), simplifying it quite a bit in the
process.
Note that req_bio_endio() now always calls bio_advance() - which means
it always loops over the biovec, not just on partial completions. Don't
expect it to affect performance, but worth noting.
Tested it by forcing partial updates, and dumping before and after on
various bio/bvec fields when doing a partial update.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions