[0/3] fix pinned underflow in generic/475
mbox series

Message ID 20181024122403.17418-1-lufq.fnst@cn.fujitsu.com
Headers show
Series
  • fix pinned underflow in generic/475
Related show

Message

Lu Fengqi Oct. 24, 2018, 12:24 p.m. UTC
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(-)

Comments

Josef Bacik Oct. 25, 2018, 6:33 p.m. UTC | #1
On Wed, Oct 24, 2018 at 08:24:00PM +0800, Lu Fengqi wrote:
> 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
> 

You can add

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

to the series, thanks,

Josef