Christoph Hellwig
99dfc43ecb
block: use ->bi_bdev for bio based I/O accounting
...
Rework the I/O accounting for bio based drivers to use ->bi_bdev. This
means all drivers can now simply use bio_start_io_acct to start
accounting, and it will take partitions into account automatically. To
end I/O account either bio_end_io_acct can be used if the driver never
remaps I/O to a different device, or bio_end_io_acct_remapped if the
driver did remap the I/O.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Acked-by: Tejun Heo <tj@kernel.org >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2021-01-24 18:17:20 -07:00
..
2021-01-24 18:15:57 -07:00
2020-08-23 17:36:59 -05:00
2020-08-18 07:48:08 -07:00
2021-01-05 11:33:50 -07:00
2020-08-18 07:48:08 -07:00
2020-08-18 07:48:08 -07:00
2021-01-24 18:17:20 -07:00
2021-01-24 18:17:20 -07:00
2021-01-24 18:17:20 -07:00
2021-01-24 18:17:20 -07:00
2021-01-24 18:17:20 -07:00
2020-10-05 10:47:43 -06:00
2021-01-24 18:17:20 -07:00
2020-05-27 05:21:23 -06:00
2020-12-16 12:57:51 -08:00
2020-10-06 07:29:53 -06:00
2020-07-16 10:22:15 -06:00
2021-01-05 11:33:32 -07:00
2020-10-08 07:59:48 -06:00
2020-12-01 14:53:40 -07:00
2020-09-23 09:18:39 -06:00
2021-01-24 18:17:20 -07:00
2020-10-20 07:08:17 -06:00
2021-01-10 12:53:08 -08:00
2020-12-04 09:42:00 -07:00
2020-10-13 12:12:44 -07:00
2020-10-09 12:46:28 -06:00
2020-09-29 08:11:00 -06:00
2020-09-03 15:20:47 -06:00
2020-03-17 20:55:21 +01:00
2021-01-24 18:17:20 -07:00
2020-12-12 11:13:41 -07:00
2020-12-09 11:41:41 -05:00
2020-12-09 11:41:42 -05:00
2020-07-15 09:33:37 -06:00
2020-12-16 13:09:32 -08:00
2020-09-01 16:48:46 -06:00
2020-10-09 12:46:28 -06:00
2021-01-24 18:17:20 -07:00
2020-07-31 16:29:47 -06:00
2020-11-30 15:01:18 -07:00
2020-05-29 16:30:39 -06:00
2020-12-07 17:34:21 -07:00
2021-01-24 18:17:20 -07:00
2021-01-24 18:17:20 -07:00
2020-09-23 09:18:13 -06:00
2020-10-09 12:34:06 -06:00
2021-01-24 18:17:20 -07:00
2020-12-01 14:53:40 -07:00
2020-09-01 19:38:33 -06:00
2020-09-01 16:49:26 -06:00
2020-06-14 01:57:21 +09:00
2020-11-20 11:52:52 -07:00
2020-09-03 15:20:47 -06:00
2020-06-24 09:15:56 -06:00
2020-09-03 15:20:47 -06:00
2020-03-12 08:00:10 -06:00
2020-10-13 13:04:41 -07:00
2020-03-12 08:00:10 -06:00