android_kernel_xiaomi_sm8350/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
..
aoe.h remove aoedev_isbusy() 2008-04-29 08:06:24 -07:00
aoeblk.c
aoechr.c
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
aoenet.c drivers/block: use get_unaligned_* helpers 2008-04-29 08:06:27 -07:00
Makefile