Re: [PATCH v3 1/2] Return a value from printk_ratelimited

2014-09-27 Thread Omar Sandoval
On Fri, Sep 26, 2014 at 10:48:11PM -0700, Joe Perches wrote: I'd prefer to keep it the way it is actually. I've submitted several patches to convert the int return to void for printk derived functions recently. Alright, it doesn't seem like anyone feels strongly for keeping the return

[PATCH] Move BTRFS RCU string to common library

2014-09-27 Thread Omar Sandoval
The RCU-friendly string API used internally by BTRFS is generic enough for common use. This doesn't add any new functionality, but instead just moves the code and documents the existing API. Signed-off-by: Omar Sandoval osan...@osandov.com Reviewed-by: Josh Triplett j...@joshtriplett.org

Re: Backup: Compare sent snapshots

2014-09-27 Thread G EO
What I had in mind was this (again, with the caveat that I'm not actually using send/receive myself, so I'd suggest testing or getting confirmation from someone that is, before depending on this): On the main filesystem, you did the first full send, we'll call it A. Then you did an

BTRFS backup questions

2014-09-27 Thread James Pharaoh
Hi, I'm trying to build a backup solution for a highly virtualized server environment, based on BTRFS. I have a lot of questions which I can't find the answers to, and have included some of the most important ones here. 1. Simultaneous snapshots I would really like to snapshot multiple

Re: BTRFS backup questions

2014-09-27 Thread Hugo Mills
On Sat, Sep 27, 2014 at 05:39:07PM +0200, James Pharaoh wrote: Hi, I'm trying to build a backup solution for a highly virtualized server environment, based on BTRFS. I have a lot of questions which I can't find the answers to, and have included some of the most important ones here. 1.

Wiki bug re. metadata_ratio mount option

2014-09-27 Thread Holger Hoffstätte
The wiki page https://btrfs.wiki.kernel.org/index.php/Mount_options has outdated information regarding the metadata-ratio option. It says: metadata_ratio=number Sets the number of data chunks that need to be allocated to force a metadata chunk allocation. By default this is set to 8

Re: BTRFS backup questions

2014-09-27 Thread James Pharaoh
On 27/09/14 18:17, Hugo Mills wrote: On Sat, Sep 27, 2014 at 05:39:07PM +0200, James Pharaoh wrote: 2. Duplicating NOCOW files This is obviously possible, since it takes place when you make a snapshot. So why can't I create a clone of a snapshot of a NOCOW file? I am hoping the answer to

Re: BTRFS backup questions

2014-09-27 Thread Hugo Mills
On Sat, Sep 27, 2014 at 06:33:58PM +0200, James Pharaoh wrote: On 27/09/14 18:17, Hugo Mills wrote: On Sat, Sep 27, 2014 at 05:39:07PM +0200, James Pharaoh wrote: 2. Duplicating NOCOW files This is obviously possible, since it takes place when you make a snapshot. So why can't I create a

3.16.3 btrfs receive dies with rename o4736059-335172-0 - merlin/RC/OSD failed. Directory not empty machine

2014-09-27 Thread Marc MERLIN
Hi Filipe and others, After I moved directories around, and since then my hourly btrfs backup is failing. Does this output help? Is there a patch you'd like me to try, or should I just work around the problem by deleting all these directories and recreating in 2 steps to get around the bug?

Help Out

2014-09-27 Thread nick
Hello Fellow Developers, I am wondering where I can start helping out with the btrfs code base and user space tools. If someone has any ideas that would be very helpful as I would like to help but don't known where to get started. Regards Nick -- To unsubscribe from this list: send the line

Re: Backup: Compare sent snapshots

2014-09-27 Thread Duncan
G EO posted on Sat, 27 Sep 2014 12:01:22 +0200 as excerpted: What I had in mind was this [...]: On the main filesystem, you did the first full send, we'll call it A. Then you did an incremental send with a new snapshot, B, using A as its parent, and later another, C, using B as its parent.