diff options
| author | Christoph Hellwig <[email protected]> | 2022-01-24 10:11:07 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-02-02 07:50:00 -0700 |
| commit | a7c50c940477bae89fb2b4f51bd969a2d95d7512 (patch) | |
| tree | 23d5c1747a3e31bf57247e999e9305eae164e7ba /scripts/gdb/linux/genpd.py | |
| parent | 49add4966d79244013fce35f95c6833fae82b8b1 (diff) | |
block: pass a block_device and opf to bio_reset
Pass the block_device that we plan to use this bio for and the
operation to bio_reset to optimize the assigment. A NULL block_device
can be passed, both for the passthrough case on a raw request_queue and
to temporarily avoid refactoring some nasty code.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions