Re: Compression: per filesystem, or per subvolume?

2011-05-10 Thread Fajar A. Nugraha
On Sun, May 8, 2011 at 8:38 PM, cwillu cwi...@gmail.com wrote: It's by not-implemented-yet.  Mount options are still currently global to the filesystem. Thanks for the info. I was testing combination of grub2, btrfs / without separate /boot, and lzo. Using lzo feels much faster compared to

Lockdep warning in btrfs_clear_lock_blocking

2011-05-10 Thread David Sterba
Hi, I've hit this lockdep warning, 2.6.39rc6. Single btrfs partition, 30GB, filled with 2GB, compress-force=lzo, warning trigered after normal copy+du. Happened only once. [Might be a false positive.] david [14547.128565] = [14547.132010] [ INFO:

Re: btrfs filesystem label command

2011-05-10 Thread Goffredo Baroncelli
Hi, I suppose that you are familiar with 'git' and the standard unix command (like cd, make...). The quick way is the following: $ cd /tmp $ git clone -b label \ http://cassiopea.homelinux.net/git/btrfs-progs-unstable.git $ cd btrfs-progs-unstable.git $ make $ ./btrfs Hoping that this

Re: [PATCH 3/4] btrfs: don't spin in shrink_delalloc if there is nothing to free

2011-05-10 Thread Sergei Trofimovich
On Mon, 09 May 2011 12:00:28 -0400 Josef Bacik jo...@redhat.com wrote: On 05/07/2011 05:29 PM, sly...@gmail.com wrote: Observed as a large delay when --mixed filesystem is filled up. Test example: 1. create tiny --mixed FS: $ dd if=/dev/zero of=2G.img seek=$((2048 * 1024 * 1024 - 1))

[PATCH v2 0/3] btrfs: don't spin in shrink_delalloc if there is nothing to free

2011-05-10 Thread y
From: Sergei Trofimovich sly...@gentoo.org The really interesting commit is [PATCH 1/3] btrfs: don't spin in shrink_delalloc if there is nothing to free which fixes hogs on ENOSPC for me. The rest of patches are cleanup. Change since v1: - Added Josef's Reviewed-by - Fixed my MTA and patch

[PATCH v2 1/3] btrfs: don't spin in shrink_delalloc if there is nothing to free

2011-05-10 Thread y
From: Sergei Trofimovich sly...@gentoo.org Observed as a large delay when --mixed filesystem is filled up. Test example: 1. create tiny --mixed FS: $ dd if=/dev/zero of=2G.img seek=$((2048 * 1024 * 1024 - 1)) count=1 bs=1 $ mkfs.btrfs --mixed 2G.img $ mount -oloop 2G.img /mnt/ut/ 2. Try

[PATCH v2 2/3] btrfs: typo: 'btrfS' - 'btrfs'

2011-05-10 Thread y
From: Sergei Trofimovich sly...@gentoo.org Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- fs/btrfs/dir-item.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index c62f02f..dec9348 100644 --- a/fs/btrfs/dir-item.c +++

[PATCH v2 3/3] btrfs: fix typo 'testeing' - 'testing'

2011-05-10 Thread y
From: Sergei Trofimovich sly...@gentoo.org Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- fs/btrfs/inode.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 7cd8ab0..72650ce 100644 --- a/fs/btrfs/inode.c +++

[PATCH v2 0/3] btrfs: don't spin in shrink_delalloc if there is nothing to free

2011-05-10 Thread Sergei Trofimovich
The really interesting commit is [PATCH 1/3] btrfs: don't spin in shrink_delalloc if there is nothing to free which fixes hogs on ENOSPC for me. The rest of patches are cleanup. Change since v1: - Added Josef's Reviewed-by - Fixed my MTA and patch numbering Thanks! -- To unsubscribe from

[PATCH v2 1/3] btrfs: don't spin in shrink_delalloc if there is nothing to free

2011-05-10 Thread Sergei Trofimovich
Observed as a large delay when --mixed filesystem is filled up. Test example: 1. create tiny --mixed FS: $ dd if=/dev/zero of=2G.img seek=$((2048 * 1024 * 1024 - 1)) count=1 bs=1 $ mkfs.btrfs --mixed 2G.img $ mount -oloop 2G.img /mnt/ut/ 2. Try to fill it up: $ dd if=/dev/urandom

[PATCH v2 2/3] btrfs: typo: 'btrfS' - 'btrfs'

2011-05-10 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- fs/btrfs/dir-item.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index c62f02f..dec9348 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c @@ -452,7 +452,7 @@ int