From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: linux-btrfs@vger.kernel.org
Subject: [4.4][PATCH 0/3] btrfs: Qgroup hotfix
Date: Mon, 26 Oct 2015 14:11:16 +0800 [thread overview]
Message-ID: <1445839879-17716-1-git-send-email-quwenruo@cn.fujitsu.com> (raw)
This patchset fixes 2 bugs:
1. Race condition leading to abort transaction
Reported by Filipe, fixed by 2nd patch.
2. Qgroup low level double free leading to EDQUOT
In fact, I hit such bug several times during internal rebase, but I'm so
stupid to forgot to include it in v3 patchset.
Fixed in 3rd patch.
Qu Wenruo (3):
btrfs: Cleanup no_quota parameter
btrfs: qgroup: Fix a race in delayed_ref which leads to abort trans
btrfs: qgroup: Fix a rebase bug which will cause qgroup double free
fs/btrfs/ctree.h | 7 +++---
fs/btrfs/delayed-ref.c | 48 ++++++++++++++++++++--------------------
fs/btrfs/delayed-ref.h | 9 +++-----
fs/btrfs/extent-tree.c | 55 ++++++++++++++++++---------------------------
fs/btrfs/file.c | 10 ++++-----
fs/btrfs/inode.c | 16 +++++---------
fs/btrfs/ioctl.c | 60 +-------------------------------------------------
fs/btrfs/qgroup.c | 4 ----
fs/btrfs/relocation.c | 16 ++++++--------
fs/btrfs/tree-log.c | 2 +-
10 files changed, 73 insertions(+), 154 deletions(-)
--
2.6.2
next reply other threads:[~2015-10-26 6:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 6:11 Qu Wenruo [this message]
2015-10-26 6:11 ` [PATCH 1/3] btrfs: Cleanup no_quota parameter Qu Wenruo
2015-10-26 8:14 ` Filipe Manana
2015-10-26 8:25 ` Qu Wenruo
2015-10-26 8:27 ` Qu Wenruo
2015-10-26 8:28 ` Filipe Manana
2015-10-26 6:11 ` [PATCH 2/3] btrfs: qgroup: Fix a race in delayed_ref which leads to abort trans Qu Wenruo
2015-10-26 6:11 ` [PATCH 3/3] btrfs: qgroup: Fix a rebase bug which will cause qgroup double free Qu Wenruo
2015-10-29 11:09 ` [3/3] " Johannes Henninger
2015-10-30 10:23 ` Johannes Henninger
-- strict thread matches above, loose matches on Subject: below --
2015-10-26 6:08 [4.4][PATCH 0/3] btrfs: Qgroup hotfix Qu Wenruo
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=1445839879-17716-1-git-send-email-quwenruo@cn.fujitsu.com \
--to=quwenruo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).