Revision 59247eaea50cc68cc6ce3d3fd3855f3301b65c96 authored by Jens Axboe on 06 March 2009, 07:55:24 UTC, committed by Jens Axboe on 06 March 2009, 07:55:24 UTC
Commit 1e42807918d17e8c93bf14fbb74be84b141334c1 introduced a bug where we
don't get front/back segment sizes in the bio in blk_recount_segments().
Fix this by tracking the back bio as well as the front bio in
__blk_recalc_rq_segments(), this also cleans up the interface by getting
rid of the segment size pointer passing.

Tested-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
1 parent a3941ec
History
File Mode Size
ipu
Kconfig -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 371 bytes
dmaengine.c -rw-r--r-- 26.4 KB
dmatest.c -rw-r--r-- 12.0 KB
dw_dmac.c -rw-r--r-- 28.2 KB
dw_dmac_regs.h -rw-r--r-- 5.9 KB
fsldma.c -rw-r--r-- 27.4 KB
fsldma.h -rw-r--r-- 6.1 KB
ioat.c -rw-r--r-- 5.3 KB
ioat_dca.c -rw-r--r-- 16.2 KB
ioat_dma.c -rw-r--r-- 47.3 KB
ioatdma.h -rw-r--r-- 4.4 KB
ioatdma_hw.h -rw-r--r-- 2.4 KB
ioatdma_registers.h -rw-r--r-- 9.0 KB
iop-adma.c -rw-r--r-- 39.5 KB
iovlock.c -rw-r--r-- 7.0 KB
mv_xor.c -rw-r--r-- 35.6 KB
mv_xor.h -rw-r--r-- 6.2 KB

back to top