The Xenial test kernel with a pick of 4da2e26 resolves the bug, no negative side effects were encountered.
With the Xenial release kernel, there were 18 MySQL server crashes in a 24 hour period due to false ENOSPC indications. With the test kernel, not a single crash occured in a 24 hour period. Additionally, I've checked with a script derived from https://patchwork.kernel.org/patch/7967161/ (see attachment), which creates a temporary btrfs test image in a plain file. The script provoked ENOSPC errors with the release kernel on most runs (sometimes it missed, presumably due to timing conditions). The script could not provoke a single ENOSPC condition with the test kernel. ** Attachment added: "Test script" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1584052/+attachment/4668117/+files/test-btrfs-write-while-snapshotting.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1584052 Title: btrfs: file write crashes with false ENOSPC during snapshot creation since kernel 4.4 - fix available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1584052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs