linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [4.4][PATCH 0/3] btrfs: Qgroup hotfix
@ 2015-10-26  6:08 Qu Wenruo
  0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2015-10-26  6:08 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [4.4][PATCH 0/3] btrfs: Qgroup hotfix
@ 2015-10-26  6:11 Qu Wenruo
  0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2015-10-26  6:11 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-26  6:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26  6:08 [4.4][PATCH 0/3] btrfs: Qgroup hotfix Qu Wenruo
  -- strict thread matches above, loose matches on Subject: below --
2015-10-26  6:11 Qu Wenruo

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).