[pve-devel] applied: [PATCH zfsonlinux] cherry-pick lock-inversion patch for zvol_open

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 11 16:45:44 CET 2022


On 11.01.22 16:39, Stoiko Ivanov wrote:
> the changes to zvol_open added to 2.1.2 (for coping with kernel
> changes in 5.13) seem to have introduced a lock order inversion [0].
> 
> (noticed while reviewing the 2.0.6->2.0.7 changes (the patch was
> applied after 2.1.2 was already tagged)
> 
> [0] https://github.com/openzfs/zfs/pull/12863
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> did not reproduce the dead-lock myself (in my very limited tests)
> but given that our 2.1.2 packages (and kernel modules) have not seen
> too much testing in public yet - thought it makes sense to proactively
> pull this in
> 
> quickly tested a kernel+userspace with this patch on a physical testhost
> 
>  .../0012-Fix-zvol_open-lock-inversion.patch   | 212 ++++++++++++++++++
>  debian/patches/series                         |   1 +
>  2 files changed, 213 insertions(+)
>  create mode 100644 debian/patches/0012-Fix-zvol_open-lock-inversion.patch
> 
>

applied, thanks!





More information about the pve-devel mailing list