1
0
Fork 0
alistair23-linux/drivers/block/aoe
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
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aoe.h remove aoedev_isbusy() 2008-04-29 08:06:24 -07:00
aoeblk.c aoe: update copyright date 2008-02-08 09:22:32 -08:00
aoechr.c aoe: update copyright date 2008-02-08 09:22:32 -08:00
aoecmd.c block: avoid duplicate calls to get_part() in disk stat code 2008-05-07 10:15:46 +02:00
aoedev.c remove aoedev_isbusy() 2008-04-29 08:06:24 -07:00
aoemain.c aoe: update copyright date 2008-02-08 09:22:32 -08:00
aoenet.c drivers/block: use get_unaligned_* helpers 2008-04-29 08:06:27 -07:00