Skip to contentSkip to conversation

missing btrfs fixes in 5.4 and older LTS

DISCUSSION Zygo Blaxell 1 participant 1 message Oct 11, 2020 Btrfs file system

lore
Share & tools
lore
#0 lore raw

I audited LTS kernels against bees's shiny new kernel bug tracking table[1], and found some fixes are missing in LTS kernels:

39dba8739c4e btrfs: do not resolve backrefs for roots that are being deleted (missing in 4.19 and 5.4, maybe not relevant for 4.14 and earlier, patch confirmed to fix a deadlock in 5.4)

4ea748e1d2c9 Btrfs: fix deadlock between clone/dedupe and rename (merge conflict with kernels before 5.0, bug goes back to 4.4)

62d54f3a7fa2 Btrfs: fix race between send and deduplication that lead to failures and crashes (merge conflict with kernels before 5.0, relevant on 4.4 and later)

I didn't look at patches that were missing on LTS further back than 4.14.

One didn't get flagged for -stable. The other two will not cherry-pick cleanly and need a backport.

[1] https://zygo.github.io/bees/btrfs-kernel.html