WSL2-Linux-Kernel/drivers/block
NeilBrown eea9befacc 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>
2007-10-10 09:25:56 +02:00
..
aoe [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
paride [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
DAC960.c Fix "Fix DAC960 driver on machines which don't support 64-bit DMA" 2007-09-19 11:24:16 -07:00
DAC960.h Fix DAC960 driver on machines which don't support 64-bit DMA 2007-09-11 17:21:19 -07:00
Kconfig Introduce CONFIG_CHECK_SIGNATURE 2007-08-22 19:52:45 -07:00
Makefile Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n 2007-07-29 17:37:45 -07:00
amiflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ataflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
cciss.c drivers/block/cciss.c: kmalloc + memset conversion to kzalloc 2007-08-11 22:34:48 +02:00
cciss.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_cmd.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_scsi.c [SCSI] cciss: convert to use the data buffer accessors 2007-05-29 11:22:13 -05:00
cciss_scsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqarray.c drivers/block/cpqarray.c: better error handling and kmalloc + memset conversion to k[cz]alloc 2007-08-11 22:34:48 +02:00
cpqarray.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cryptoloop.c [BLOCK] cryptoloop: Use block ciphers where applicable 2006-09-21 11:45:53 +10:00
floppy.c Introduce rq_for_each_segment replacing rq_for_each_bio 2007-10-10 09:25:56 +02:00
ida_cmd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ida_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lguest_blk.c Introduce rq_for_each_segment replacing rq_for_each_bio 2007-10-10 09:25:56 +02:00
loop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
nbd.c Introduce rq_for_each_segment replacing rq_for_each_bio 2007-10-10 09:25:56 +02:00
pktcdvd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ps2esdi.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ps3disk.c Introduce rq_for_each_segment replacing rq_for_each_bio 2007-10-10 09:25:56 +02:00
rd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
smart1,2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sunvdc.c [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK. 2007-08-26 18:49:07 -07:00
swim3.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
sx8.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ub.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
umem.c Fix various abuse of bio fields in umem.c 2007-10-10 09:25:56 +02:00
viodasd.c Clean up duplicate includes in drivers/block/ 2007-08-11 22:34:48 +02:00
xd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xd.h [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xen-blkfront.c Introduce rq_for_each_segment replacing rq_for_each_bio 2007-10-10 09:25:56 +02:00
xsysace.c sysace: HDIO_GETGEO has it's own method for ages 2007-08-11 22:34:48 +02:00
z2ram.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00