Fix various abuse of bio fields in umem.c
NeilBrown authored

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: default avatarNeil Brown <neilb@suse.de>

diff .prev/drivers/block/umem.c ./drivers/block/umem.c
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
eea9befa
Name Last commit Last update
..
acorn/char Remove the arm26 port
acpi ACPI: CONFIG_ACPI_SLEEP=n power off regression in 2.6.23-rc8 (NOT in rc7)
amba uevent: use add_uevent_var() instead of open coding it
ata sata_mv: correct S/G table limits
atm Add some help texts to recently-introduced kconfig items
auxdisplay cfag12864b fix
base Driver core: fix SYSF_DEPRECATED breakage for nested classdevs
block Fix various abuse of bio fields in umem.c
bluetooth [Bluetooth] Add missing stat.byte_rx counter modification
cdrom cdrom_open() forgets to unlock on -EROFS failure exits
char Correct Makefile rule for generating custom keymap
clocksource x86_64: fix typo in acpi_pm.c
connector Use menuconfig objects: connector
cpufreq [CPUFREQ] Restore previously used governor on a hot-replugged CPU
crypto Add some help texts to recently-introduced kconfig items
dio [PATCH] hp300: fix driver_register() return handling, remove dio_module_init()
dma [IOAT]: ioatdma needs to to play nice in a multi-dma-client world
edac drivers/edac: fix e752x correct return code
eisa virtual_eisa_root_init() should be __init
fc4 [PATCH] remove many unneeded #includes of sched.h
firewire firewire: point to migration document
firmware edd: switch to pci_get based API
hid Add some help texts to recently-introduced kconfig items
hwmon hwmon: End of I/O region off-by-one
i2c i2c-algo-bit: Read block data bugfix
ide
ieee1394
infiniband
input
isdn
kvm
leds
lguest
macintosh
mca
md
media
message
mfd
misc
mmc
mtd
net
nubus
of
oprofile
parisc
parport
pci
pcmcia
pnp
power
ps3
rapidio
rtc
s390
sbus
scsi
serial
sh
sn
spi
tc
telephony
uio
usb
video
w1
xen
zorro
Kconfig
Makefile