Another way to test for this problem is one of the responses in that lkml thread by Btrfs list regular Duncan, about tweaking the knobs that handle dirty write caching. So you could try those suggested tweaks first, rather than changing kernels.
https://lkml.org/lkml/2016/12/13/753 Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html