Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Albert Cahalan
On 6/13/07, Chris Mason <[EMAIL PROTECTED]> wrote: On Wed, Jun 13, 2007 at 12:14:40PM -0400, Albert Cahalan wrote: > On 6/13/07, Chris Mason <[EMAIL PROTECTED]> wrote: > >On Wed, Jun 13, 2007 at 01:45:28AM -0400, Albert Cahalan wrote: > >> * secure delete via destruction of per-file or per-blo

[patch 8/8] reiser4: fix for new aops patches

2007-06-13 Thread Nick Piggin
Index: linux-2.6/fs/reiser4/plugin/item/extent_file_ops.c === --- linux-2.6.orig/fs/reiser4/plugin/item/extent_file_ops.c +++ linux-2.6/fs/reiser4/plugin/item/extent_file_ops.c @@ -7,7 +7,6 @@ #include #include -#include "../../

[patch 7/8] ufs: convert to new aops fix

2007-06-13 Thread Nick Piggin
Index: linux-2.6/fs/ufs/util.h === --- linux-2.6.orig/fs/ufs/util.h +++ linux-2.6/fs/ufs/util.h @@ -231,6 +231,9 @@ ufs_set_inode_gid(struct super_block *sb extern dev_t ufs_get_inode_dev(struct super_block *, struct ufs_inode_info

[patch 4/8] minix: convert to new aops fix

2007-06-13 Thread Nick Piggin
Index: linux-2.6/fs/minix/minix.h === --- linux-2.6.orig/fs/minix/minix.h +++ linux-2.6/fs/minix/minix.h @@ -54,6 +54,9 @@ extern int minix_new_block(struct inode extern void minix_free_block(struct inode *inode, unsigned long block

[patch 6/8] sysv: convert to new aops fix

2007-06-13 Thread Nick Piggin
Index: linux-2.6/fs/sysv/sysv.h === --- linux-2.6.orig/fs/sysv/sysv.h +++ linux-2.6/fs/sysv/sysv.h @@ -136,6 +136,9 @@ extern unsigned long sysv_count_free_blo /* itree.c */ extern void sysv_truncate(struct inode *); +extern int _

[patch 4/8] 2.6.22-rc4-mm2 buffered write fixes

2007-06-13 Thread Nick Piggin
Don't move journal_stop from under page lock. Fixes: ext4-convert-to-new-aops.patch Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/fs/ext4/inode.c === --- linux-2.6.orig/fs/ext4/inode.c +++ linux-2.6/fs/ext4/inode.c

[patch 3/8] 2.6.22-rc4-mm2 buffered write fixes

2007-06-13 Thread Nick Piggin
Don't move journal_stop from under page lock. Fixes: ext3-convert-to-new-aops.patch Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/fs/ext3/inode.c === --- linux-2.6.orig/fs/ext3/inode.c +++ linux-2.6/fs/ext3/inode.c

[patch 2/8] 2.6.22-rc4-mm2 buffered write fixes

2007-06-13 Thread Nick Piggin
Dmitriy noticed that iov_iter_fault_in_readable could go past the end of the first iov in a multi-iov situation, and that could be considered an EFAULT by the caller. Fix and comment. Fixes: fs-introduce-write_begin-write_end-and-perform_write-aops.patch Signed-off-by: Nick Piggin <[EMAIL PROTEC

[patch 1/8] 2.6.22-rc4-mm2 buffered write fixes

2007-06-13 Thread Nick Piggin
Here are several fixes for issues that Dmitriy found, and also several fixlets for non-compiling filesystems. These only caused one trivial down-stack reject, so I won't worry about sending you the fix for that. These have had some testing with various filesystems, block sizes, and journal modes

Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

2007-06-13 Thread David Chinner
On Tue, Jun 12, 2007 at 11:46:52AM +0530, Amit K. Arora wrote: > Did you get time to write the above man page ? It will help to push > further patches in time (eg. for FA_PREALLOCATE mode). First pass is attached. `nroff -man fallocate.2 | less` to view. Cheers, Dave. -- Dave Chinner Principal

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Chris Mason
On Wed, Jun 13, 2007 at 12:14:40PM -0400, Albert Cahalan wrote: > On 6/13/07, Chris Mason <[EMAIL PROTECTED]> wrote: > >On Wed, Jun 13, 2007 at 01:45:28AM -0400, Albert Cahalan wrote: > > >> The usual wishlist: > >> > >> * inode-to-pathnames mapping > > > >This one I'll code, it will help with ino

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Grzegorz Kulewski
On Wed, 13 Jun 2007, Chris Mason wrote: But, I'm not planning on adding a way to say user X in subvolume Y has quota Z. I'll just be: this subvolume can't get bigger than a given size. (at least for version 1.0). I am affraid that this one is a major stopper for any production usage. Think a

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Chris Mason
On Wed, Jun 13, 2007 at 12:12:23PM -0400, John Stoffel wrote: > > "Chris" == Chris Mason <[EMAIL PROTECTED]> writes: [ nod ] > Also, I think you're wrong here when you state that making a snapshot > (sub-volume?) RO just requires you to set the quota to 1 block. What > is to stop me from wri

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Albert Cahalan
On 6/13/07, Chris Mason <[EMAIL PROTECTED]> wrote: On Wed, Jun 13, 2007 at 01:45:28AM -0400, Albert Cahalan wrote: > The usual wishlist: > > * inode-to-pathnames mapping This one I'll code, it will help with inode link count verification. I want to be able to detect at run time that an inode

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread John Stoffel
> "Chris" == Chris Mason <[EMAIL PROTECTED]> writes: Chris> On Wed, Jun 13, 2007 at 10:00:56AM -0400, John Stoffel wrote: >> > "Chris" == Chris Mason <[EMAIL PROTECTED]> writes: >> >> As a user of Netapps, having quotas (if only for reporting purposes) >> >> and some way to migrate non-use

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Chris Mason
On Wed, Jun 13, 2007 at 10:00:56AM -0400, John Stoffel wrote: > > "Chris" == Chris Mason <[EMAIL PROTECTED]> writes: > >> As a user of Netapps, having quotas (if only for reporting purposes) > >> and some way to migrate non-used files to slower/cheaper storage would > >> be great. > > Chris> S

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread John Stoffel
> "Chris" == Chris Mason <[EMAIL PROTECTED]> writes: >> So, can you resize a filesystem both bigger and smaller? Or is that >> implicit in the Object level mirroring and striping? Chris> Growing the FS is just either extending or adding a new extent Chris> tree. Shrinking is more complex.

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Chris Mason
On Wed, Jun 13, 2007 at 01:45:28AM -0400, Albert Cahalan wrote: > Neat! It's great to see somebody else waking up to the idea that > storage media is NOT to be trusted. > > Judging by the design paper, it looks like your structs have some > alignment problems. Actual defs are all packed, but I ma

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Chris Mason
On Tue, Jun 12, 2007 at 11:46:20PM -0400, John Stoffel wrote: > > "Chris" == Chris Mason <[EMAIL PROTECTED]> writes: > > Chris> After the last FS summit, I started working on a new filesystem > Chris> that maintains checksums of all file data and metadata. Many > Chris> thanks to Zach Brown f

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-13 Thread Chris Mason
On Wed, Jun 13, 2007 at 04:08:30AM +0100, Christoph Hellwig wrote: > On Tue, Jun 12, 2007 at 04:14:39PM -0400, Chris Mason wrote: > > > Aside from folding snapshot history into the origin's namespace... It > > > could be possible to have a mount.btrfs that allows subvolumes and/or > > > snapshot vo