Hello, 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. --- fs/btrfs/ctree.h | 2 + fs/btrfs/extent-tree.c | 71 ++++++- fs/btrfs/super.c | 147 +++++++++++- fs/btrfs/volumes.c | 606 +++++++++++++++++++++++++++++++++++------------- fs/btrfs/volumes.h | 27 +++ 5 files changed, 682 insertions(+), 171 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
On Wed, Dec 22, 2010 at 06:47:08PM +0800, Miao Xie wrote:> Hello, > > 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. >I''ll review the rest of them when I have more time, thanks for these Miao. Josef -- 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
Excerpts from Josef Bacik''s message of 2010-12-22 14:22:54 -0500:> On Wed, Dec 22, 2010 at 06:47:08PM +0800, Miao Xie wrote: > > Hello, > > > > 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. > > > > I''ll review the rest of them when I have more time, thanks for these Miao.For now they are going with the new compression code into a new branch for 2.6.38 in my git tree. I might have to rebase as patches are added and removed, but these will all go in. -chris -- 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