zfs/module/os
Rob Norris a8bc2a4182 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.

Reported-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes: #16045
Closes: #16050
2024-04-03 17:27:31 +05:00
..
freebsd Merge 'openzfs/master' into truenas/zfs-2.3-release 2024-04-02 02:33:34 +05:00
linux vdev_disk: don't touch vbio after its handed off to the kernel 2024-04-03 17:27:31 +05:00