Re: [PATCH v2 18/20] Btrfs-progs: fix magic return value in cmds-balance.c

2013-09-10 Thread Ilya Dryomov
On Tue, Sep 10, 2013 at 5:28 AM, Wang Shilong wangsl.f...@cn.fujitsu.com wrote: If there is no balance in progress, resume/pause/cancel will return 2. Usage or syntax errors will return 1. And 0 means operations return successfully. Signed-off-by: Wang Shilong wangsl.f...@cn.fujitsu.com ---

Re: Checksum failure after interrupted defrag

2013-09-10 Thread Tim Eberhardt
Hello, I'm just answering my own message because I'm in the process of recreating the filesystem. I just wanted to ask if this behavior is expected because there still is no scrub support for raid5 or if I can give you some input to identify a bug or test something? Regards, Tim Am Dienstag,

Re: [PATCH] Btrfs: cleanup redundant code in __btrfs_close_devices()

2013-09-10 Thread Azat Khuzhin
On Mon, Sep 9, 2013 at 7:28 AM, Wang Shilong wangsl.f...@cn.fujitsu.com wrote: On 09/08/2013 12:15 AM, Azat Khuzhin wrote: Signed-off-by: Azat Khuzhin a3at.m...@gmail.com --- fs/btrfs/volumes.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/volumes.c

Re: [PATCH] Btrfs: cleanup redundant code in __btrfs_close_devices()

2013-09-10 Thread Wang Shilong
On Mon, Sep 9, 2013 at 7:28 AM, Wang Shilong wangsl.f...@cn.fujitsu.com wrote: On 09/08/2013 12:15 AM, Azat Khuzhin wrote: Signed-off-by: Azat Khuzhin a3at.m...@gmail.com --- fs/btrfs/volumes.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/volumes.c

[PATCH] xfstests: generic/274 increase scratch fs size to 2g

2013-09-10 Thread Josef Bacik
With 1 gig btrfs defaults to mixed block groups, so we ENOSPC in this test because we run out of metadata space, not data space. Increasing to 2g allows us to use our normal setup and allows us to pass this test. Thanks, Signed-off-by: Josef Bacik jba...@fusionio.com --- tests/generic/274 |

Re: btrfs.h and btrfs-progs licensing

2013-09-10 Thread ronnie sahlberg
For crc32c you can use this one which is lgpl: https://github.com/sahlberg/libiscsi/blob/master/lib/crc32c.c You can use the generator at : http://www.ross.net/crc/download/crc_v3.txt to generate this (and others) On Mon, Sep 9, 2013 at 3:50 PM, David Sterba dste...@suse.cz wrote: On Mon,

Re: [PATCH][RESEND] vfs: allow /proc/PID/maps to get device from stat

2013-09-10 Thread Josef Bacik
On Tue, Sep 10, 2013 at 08:36:55AM -0700, Mark Fasheh wrote: On Mon, Aug 12, 2013 at 04:47:52AM -0700, Christoph Hellwig wrote: On Thu, Aug 08, 2013 at 11:44:54AM -0400, Josef Bacik wrote: On Thu, Aug 08, 2013 at 06:48:05AM -0700, Christoph Hellwig wrote: On Thu, Aug 08, 2013 at

[PATCH] Btrfs: fix typo in btrfs_err_str()

2013-09-10 Thread Wang Shilong
From: Wang Shilong wangsl.f...@cn.fujitsu.com raid5 and raid6 at least need three and four devices respectively, fix it. Signed-off-by: Wang Shilong wangsl.f...@cn.fujitsu.com --- include/uapi/linux/btrfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH][RESEND] vfs: allow /proc/PID/maps to get device from stat

2013-09-10 Thread Mark Fasheh
On Mon, Aug 12, 2013 at 04:47:52AM -0700, Christoph Hellwig wrote: On Thu, Aug 08, 2013 at 11:44:54AM -0400, Josef Bacik wrote: On Thu, Aug 08, 2013 at 06:48:05AM -0700, Christoph Hellwig wrote: On Thu, Aug 08, 2013 at 09:02:07AM -0400, Josef Bacik wrote: This won't work, try having

separating data and metadata

2013-09-10 Thread enzo ferrari
any idea about separating Btrfs' data and metadata to improve the security of flash storage? -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] Btrfs: cleanup redundant code in __btrfs_close_devices()

2013-09-10 Thread Azat Khuzhin
On Tue, Sep 10, 2013 at 5:15 PM, Wang Shilong wangshilong1...@gmail.com wrote: On Mon, Sep 9, 2013 at 7:28 AM, Wang Shilong wangsl.f...@cn.fujitsu.com wrote: On 09/08/2013 12:15 AM, Azat Khuzhin wrote: Signed-off-by: Azat Khuzhin a3at.m...@gmail.com --- fs/btrfs/volumes.c |2 +- 1

Re: [PATCH][RESEND] vfs: allow /proc/PID/maps to get device from stat

2013-09-10 Thread Jeff Mahoney
On 9/10/13 11:56 AM, Josef Bacik wrote: On Tue, Sep 10, 2013 at 08:36:55AM -0700, Mark Fasheh wrote: On Mon, Aug 12, 2013 at 04:47:52AM -0700, Christoph Hellwig wrote: On Thu, Aug 08, 2013 at 11:44:54AM -0400, Josef Bacik wrote: On Thu, Aug 08, 2013 at 06:48:05AM -0700, Christoph Hellwig

Re: btrfs-error

2013-09-10 Thread Duncan
David O'Riley posted on Tue, 10 Sep 2013 18:04:20 +0100 as excerpted: I have been using ubuntu-gnome 13.04 for a couple of week with no issue. After a power failure my system fails to boot, error in rootfs. If I boot from a live CD and try to mount /dev/sda6 the system crashed. I have

Re: separating data and metadata

2013-09-10 Thread Duncan
enzo ferrari posted on Tue, 10 Sep 2013 17:34:28 + as excerpted: any idea about separating Btrfs' data and metadata to improve the security of flash storage? I don't see that listed on the wiki features list yet, for either current or planned features. Btrfs does have an ssd mode