Re: Honest timeline for btrfsck

2011-10-12 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/12/2011 06:47 PM, Jeff Putney wrote: > On Wed, Oct 12, 2011 at 2:53 PM, Martin Steigerwald > wrote: >> Am Mittwoch, 12. Oktober 2011 schrieb Jeff Putney: I do not argue that having a nice fsck sooner than later is fine, but I question

Re: [PATCH 1/3] 263: Functional test case for the btrfs snapshot

2011-10-12 Thread Dave Chinner
On Wed, Oct 12, 2011 at 12:52:52PM +0800, Anand Jain wrote: > Create snapshots in various ways, modify the data around the block and > file boundaries and verify the data integrity. > + > +# Create Dir tree and files in it. > +# arg1 basedir > +# arg2 dir depth > +# arg3 nfile_min > +# arg4 n

Re: Test Trim

2011-10-12 Thread Calvin Walton
On Tue, 2011-10-11 at 08:35 +0100, Leonidas Spyropoulos wrote: > Hello list, > > Is there a small script to test if TRIM is working on my system? > > Also what about defrag? Is it recommended and how importatnt? Can I > check if I need it? If you're asking about TRIM, then you're probably using

Re: A Plumber???s Wish List for Linux

2011-10-12 Thread Dave Chinner
On Mon, Oct 10, 2011 at 09:09:37AM -0400, Theodore Tso wrote: > > On Oct 10, 2011, at 7:18 AM, David Sterba wrote: > > > "Resetting the UUID on btrfs isn't a quick-and-easy thing - you > > have to walk the entire tree and change every object. We've got > > a bad-hack in meego that uses btrfs-debu

Re: Honest timeline for btrfsck

2011-10-12 Thread Jeff Putney
On Wed, Oct 12, 2011 at 2:53 PM, Martin Steigerwald wrote: > Am Mittwoch, 12. Oktober 2011 schrieb Jeff Putney: >> > I do not argue that having a nice fsck sooner than later is fine, but >> > I question the usefulness of repeating reminders. Chris Mason and >> > other developers possibly working o

[PATCH] Btrfs: remove dead code block

2011-10-12 Thread Ilya Dryomov
This has been effectively unreachable for years, btrfs_read_dev_super() implements this check earlier in the mount sequence. Signed-off-by: Ilya Dryomov --- fs/btrfs/disk-io.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c in

[PATCH] Btrfs: fix a bug when opening seed devices

2011-10-12 Thread Ilya Dryomov
Initialize fs_info->bdev_holder a bit earlier to be able to pass a correct holder id to blkdev_get() when opening seed devices with O_EXCL. Signed-off-by: Ilya Dryomov --- fs/btrfs/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super

Re: [PATCH] Btrfs: allow us to overcommit our enospc reservations TEST THIS PLEASE!!!

2011-10-12 Thread Mitch Harder
On Wed, Oct 12, 2011 at 12:50 PM, Josef Bacik wrote: > On Tue, Oct 11, 2011 at 03:45:45PM -0500, Mitch Harder wrote: >> On Tue, Oct 11, 2011 at 3:01 PM, Josef Bacik wrote: >> > On Tue, Oct 11, 2011 at 02:44:09PM -0500, Mitch Harder wrote: >> >> On Tue, Oct 11, 2011 at 2:00 PM, Josef Bacik wrote:

Re: Honest timeline for btrfsck

2011-10-12 Thread Martin Steigerwald
Am Mittwoch, 12. Oktober 2011 schrieb Jeff Putney: > > I do not argue that having a nice fsck sooner than later is fine, but > > I question the usefulness of repeating reminders. Chris Mason and > > other developers possibly working on the fsck should know by now, > > that you want it. So its unlik

Re: Honest timeline for btrfsck

2011-10-12 Thread Jeff Putney
> Even if its a thousand +1 following, it seems to me that its perfectly > Chris Masons decision... Obviously. > Chris seems to have some ideas on when to release the fsck. Yes, and that idea of when has been drifting in the couple week range for about a year. > So what do you > think you achie

Re: fixing slow sync(2)

