Re: [PATCH V3 0/6] random bugfixes of the space management

2011-01-11 Thread Miao Xie
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

Re: btrfs build failure in latest git

2011-01-11 Thread Li Zefan
Jeff Garzik wrote: > > Tree as of commit 7bc4a4ce68f8c6d064ea949446852e996526f692 dies during btrfs > build on x86-64: > > CC [M] fs/btrfs/ctree.o > In file included from fs/btrfs/ctree.c:21:0: > fs/btrfs/ctree.h:1003:17: error: field ‘super_kobj’ has incomplete type > fs/btrfs/ctree.h:1074:1

Re: [PATCH v2 0/5] add new ioctls to do metadata readahead in btrfs

2011-01-11 Thread Shaohua Li
On Tue, Jan 11, 2011 at 05:13:53PM +0800, Wu, Fengguang wrote: > On Tue, Jan 11, 2011 at 11:27:33AM +0800, Li, Shaohua wrote: > > On Tue, 2011-01-11 at 11:07 +0800, Wu, Fengguang wrote: > > > On Tue, Jan 11, 2011 at 10:03:16AM +0800, Li, Shaohua wrote: > > > > On Tue, 2011-01-11 at 09:38 +0800, Wu,

Question regarding transaction end/commit

2011-01-11 Thread João Eduardo Luís
Hello all, I've been struggling to understand when to use 'btrfs_end_transaction()' instead of 'btrfs_commit_transaction()', and vice-versa. My doubts arise due to use of both of them in different points of the code, and some times a given method may even chose to do one instead of the other ba

Re: mount problem

2011-01-11 Thread Leonidas Spyropoulos
On 12 January 2011 00:58, Leonidas Spyropoulos wrote: > 2011/1/12 Tsutomu Itoh : >> (2011/01/12 9:25), Leonidas Spyropoulos wrote: >>> Hey all, >>> >>> I have a weird error with my RAID 0 btrfs partition. >>> Information for the partitions follow: >>> >>> # btrfs filesystem show >>> failed to read

Re: mount problem

2011-01-11 Thread Leonidas Spyropoulos
2011/1/12 Tsutomu Itoh : > (2011/01/12 9:25), Leonidas Spyropoulos wrote: >> Hey all, >> >> I have a weird error with my RAID 0 btrfs partition. >> Information for the partitions follow: >> >> # btrfs filesystem show >> failed to read /dev/sr0 >> Label: none  uuid: 1882b025-58e4-4287-98a3-9b772af0a

Re: mount problem

2011-01-11 Thread Tsutomu Itoh
(2011/01/12 9:25), Leonidas Spyropoulos wrote: > Hey all, > > I have a weird error with my RAID 0 btrfs partition. > Information for the partitions follow: > > # btrfs filesystem show > failed to read /dev/sr0 > Label: none uuid: 1882b025-58e4-4287-98a3-9b772af0ad76 > Total devices 2 FS by

mount problem

2011-01-11 Thread Leonidas Spyropoulos
Hey all, I have a weird error with my RAID 0 btrfs partition. Information for the partitions follow: # btrfs filesystem show failed to read /dev/sr0 Label: none uuid: 1882b025-58e4-4287-98a3-9b772af0ad76 Total devices 2 FS bytes used 108.16GB devid2 size 74.53GB used 55.26GB

Re: Synching a Backup Server

2011-01-11 Thread Hugo Mills
On Mon, Jan 10, 2011 at 09:22:49AM +0700, Fajar A. Nugraha wrote: > On Mon, Jan 10, 2011 at 5:01 AM, Hugo Mills wrote: > >   There is a root subvolume namespace (subvolid=0), which may contain > > files, directories, and other subvolumes. This root subvolume is what > > you see when you mount a ne

Re: Synching a Backup Server

2011-01-11 Thread Hugo Mills
On Sun, Jan 09, 2011 at 11:32:20PM +, Alan Chandler wrote: > On 09/01/11 22:01, Hugo Mills wrote: > >> I find the wiki > >>also confusing because it talks about subvolumes having to be at the > >>first level of the filesystem, but again further up this thread > >>there is an example which is u

