diff options
author | NeilBrown <neilb@suse.de> | 2007-08-16 13:31:26 +0200 |
---|---|---|
committer | Jens Axboe <axboe@carl.home.kernel.dk> | 2007-10-10 09:25:56 +0200 |
commit | eea9befaccb8d43ce89585d612159761c978f056 (patch) | |
tree | d5db0bd4493f726d4900f13e930d25283e2c9ebe /block/ll_rw_blk.c | |
parent | 5705f7021748a69d84d6567e68e8851dab551464 (diff) | |
download | kernel_samsung_crespo-eea9befaccb8d43ce89585d612159761c978f056.zip kernel_samsung_crespo-eea9befaccb8d43ce89585d612159761c978f056.tar.gz kernel_samsung_crespo-eea9befaccb8d43ce89585d612159761c978f056.tar.bz2 |
Fix various abuse of bio fields in umem.c
umem.c:
advances bi_idx and bi_sector to track where it is up to.
But it is only ever doing this on one bio, so the updated
fields can easily be kept elsewhere (current_*).
updates bi_size, but never uses the updated values, so
this isn't needed.
reuses bi_phys_segments to count how many iovecs have been
completely. As the completion happens sequentiually, we
can store this information outside the bio too.
Signed-off-by: Neil Brown <neilb@suse.de>
diff .prev/drivers/block/umem.c ./drivers/block/umem.c
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/ll_rw_blk.c')
0 files changed, 0 insertions, 0 deletions