diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-09-20 19:38:30 -0400 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 17:15:28 -0400 |
commit | f79ea4161434b31e351658283b24e92c3e570142 (patch) | |
tree | 56feab4c7407beaebd191a5551f491197f6fce10 /scripts/mkversion | |
parent | 054bdf646e36c2f7dc1bf6bc6209dbbb5909164b (diff) |
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 'scripts/mkversion')
0 files changed, 0 insertions, 0 deletions