Repository navigation
Commit a7f5b1a
block: add bio_start_io_acct_time() to control start_time
commit e45c47d upstream.
bio_start_io_acct_time() interface is like bio_start_io_acct() that
allows start_time to be passed in. This gives drivers the ability to
defer starting accounting until after IO is issued (but possibily not
entirely due to bio splitting).
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220128155841.39644-2-snitzer@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent dc93c7a commit a7f5b1a
2 files changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
1261 | | - | |
| 1261 | + | |
| 1262 | + | |
1262 | 1263 | | |
1263 | 1264 | | |
1264 | | - | |
1265 | 1265 | | |
1266 | 1266 | | |
1267 | | - | |
| 1267 | + | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
1272 | 1272 | | |
1273 | | - | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
1274 | 1285 | | |
| 1286 | + | |
1275 | 1287 | | |
1276 | 1288 | | |
1277 | 1289 | | |
| |||
1281 | 1293 | | |
1282 | 1294 | | |
1283 | 1295 | | |
1284 | | - | |
| 1296 | + | |
| 1297 | + | |
1285 | 1298 | | |
1286 | 1299 | | |
1287 | 1300 | | |
1288 | 1301 | | |
1289 | 1302 | | |
1290 | 1303 | | |
1291 | | - | |
| 1304 | + | |
1292 | 1305 | | |
1293 | 1306 | | |
1294 | 1307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1254 | 1254 | | |
1255 | 1255 | | |
1256 | 1256 | | |
| 1257 | + | |
1257 | 1258 | | |
1258 | 1259 | | |
1259 | 1260 | | |
| |||
0 commit comments