original_kernel/drivers/block
Jens Axboe 28f13702f0 block: avoid duplicate calls to get_part() in disk stat code
get_part() is fairly expensive, as it O(N) loops over partitions
to find the right one. In lots of normal IO paths we end up looking
up the partition twice, to make matters even worse. Change the
stat add code to accept a passed in partition instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-05-07 10:15:46 +02:00
..
aoe block: avoid duplicate calls to get_part() in disk stat code 2008-05-07 10:15:46 +02:00
paride
DAC960.c
DAC960.h
Kconfig
Makefile
amiflop.c
ataflop.c
brd.c
cciss.c
cciss.h
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cpqarray.c
cpqarray.h
cryptoloop.c
floppy.c
ida_cmd.h
ida_ioctl.h
loop.c
nbd.c
pktcdvd.c
ps3disk.c
smart1,2.h
sunvdc.c
swim3.c
sx8.c
ub.c ub: Cosmetics 2008-05-02 10:25:52 -07:00
umem.c
umem.h
viodasd.c
virtio_blk.c virtio: add virtio disk geometry feature 2008-05-02 21:50:51 +10:00
xd.c
xd.h
xen-blkfront.c
xsysace.c
z2ram.c