Re: [PATCH 1/6] fs: add hole punching to fallocate

2011-01-11 Thread Ted Ts'o
On Tue, Jan 11, 2011 at 04:13:42PM -0500, Lawrence Greenfield wrote: > > IOWs, all they want to do is avoid the unwritten extent conversion > > overhead. Time has shown that a bad security/performance tradeoff > > decision was made 13 years ago in XFS, so I see little reason to > > repeat it for ex

Re: [PATCH 1/6] fs: add hole punching to fallocate

2011-01-11 Thread Lawrence Greenfield
On Tue, Nov 9, 2010 at 6:40 PM, Dave Chinner wrote: > On Tue, Nov 09, 2010 at 04:41:47PM -0500, Ted Ts'o wrote: >> On Tue, Nov 09, 2010 at 03:42:42PM +1100, Dave Chinner wrote: >> > Implementation is up to the filesystem. However, XFS does (b) >> > because: >> > >> >     1) it was extremely simple

Re: Backup Command

2011-01-11 Thread Ivan Labáth
On 01/11/11 15:40, Hubert Kario wrote: > On Tuesday, January 11, 2011 15:33:38 Ivan Labáth wrote: >> On 01/11/11 15:19, Hubert Kario wrote: >>> On Tuesday, January 11, 2011 14:54:38 Ivan Labáth wrote: On 01/10/11 14:36, Hubert Kario wrote: > On Monday 10 of January 2011 14:25:32 Carl Cook

Re: Backup Command

2011-01-11 Thread Hubert Kario
On Tuesday, January 11, 2011 15:33:38 Ivan Labáth wrote: > On 01/11/11 15:19, Hubert Kario wrote: > > On Tuesday, January 11, 2011 14:54:38 Ivan Labáth wrote: > >> On 01/10/11 14:36, Hubert Kario wrote: > >>> On Monday 10 of January 2011 14:25:32 Carl Cook wrote: > Here is my proposed cron: >

Re: Backup Command

2011-01-11 Thread Ivan Labáth
On 01/11/11 15:19, Hubert Kario wrote: > On Tuesday, January 11, 2011 14:54:38 Ivan Labáth wrote: >> On 01/10/11 14:36, Hubert Kario wrote: >>> On Monday 10 of January 2011 14:25:32 Carl Cook wrote: Here is my proposed cron: btrfs subvolume snapshot hex:///home /media/backups/snapsho

Re: Backup Command

2011-01-11 Thread Hubert Kario
On Tuesday, January 11, 2011 14:54:38 Ivan Labáth wrote: > On 01/10/11 14:36, Hubert Kario wrote: > > On Monday 10 of January 2011 14:25:32 Carl Cook wrote: > >> Here is my proposed cron: > >> > >> btrfs subvolume snapshot hex:///home /media/backups/snapshots/hex-{DATE} > >> > >> rsync --archive

Re: Backup Command

2011-01-11 Thread Ivan Labáth
On 01/10/11 14:36, Hubert Kario wrote: > On Monday 10 of January 2011 14:25:32 Carl Cook wrote: >> Here is my proposed cron: >> >> btrfs subvolume snapshot hex:///home /media/backups/snapshots/hex-{DATE} >> >> rsync --archive --hard-links --delete-during --delete-excluded --inplace >> --numeric-ids

Re: [PATCH v2 0/5] add new ioctls to do metadata readahead in btrfs

2011-01-11 Thread Wu Fengguang
On Tue, Jan 11, 2011 at 11:27:33AM +0800, Li, Shaohua wrote: > On Tue, 2011-01-11 at 11:07 +0800, Wu, Fengguang wrote: > > On Tue, Jan 11, 2011 at 10:03:16AM +0800, Li, Shaohua wrote: > > > On Tue, 2011-01-11 at 09:38 +0800, Wu, Fengguang wrote: > > > > On Tue, Jan 11, 2011 at 08:15:19AM +0800, Li,