2011-10-12 Thread Dan Merillat
On Sat, Oct 8, 2011 at 11:35 AM, Josef Bacik wrote: > I think I fixed this, try my git tree > > git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-work.git I wanted to Ack this as well - 3.1-rc4 was completely unusable when firefox was running (30+ second pauses to read directories, btrfs

Re: [PATCH] Btrfs: allow us to overcommit our enospc reservations TEST THIS PLEASE!!!

2011-10-12 Thread Josef Bacik
On Tue, Oct 11, 2011 at 03:45:45PM -0500, Mitch Harder wrote: > On Tue, Oct 11, 2011 at 3:01 PM, Josef Bacik wrote: > > On Tue, Oct 11, 2011 at 02:44:09PM -0500, Mitch Harder wrote: > >> On Tue, Oct 11, 2011 at 2:00 PM, Josef Bacik wrote: > >> > On Tue, Oct 11, 2011 at 12:33:48PM -0500, Mitch Har

Re: Number of hard links limit

2011-10-12 Thread Martin Steigerwald
Hello, Am Freitag, 6. August 2010 schrieb Chris Mason: > On Fri, Aug 06, 2010 at 02:30:39PM +0300, Sami Liedes wrote: > > On Tue, Aug 03, 2010 at 12:22:14AM +0200, Oystein Viggen wrote: > > > IIRC, the limit on hard links is per directory. That is, if you > > > put each hard link into its own dir

回覆﹕ Could I create volumes on one device ?

2011-10-12 Thread bbsposters
- 原始信件 寄件者: bbsposters 收件者: "linux-btrfs@vger.kernel.org" 副本: 寄件日期: 2011/10/13 (四) 12:51 AM 主旨: Could I create volumes on one device ? Hi list, I want to create volumes (not subvolumes) on one device. Could it work? If it works, how can I do by btrfs tools ? If it can't, is there any

Re: Could I create volumes on one device ?

2011-10-12 Thread Fajar A. Nugraha
On Wed, Oct 12, 2011 at 11:51 PM, bbsposters wrote: > Hi list, > I want to create volumes (not subvolumes) on one device. > Could it work? > If it works, how can I do by btrfs tools ? > If it can't, is there any way to create subvolumes which have their > independent space? > For example, I want

Re: btrfs-progs: new integration branch out

2011-10-12 Thread Fajar A. Nugraha
On Wed, Oct 12, 2011 at 11:50 PM, Mitch Harder wrote: > On Wed, Oct 12, 2011 at 10:22 AM, Fajar A. Nugraha wrote: >> I noticed that "btrfs subvolume snapshot" is now broken. It keeps on >> saying "Invalid arguments for subvolume snapshot". >> >> Further checking shows it's caused by >> >> commit

Could I create volumes on one device ?

2011-10-12 Thread bbsposters
Hi list, I want to create volumes (not subvolumes) on one device. Could it work? If it works, how can I do by btrfs tools ? If it can't, is there any way to create subvolumes which have their independent space? For example, I want to create 100MB for /home and 50 MB for /root. thanks, -- To unsub

Re: btrfs-progs: new integration branch out

2011-10-12 Thread Mitch Harder
On Wed, Oct 12, 2011 at 10:22 AM, Fajar A. Nugraha wrote: > On Wed, Oct 12, 2011 at 7:34 PM, Hugo Mills wrote: >>   Fixes or updated patches for any problems you may find are >> welcomed, of course. > > I noticed that "btrfs subvolume snapshot" is now broken. It keeps on > saying "Invalid argumen

Re: btrfs-progs: new integration branch out

2011-10-12 Thread Fajar A. Nugraha
On Wed, Oct 12, 2011 at 7:34 PM, Hugo Mills wrote: >   Fixes or updated patches for any problems you may find are > welcomed, of course. I noticed that "btrfs subvolume snapshot" is now broken. It keeps on saying "Invalid arguments for subvolume snapshot". Further checking shows it's caused by

Re: defrag makes fragmentation worse

2011-10-12 Thread Chris Mason
Excerpts from Chester's message of 2011-10-12 00:14:21 -0400: > On Tue, Oct 11, 2011 at 9:37 PM, Li Zefan wrote: > > > > > > This confirmed my speculation. I've fixed this bug a month ago, but > > the patch hasn't hitted mainline. > > > > You can try it out: > > > > http://marc.info/?l=linux-btrfs

Re: Honest timeline for btrfsck

2011-10-12 Thread Martin Steigerwald
Am Freitag, 7. Oktober 2011 schrieb Gour-Gadadhara Dasa: > On Fri, 07 Oct 2011 08:39:36 -0700 > > Mike wrote: > > I also don't think you are giving people enough credit. e2fsck will > > cause corruption pretty much everytime its run on a mounted file > > system, but a nice big nasty warning messa

Re: Honest timeline for btrfsck

2011-10-12 Thread Josef Bacik
On Tue, Oct 11, 2011 at 11:21:45PM +0200, Francesco Riosa wrote: > 2011/10/7 Josef Bacik : > > On 10/06/2011 04:56 PM, Francesco Riosa wrote: > >> 2011/10/6 Andi Kleen : > >>> Jeff Putney writes: > > http://en.wikipedia.org/wiki/Release_early,_release_often > >>> > >>> Well the other pri

Re: btrfs-progs: new integration branch out

2011-10-12 Thread Fajar A. Nugraha
tanic.net/repo/btrfs-progs-unstable.git/ integration-20111012 > >   This is only compile-tested so far, so there may still be serious > problems with it. Please take care. I'm not likely to be able to do > much additional work on it before the weekend, so I thought it would > be better

btrfs-progs: new integration branch out

2011-10-12 Thread Hugo Mills
All - After a long wait (sorry about that, things have been busy for me lately), I've managed to pull together a new integration branch for btrfs-progs. This can be pulled from: http://git.darksatanic.net/repo/btrfs-progs-unstable.git/ integration-20111012 This is only compile-t