WSL2-Linux-Kernel/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
..
Kconfig
Kconfig.iosched
Makefile
as-iosched.c
blk-barrier.c
blk-core.c
blk-exec.c
blk-ioc.c
blk-map.c
blk-merge.c
blk-settings.c
blk-sysfs.c
blk-tag.c
blk.h
blktrace.c
bsg.c
cfq-iosched.c
compat_ioctl.c
deadline-iosched.c
elevator.c
genhd.c
ioctl.c
noop-iosched.c
scsi_ioctl.c