Re: Atomic replacement of subvolumes is not possible

2010-06-30 Thread Chris Mason
On Sun, Jun 27, 2010 at 07:44:12PM -0500, C Anthony Risinger wrote: On Sat, Jun 26, 2010 at 12:25 PM, Daniel Baumann dan...@debian.org wrote: Hi, this is basically a forward from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587253 rename(2) allows for the atomic replacement of

Re: Atomic replacement of subvolumes is not possible

2010-06-30 Thread C Anthony Risinger
On Wed, Jun 30, 2010 at 8:31 AM, Chris Mason chris.ma...@oracle.com wrote: On Sun, Jun 27, 2010 at 07:44:12PM -0500, C Anthony Risinger wrote: On Sat, Jun 26, 2010 at 12:25 PM, Daniel Baumann dan...@debian.org wrote: Hi, this is basically a forward from

Re: Balancing leaves when walking from top to down (was Btrfs:...)

2010-06-30 Thread Edward Shishkin
Chris Mason wrote: [...] 1. the balancing condition n = number_of_keys = 2n+1 is not satisfied (indeed, when number_of_keys is 1 we have 1 = 2n+1 -- false); That doesn't matter. It is not necessary (or desirable) to follow the classical B-tree algorithms to the letter to get

Re: Balancing leaves when walking from top to down (was Btrfs:...)

2010-06-30 Thread Chris Mason
On Wed, Jun 30, 2010 at 10:05:21PM +0200, Edward Shishkin wrote: Chris Mason wrote: [...] 1. the balancing condition n = number_of_keys = 2n+1 is not satisfied (indeed, when number_of_keys is 1 we have 1 = 2n+1 -- false); That doesn't matter. It is not necessary (or desirable) to follow

[PATCH] btrfs: handle errors for FS_IOC_SETFLAGS

2010-06-30 Thread Sean Bartell
Makes btrfs_ioctl_setflags return -ENOSPC and other errors when necessary. Signed-off-by: Sean Bartell wingedtachik...@gmail.com --- I ran chattr -R on a full FS and btrfs crashed. This overlaps with the patch series being worked on by Jeff Mahoney. fs/btrfs/ioctl.c | 17 - 1

Re: Is there a more aggressive fixer than btrfsck?

2010-06-30 Thread Rodrigo E . De León Plicet
On Wed, Jun 30, 2010 at 11:47 AM, Florian Weimer f...@deneb.enyo.de wrote: ZFS doesn't need a fsck because you have throw away the file system and restore from backup for certain types of corruption: | What can I do if ZFS file system panics on every boot? [...] | This will remove all

Re: [PATCH] btrfs-convert: add reiserfs support

2010-06-30 Thread Jérôme Poulin
Hello, I just want to thank you for the ReiserFS convertion patch. Now that the semester's over, I've finally gotten around to finishing this. Ironically, I no longer have a ReiserFS partition I want to convert :P. On my side I had my root filesystem which has been running for quite a while, I