All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Subject: [PATCH 0/3] fix pinned underflow in generic/475
Date: Wed, 24 Oct 2018 20:24:00 +0800	[thread overview]
Message-ID: <20181024122403.17418-1-lufq.fnst@cn.fujitsu.com> (raw)

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




             reply	other threads:[~2018-10-24 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-24 12:24 Lu Fengqi [this message]
2018-10-24 12:24 ` [PATCH 1/3] btrfs: extent-tree: Detect bytes_may_use underflow earlier Lu Fengqi
2018-10-24 12:24 ` [PATCH 2/3] btrfs: extent-tree: Detect bytes_pinned " Lu Fengqi
2018-10-24 12:24 ` [PATCH 3/3] btrfs: fix pinned underflow after transaction aborted Lu Fengqi
2018-10-30 17:51   ` David Sterba
2018-10-25 18:33 ` [PATCH 0/3] fix pinned underflow in generic/475 Josef Bacik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181024122403.17418-1-lufq.fnst@cn.fujitsu.com \
    --to=lufq.fnst@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.