When running generic/475, pinned underflow may occur. This patch will fix this problem, but there are still other warnings need to addressed in this case. Patch 1-2 introduce a macro and wrappers to help detect underflow Patch 3 the fix patch of pinned underflow Lu Fengqi (2): btrfs: extent-tree: Detect bytes_pinned underflow earlier btrfs: fix pinned underflow after transaction aborted Qu Wenruo (1): btrfs: extent-tree: Detect bytes_may_use underflow earlier fs/btrfs/disk-io.c | 12 +++++++++- fs/btrfs/extent-tree.c | 53 ++++++++++++++++++++++++++---------------- 2 files changed, 44 insertions(+), 21 deletions(-) -- 2.19.1
