mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
We have a long chain of memory dereferencing just to whether or not this disk has a special submit_bio helper. As that's not necessarily the common case, add a bd_has_submit_bio state in the bdev to avoid traversing this memory dependency chain if we don't need to. Signed-off-by: Jens Axboe <axboe@kernel.dk>
25 KiB
25 KiB