diff options
author | Rob Norris <[email protected]> | 2024-04-04 09:17:07 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-04-08 10:13:55 -0700 |
commit | 28520cad2500b60ce8653e431990e33f77ff08f7 (patch) | |
tree | caa3616d19bb3519e6edcc05d53579f6c3161f88 /module/.gitignore | |
parent | deb7a84231aff8d772bb4ce9fa486d1886f1a2b6 (diff) |
vdev_disk: don't touch vbio after its handed off to the kernel
After IO is unplugged, it may complete immediately and vbio_completion
be called on interrupt context. That may interrupt or deschedule our
task. If its the last bio, the vbio will be freed. Then, we get
rescheduled, and try to write to freed memory through vbio->.
This patch just removes the the cleanup, and the corresponding assert.
These were leftovers from a previous iteration of vbio_submit() and were
always "belt and suspenders" ops anyway, never strictly required.
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc
Reported-by: Rich Ercolani <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
(cherry picked from commit 917ff75e9510d19968ef3cc5c80b1cd0ef48f84d)
Diffstat (limited to 'module/.gitignore')
0 files changed, 0 insertions, 0 deletions