diff options
author | Hongyu Jin <[email protected]> | 2024-01-24 13:35:54 +0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2024-02-20 14:22:55 -0500 |
commit | e9b2238e47cb66521381c0bf9234e979afa19d77 (patch) | |
tree | 19b73de3634979bc1fef64ea082e9c330d504b2f /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6e5f0f6383b4896c7e9b943d84b136149d0f45e9 (diff) |
dm bufio: Support IO priority
Some IO will dispatch from kworker with different io_context settings
than the submitting task, we may need to specify a priority to avoid
losing priority.
Add dm_bufio_read_with_ioprio() and dm_bufio_prefetch_with_ioprio()
for use by bufio users to pass an ioprio other than IOPRIO_DEFAULT.
Co-developed-by: Yibin Ding <[email protected]>
Signed-off-by: Yibin Ding <[email protected]>
Signed-off-by: Hongyu Jin <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Reviewed-by: Mikulas Patocka <[email protected]>
[snitzer: introduced _with_ioprio() wrappers to reduce churn]
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions