linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] btrfs: Fix lost-data-profile caused by auto removing bg and balance bg
@ 2015-10-08 10:59 Zhao Lei
  2015-10-08 10:59 ` [PATCH v4 1/3] btrfs: Fix lost-data-profile caused by auto removing bg Zhao Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zhao Lei @ 2015-10-08 10:59 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Zhao Lei

Changelog v3->v4:
1: Avoid down_read() in spin_lock context.
   Noticed-by: Chris Mason <clm@fb.com>

Changelog v2->v3:
1: Use list_is_singular() instead of
   block_group->list.next == block_group->list.prev
   Suggested-by: Jeff Mahoney <jeffm@suse.com>
2: Add Reviewed-by: Filipe Manana <fdmanana@suse.com>

Changelog v1->v2:
1: Put code of checking block_group->list into
   semaphore of space_info->groups_sem.
   Noticed-by: Filipe Manana <fdmanana@gmail.com>
2: Update patch description of "Fix" field
3: Use BTRFS_BLOCK_GROUP_DATA for btrfs_force_chunk_alloc
   instead of 1
4: Only reserve chunk when doing balance on data chunk.
All suggested-by: Filipe Manana <fdmanana@gmail.com>

Zhao Lei (3):
  btrfs: Fix lost-data-profile caused by auto removing bg
  btrfs: Fix lost-data-profile caused by balance bg
  btrfs: Use fs_info directly in btrfs_delete_unused_bgs

 fs/btrfs/extent-tree.c | 11 +++++++----
 fs/btrfs/volumes.c     | 24 ++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)

-- 
1.8.5.1


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

end of thread, other threads:[~2015-10-08 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 10:59 [PATCH v4 0/3] btrfs: Fix lost-data-profile caused by auto removing bg and balance bg Zhao Lei
2015-10-08 10:59 ` [PATCH v4 1/3] btrfs: Fix lost-data-profile caused by auto removing bg Zhao Lei
2015-10-08 10:59 ` [PATCH v4 2/3] btrfs: Fix lost-data-profile caused by balance bg Zhao Lei
2015-10-08 10:59 ` [PATCH v4 3/3] btrfs: Use fs_info directly in btrfs_delete_unused_bgs Zhao Lei

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