linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/6] random bugfixes of the space management
@ 2011-01-05 10:07 Miao Xie
  2011-01-05 17:48 ` Mitch Harder
  2011-01-12  3:59 ` Miao Xie
  0 siblings, 2 replies; 3+ messages in thread
From: Miao Xie @ 2011-01-05 10:07 UTC (permalink / raw)
  To: Chris Mason, Josef Bacik, Mitch Harder; +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 V2 -> V3:
- fix panic caused by freeing a invalid memory address.

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.

If you want to merge this patchset to your "next" branch for testing, you can merge it
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     |  614 +++++++++++++++++++++++++++++++++++-------------
 fs/btrfs/volumes.h     |   27 ++
 5 files changed, 685 insertions(+), 176 deletions(-)

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

* Re: [PATCH V3 0/6] random bugfixes of the space management
  2011-01-05 10:07 [PATCH V3 0/6] random bugfixes of the space management Miao Xie
@ 2011-01-05 17:48 ` Mitch Harder
  2011-01-12  3:59 ` Miao Xie
  1 sibling, 0 replies; 3+ messages in thread
From: Mitch Harder @ 2011-01-05 17:48 UTC (permalink / raw)
  To: miaox; +Cc: Chris Mason, Josef Bacik, Linux Btrfs

2011/1/5 Miao Xie <miaox@cn.fujitsu.com>:
> 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 i=
n 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 dev=
ices have
> no enough space to allocate a default-size chunk.
>
> Changelog V2 -> V3:
> - fix panic caused by freeing a invalid memory address.
>
> 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=
=2E
> - cleanup redundant code.
>
> If you want to merge this patchset to your "next" branch for testing,=
 you can merge it
> directly after dropping the top four patches of the "next" branch.
>
> Thanks
> Miao
> ---
> =A0fs/btrfs/ctree.h =A0 =A0 =A0 | =A0 =A02 +
> =A0fs/btrfs/extent-tree.c | =A0 71 +++++-
> =A0fs/btrfs/super.c =A0 =A0 =A0 | =A0147 +++++++++++-
> =A0fs/btrfs/volumes.c =A0 =A0 | =A0614 ++++++++++++++++++++++++++++++=
+++++-------------
> =A0fs/btrfs/volumes.h =A0 =A0 | =A0 27 ++
> =A05 files changed, 685 insertions(+), 176 deletions(-)
>

The problems I was encountering in the V2 version of this patch set
are fixed in V3.

Thanks for the updates.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH V3 0/6] random bugfixes of the space management
  2011-01-05 10:07 [PATCH V3 0/6] random bugfixes of the space management Miao Xie
  2011-01-05 17:48 ` Mitch Harder
@ 2011-01-12  3:59 ` Miao Xie
  1 sibling, 0 replies; 3+ messages in thread
From: Miao Xie @ 2011-01-12  3:59 UTC (permalink / raw)
  To: miaox; +Cc: Chris Mason, Josef Bacik, Mitch Harder, Linux Btrfs

Any comments for these patches?

Thanks
Miao

On wed, 05 Jan 2011 18:07:11 +0800, Miao Xie wrote:
> 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 V2 ->  V3:
> - fix panic caused by freeing a invalid memory address.
> 
> 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.
> 
> If you want to merge this patchset to your "next" branch for testing, you can merge it
> 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     |  614 +++++++++++++++++++++++++++++++++++-------------
>   fs/btrfs/volumes.h     |   27 ++
>   5 files changed, 685 insertions(+), 176 deletions(-)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


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

end of thread, other threads:[~2011-01-12  3:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 10:07 [PATCH V3 0/6] random bugfixes of the space management Miao Xie
2011-01-05 17:48 ` Mitch Harder
2011-01-12  3:59 ` 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).