Re: [PATCH] Btrfs: dynamically remove unused block groups

2010-11-30 Thread Josh Berry
On Tue, Nov 30, 2010 at 08:46, Josef Bacik jo...@redhat.com wrote: Btrfs only allocates chunks as we need them, however we do not delete chunks as we stop using them.  This patch adds this capability.  Whenever we clear the last bit of used space in a block group we try and mark it read only,

Re: [PATCH] Btrfs: dynamically remove unused block groups

2010-11-30 Thread Josh Berry
On Tue, Nov 30, 2010 at 11:01, Josef Bacik jo...@redhat.com wrote: On Tue, Nov 30, 2010 at 09:37:17AM -0800, Josh Berry wrote: On Tue, Nov 30, 2010 at 08:46, Josef Bacik jo...@redhat.com wrote: Btrfs only allocates chunks as we need them, however we do not delete chunks as we stop using

Unhelpful error message from btrfs tool

2010-11-11 Thread Josh Berry
Hi, I have a cron script that runs periodically, taking new snapshots and cleaning up old ones when space gets low on my filesystem. This morning, the script suddenly stopped being able to remove snapshots. When I tried to remove one manually, I got the following: # btrfs subvol del

Re: Unhelpful error message from btrfs tool

2010-11-11 Thread Josh Berry
On Thu, Nov 11, 2010 at 12:10, C Anthony Risinger anth...@extof.me wrote: On Thu, Nov 11, 2010 at 2:04 PM, Josh Berry d...@condordes.net wrote: Hi, I have a cron script that runs periodically, taking new snapshots and cleaning up old ones when space gets low on my filesystem.  This morning

Re: Unhelpful error message from btrfs tool

2010-11-11 Thread Josh Berry
On Thu, Nov 11, 2010 at 12:32, Goffredo Baroncelli kreij...@libero.it wrote: On Thursday, 11 November, 2010, Josh Berry wrote: Hi, I have a cron script that runs periodically, taking new snapshots and cleaning up old ones when space gets low on my filesystem.  This morning, the script

Re: Updating the wiki pages adding btrfs command [Was Re: reserving an IOCTL number; other details]

2010-09-15 Thread Josh Berry
On Wed, Sep 15, 2010 at 07:10, David Nicol davidni...@gmail.com wrote: Does the manpatch below describe an acceptable API for a hook to a facility for waiting for the completion of deleted snapshot cleanup? ... +\fBfilesystem GC\fR\fI path [ms] \fR +wait for completion of salvage of deleted

Re: Updating the wiki pages adding btrfs command

2010-09-15 Thread Josh Berry
On Wed, Sep 15, 2010 at 14:07, Chris Ball c...@laptop.org wrote: Hi,   adding a --wait or --sync switch to the delete command is   certainly possible, you'd want to add it to the last in a series   of deletes. I think this (--sync) is a much better idea than the alternatives so far. Or

Re: Updating the wiki pages adding btrfs command

2010-09-15 Thread Josh Berry
On Wed, Sep 15, 2010 at 14:52, Chris Ball c...@laptop.org wrote: Hi,   Or make --sync the default behavior.  This is probably what most   people are expecting anyway (similar to how standard filesystem   commands like rm work).  Add an --aysnc option for those that   only care about

Re: Updating the wiki pages adding btrfs command

2010-09-15 Thread Josh Berry
On Wed, Sep 15, 2010 at 15:37, Chris Ball c...@laptop.org wrote: ...   Why not just do:   # btrfs subvolume delete /path/to/subvolume1   # btrfs subvolume delete /path/to/subvolume2   # sync Or even better, btrfs filesystem sync path. I'm assuming that the caller wants to wait until

Re: [RFC] Move all btrfs command to only one command

2010-08-20 Thread Josh Berry
On Fri, Aug 20, 2010 at 11:34, Andreas Philipp philipp.andr...@gmail.com wrote:  On 20.08.2010 20:27, Josh Berry wrote: On Fri, Aug 20, 2010 at 05:03, Goffredo Baroncellikreij...@gmail.com  wrote: On Thursday, 19 August, 2010, James Smith wrote: This patch randomizes the error codes

Re: [RFC] Move all btrfs command to only one command

2010-08-20 Thread Josh Berry
On Fri, Aug 20, 2010 at 12:00, Andreas Philipp philipp.andr...@gmail.com wrote:  On 20.08.2010 20:49, Josh Berry wrote: On Fri, Aug 20, 2010 at 11:34, Andreas Philipp philipp.andr...@gmail.com  wrote:  On 20.08.2010 20:27, Josh Berry wrote: On Fri, Aug 20, 2010 at 05:03, Goffredo

Re: new benchmark btrfs 0.19 vs. ext4

2009-07-07 Thread Josh Berry
On Tue, Jul 7, 2009 at 17:06, Morten P.D. Stevensmstev...@win-professional.com wrote: Hi Brian, thanks for the chart. Here are the results visually for all: http://www2.win-professional.com/images2/btrfs01.png http://www2.win-professional.com/images2/btrfs02.png What are the units? Are