linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/6] random bugfixes of the space management
@ 2010-12-29 10:18 Miao Xie
  2011-01-04  5:46 ` Mitch Harder
  0 siblings, 1 reply; 4+ messages in thread
From: Miao Xie @ 2010-12-29 10:18 UTC (permalink / raw)
  To: Chris Mason, Josef Bacik; +Cc: Linux Btrfs

Hello, Chris

I have a bunch of random fixes of the space management in

git://repo.or.cz/linux-btrfs-devel.git space-manage

They are the ENOSPC fixes, as well as fixes for df command.
The first one and the last one fixed the wrong free space information reported
by df command. The second one fixed ENOSPC when there is tiny space in the
filesystem. And The third fixed wrong calculation of stripe size. And the 4th
and 5th patches fixed the chunk allocation problem when the block devices have
no enough space to allocate a default-size chunk.

Changelog V1 -> V2:
- fix compiler errors on x86_32 machines.
- fix some bugs when allocating dup chunks.
- break the chunk allocation when errors happen.
- just allocate min_stripes stripes when the free space is not enough.
- cleanup redundant code

You can merge this patchset to your "next" branch directly after dropping
the top four patches of the "next" branch.

Thanks
Miao
---
 fs/btrfs/ctree.h       |    2 +
 fs/btrfs/extent-tree.c |   71 +++++-
 fs/btrfs/super.c       |  147 +++++++++++-
 fs/btrfs/volumes.c     |  615 +++++++++++++++++++++++++++++++++++-------------
 fs/btrfs/volumes.h     |   27 ++
 5 files changed, 686 insertions(+), 176 deletions(-)

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

end of thread, other threads:[~2011-01-05 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-29 10:18 [PATCH V2 0/6] random bugfixes of the space management Miao Xie
2011-01-04  5:46 ` Mitch Harder
2011-01-04  6:42   ` Miao Xie
2011-01-05 10:13   ` Miao Xie

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