summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2012-09-20 16:38:30 -0700
committerKent Overstreet <koverstreet@google.com>2013-03-23 14:15:28 -0700
commitf79ea4161434b31e351658283b24e92c3e570142 (patch)
tree56feab4c7407beaebd191a5551f491197f6fce10 /drivers/md/md.c
parent054bdf646e36c2f7dc1bf6bc6209dbbb5909164b (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 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions