c39498254d
Exposed by the fc11 debug kernel we need to hold a reference over all calls to submit_bio(). Otherwise it is possible all the completion callbacks run before we exit __vdev_disk_physio(), and we end up with a GPF. This was quickly exposed when slab poisoning was enabled. I have added helper functions to cleanly track the reference counts. In addition dr->dr_ref was converted from an integer to an atomic type which removes the need for the spinlock. As a nice side effect of these changes the code is now slightly cleaner and clearer. |
||
---|---|---|
.. | ||
avl | ||
nvpair | ||
unicode | ||
zcommon | ||
zfs | ||
Makefile.in |