Re: [PATCH] Btrfs: hold enough space for global_rsv

2012-03-10 Thread Johannes Hirte
Am Fri, 09 Mar 2012 09:28:56 +0800 schrieb Liu Bo liubo2...@cn.fujitsu.com: On 03/09/2012 03:22 AM, Johannes Hirte wrote: Am Tue, 6 Mar 2012 14:50:32 +0100 schrieb Johannes Hirte johannes.hi...@fem.tu-ilmenau.de: I've backed up the filesystem, deleted the subvolumes, recreated them

Re: [PATCH] Btrfs: hold enough space for global_rsv

2012-03-08 Thread Johannes Hirte
Am Tue, 6 Mar 2012 14:50:32 +0100 schrieb Johannes Hirte johannes.hi...@fem.tu-ilmenau.de: I've backed up the filesystem, deleted the subvolumes, recreated them and copied the data back. Now everything seems to work again. I've also a full image of the damaged filesystem for further

Re: [PATCH] Btrfs: hold enough space for global_rsv

2012-03-08 Thread Liu Bo
On 03/09/2012 03:22 AM, Johannes Hirte wrote: Am Tue, 6 Mar 2012 14:50:32 +0100 schrieb Johannes Hirte johannes.hi...@fem.tu-ilmenau.de: I've backed up the filesystem, deleted the subvolumes, recreated them and copied the data back. Now everything seems to work again. I've also a full image

Re: [PATCH] Btrfs: hold enough space for global_rsv

2012-03-06 Thread Johannes Hirte
Am Tue, 28 Feb 2012 10:06:14 +0800 schrieb Liu Bo liubo2...@cn.fujitsu.com: On 02/27/2012 09:29 PM, Johannes Hirte wrote: Am Tue, 17 Jan 2012 17:51:59 +0800 schrieb Liu Bo liubo2...@cn.fujitsu.com: I've kept hitting enospc warnings of global_rsv while running defragment on files:

Re: [PATCH] Btrfs: hold enough space for global_rsv

2012-02-27 Thread Johannes Hirte
Am Tue, 17 Jan 2012 17:51:59 +0800 schrieb Liu Bo liubo2...@cn.fujitsu.com: I've kept hitting enospc warnings of global_rsv while running defragment on files: btrfs: block rsv returned -28 WARNING: at fs/btrfs/extent-tree.c:5984 btrfs_alloc_free_block+0x333/0x340 [btrfs]() ... I used a

Re: [PATCH] Btrfs: hold enough space for global_rsv

2012-02-27 Thread Liu Bo
On 02/27/2012 09:29 PM, Johannes Hirte wrote: Am Tue, 17 Jan 2012 17:51:59 +0800 schrieb Liu Bo liubo2...@cn.fujitsu.com: I've kept hitting enospc warnings of global_rsv while running defragment on files: btrfs: block rsv returned -28 WARNING: at fs/btrfs/extent-tree.c:5984

Re: [PATCH] Btrfs: hold enough space for global_rsv

2012-01-27 Thread Chris Mason
On Tue, Jan 17, 2012 at 05:51:59PM +0800, Liu Bo wrote: I've kept hitting enospc warnings of global_rsv while running defragment on files: btrfs: block rsv returned -28 WARNING: at fs/btrfs/extent-tree.c:5984 btrfs_alloc_free_block+0x333/0x340 [btrfs]() ... I used a fio jobs to create a

[PATCH] Btrfs: hold enough space for global_rsv

2012-01-17 Thread Liu Bo
I've kept hitting enospc warnings of global_rsv while running defragment on files: btrfs: block rsv returned -28 WARNING: at fs/btrfs/extent-tree.c:5984 btrfs_alloc_free_block+0x333/0x340 [btrfs]() ... I used a fio jobs to create a file with lots of fragments: $ filefrag /mnt/btrfs/foobar