linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [4.4][PATCH 0/3] btrfs: Qgroup hotfix
@ 2015-10-26  6:11 Qu Wenruo
  2015-10-26  6:11 ` [PATCH 1/3] btrfs: Cleanup no_quota parameter Qu Wenruo
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ 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] 10+ messages in thread

end of thread, other threads:[~2015-10-30 10:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26  6:11 [4.4][PATCH 0/3] btrfs: Qgroup hotfix Qu Wenruo
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

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