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
hotplug
pcie
.gitignore -rw-r--r-- 35 bytes
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 1.5 KB
access.c -rw-r--r-- 9.8 KB
bus.c -rw-r--r-- 5.8 KB
dmar.c -rw-r--r-- 18.4 KB
hotplug-pci.c -rw-r--r-- 339 bytes
hotplug.c -rw-r--r-- 926 bytes
htirq.c -rw-r--r-- 4.2 KB
intel-iommu.c -rw-r--r-- 75.2 KB
intr_remapping.c -rw-r--r-- 11.6 KB
intr_remapping.h -rw-r--r-- 156 bytes
iova.c -rw-r--r-- 10.9 KB
irq.c -rw-r--r-- 1.8 KB
msi.c -rw-r--r-- 19.6 KB
msi.h -rw-r--r-- 1.7 KB
pci-acpi.c -rw-r--r-- 10.2 KB
pci-driver.c -rw-r--r-- 23.1 KB
pci-stub.c -rw-r--r-- 1.2 KB
pci-sysfs.c -rw-r--r-- 24.6 KB
pci.c -rw-r--r-- 63.6 KB
pci.h -rw-r--r-- 6.7 KB
probe.c -rw-r--r-- 31.2 KB
proc.c -rw-r--r-- 10.0 KB
quirks.c -rw-r--r-- 80.5 KB
remove.c -rw-r--r-- 3.6 KB
rom.c -rw-r--r-- 7.2 KB
search.c -rw-r--r-- 13.2 KB
setup-bus.c -rw-r--r-- 16.2 KB
setup-irq.c -rw-r--r-- 1.6 KB
setup-res.c -rw-r--r-- 6.8 KB
slot.c -rw-r--r-- 8.2 KB
syscall.c -rw-r--r-- 2.7 KB

back to top