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
..
2008-05-07 10:15:46 +02:00
2008-04-29 14:48:55 +02:00
2007-07-24 09:28:11 +02:00
2008-02-06 10:41:10 -08:00
2008-04-30 08:29:53 -07:00
2006-12-07 08:39:30 -08:00
2008-04-21 09:50:09 +02:00
2007-10-29 11:33:05 +01:00
2008-05-01 08:04:02 -07:00
2006-12-07 08:39:30 -08:00
2008-04-29 08:06:18 -07:00
2008-04-18 22:16:32 -04:00
2008-01-28 10:36:04 +01:00
2007-09-11 17:21:19 -07:00
2008-04-29 08:06:03 -07:00
2008-03-17 09:03:05 +01:00
2008-04-29 14:48:33 +02:00
2008-03-17 09:03:05 +01:00
2008-04-29 08:18:03 -07:00
2008-04-29 08:18:03 -07:00
2008-04-29 14:48:54 +02:00
2008-02-01 09:26:32 +01:00
2008-02-14 20:58:04 -08:00
2008-04-21 09:51:04 +02:00
2008-05-02 10:25:52 -07:00
2007-12-18 08:29:28 +01:00
2007-10-10 09:25:59 +02:00
2008-04-01 20:43:10 +11:00
2008-05-02 21:50:51 +10:00
2007-07-24 09:28:11 +02:00
2007-07-24 09:28:11 +02:00
2008-04-29 08:06:06 -07:00
2008-02-06 10:23:21 -07:00
2007-07-24 09:28:11 +02:00