Hi, This is a follow-up to my previous thread titled ""kernel BUG" and segmentation fault with "device delete"". Since my last message there, I discovered that the problem I was seeing was solved merely by increasing the size of the global reserve to 1G. I don't claim to have anywhere near a complete understanding of btrfs, its implementation, or the problem at hand, but I figured a bad patch is better than no patch, so here's a patch which does allow working around my problem without building a custom kernel. Or, if anyone has better ideas how to understand or address this problem, I'd be happy to help or test things.
Vladimir Panteleev (1): btrfs: Add global_reserve_size mount option fs/btrfs/block-rsv.c | 2 +- fs/btrfs/ctree.h | 3 +++ fs/btrfs/disk-io.c | 1 + fs/btrfs/super.c | 17 ++++++++++++++++- 4 files changed, 21 insertions(+), 2 deletions(-) -- 2.22.0