aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-fallocate.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-12-22 12:17:13 -0800
committerBrian Behlendorf <[email protected]>2020-12-27 16:20:24 -0800
commita970f0594e9f67363dece8e0ed066e3eb7725bb4 (patch)
tree4c4c9df0627b2f4dbcb09e819ce02d5313d06d05 /config/kernel-fallocate.m4
parentb7281c88bcbba0525e8b55607145956320d103f0 (diff)
Linux 5.11 compat: bio_start_io_acct() / bio_end_io_acct()
The generic IO accounting functions have been removed in favor of the bio_start_io_acct() and bio_end_io_acct() functions which provide a better interface. These new functions were introduced in the 5.8 kernels but it wasn't until the 5.11 kernel that the previous generic IO accounting interfaces were removed. This commit updates the blk_generic_*_io_acct() wrappers to provide and interface similar to the updated kernel interface. It's slightly different because for older kernels we need to pass the request queue as well as the bio. Reviewed-by: Rafael Kitover <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11387 Closes #11390
Diffstat (limited to 'config/kernel-fallocate.m4')
0 files changed, 0 insertions, 0 deletions