Re: Virtual Device Support (N-way mirror code)

2013-05-24 Thread Duncan
Martin Steigerwald posted on Thu, 23 May 2013 18:08:35 +0200 as excerpted: Am Dienstag, 21. Mai 2013, 13:19:31 schrieb Martin: Yep, ReiserFS has stood the test of time very well and I'm still using and abusing it still on various servers all the way from something like a decade ago! Very

Re: raid6: rmw writes all the time?

2013-05-24 Thread Bernd Schubert
Hello Chris, On 05/23/2013 10:33 PM, Chris Mason wrote: But I was using 8 drives. I'll try with 12. My benchmarks were on flash, so the rmw I was seeing may not have had as big an impact. I just further played with it and simply introduced a requeue in raid56_rmw_stripe() if the rbio is

Re: btrfs-tools: debian/patches/09-unaligned-memaccess.patch

2013-05-24 Thread David Sterba
On Wed, May 22, 2013 at 07:08:42AM +0200, Holger Fischer wrote: Dear BTRFS-Community, attached is a patch that probably could be applied upstream: It is ... Fixing unaligned memory accesses ... Details to this patch could be read under http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656955

Re: raid6: rmw writes all the time?

2013-05-24 Thread Chris Mason
Quoting Bernd Schubert (2013-05-24 04:35:37) Hello Chris, On 05/23/2013 10:33 PM, Chris Mason wrote: But I was using 8 drives. I'll try with 12. My benchmarks were on flash, so the rmw I was seeing may not have had as big an impact. I just further played with it and simply

Re: [PATCH 4/4] btrfs: offline dedupe

2013-05-24 Thread David Sterba
On Tue, May 21, 2013 at 11:28:28AM -0700, Mark Fasheh wrote: +static noinline int fill_data(struct inode *inode, u64 off, u64 len, + char **cur_buffer) +{ + struct page *page; + void *addr; + char *buffer; + pgoff_t index; + pgoff_t last_index;

[PATCH V2] xfstests: btrfs/309: sparse copy of a directory tree on btrfs

2013-05-24 Thread Eric Sandeen
From: Koen De Wit koen.de@oracle.com # Tests file clone functionality of btrfs (reflinks) on directory trees. # - Create directory and subdirectory, each having one file # - Create 2 recursive reflinked copies of the tree # - Modify the original files # - Modify one of the copies

[PATCH V2] xfstests: btrfs/306: simple sparse copy testcase for btrfs

2013-05-24 Thread Eric Sandeen
From: Koen De Wit koen.de@oracle.com # Tests file clone functionality of btrfs (reflinks): # - Reflink a file # - Reflink the reflinked file # - Modify the original file # - Modify the reflinked file [sandeen: add helpers, make several mostly-cosmetic changes to the original

Re: [PATCH 4/4] btrfs: offline dedupe

2013-05-24 Thread Mark Fasheh
Hey David, thanks again for the review! Comments are inline below. On Fri, May 24, 2013 at 04:05:36PM +0200, David Sterba wrote: On Tue, May 21, 2013 at 11:28:28AM -0700, Mark Fasheh wrote: +static noinline int fill_data(struct inode *inode, u64 off, u64 len, + char

Re: [PATCH 4/4] btrfs: offline dedupe

2013-05-24 Thread Gabriel de Perthuis
+#define BTRFS_MAX_DEDUPE_LEN (16 * 1024 * 1024) +#define BTRFS_ONE_DEDUPE_LEN (1 * 1024 * 1024) + +static long btrfs_ioctl_file_extent_same(struct file *file, +void __user *argp) +{ + struct btrfs_ioctl_same_args *args; + struct

Recommended settings for SSD

2013-05-24 Thread Leonidas Spyropoulos
Hello list, I just got myself a new SSD and decided to install yet another time btrfs with ubuntu 13.04. I would like to ask if you suggest anything for recommended options for mount on Crucial S4 SSD. At the moment I am using: defaults,noatime,nodiratime,ssd,subvol=@home Anything else someone

Re: Recommended settings for SSD

2013-05-24 Thread cwillu
At the moment I am using: defaults,noatime,nodiratime,ssd,subvol=@home No need to specify ssd, it's automatically detected. -- 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

Re: Recommended settings for SSD

2013-05-24 Thread Leonidas Spyropoulos
On 24 May 2013 21:07, cwillu cwi...@cwillu.com wrote: No need to specify ssd, it's automatically detected. I'm not so sure it did detected. When I manually set it I saw significant improvement. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

Re: [PATCH 4/4] btrfs: offline dedupe

2013-05-24 Thread Mark Fasheh
On Fri, May 24, 2013 at 09:50:14PM +0200, Gabriel de Perthuis wrote: Sure. Actually, you got me thinking about some sanity checks... I need to add at least this check: if (btrfs_root_readonly(root)) return -EROFS; which isn't in there as of now. It's not needed

Re: [PATCH 4/4] btrfs: offline dedupe

2013-05-24 Thread Gabriel de Perthuis
Le sam. 25 mai 2013 00:38:27 CEST, Mark Fasheh a écrit : On Fri, May 24, 2013 at 09:50:14PM +0200, Gabriel de Perthuis wrote: Sure. Actually, you got me thinking about some sanity checks... I need to add at least this check: if (btrfs_root_readonly(root)) return -EROFS;

Re: Recommended settings for SSD

2013-05-24 Thread Duncan
Leonidas Spyropoulos posted on Fri, 24 May 2013 23:38:17 +0100 as excerpted: On 24 May 2013 21:07, cwillu cwi...@cwillu.com wrote: No need to specify ssd, it's automatically detected. I'm not so sure it did detected. When I manually set it I saw significant improvement. Without going back