Re: [PATCH] Btrfs: don't be as agressive with delalloc metadata reservations V2

2011-07-21 Thread Christian Brunner
2011/7/18 Josef Bacik jo...@redhat.com: On 07/18/2011 02:11 PM, Josef Bacik wrote: Currently we reserve enough space to COW an entirely full btree for every extent we have reserved for an inode.  This _sucks_, because you only need to COW once, and then everybody else is ok.  Unfortunately

[PATCH] Btrfs: don't be as agressive with delalloc metadata reservations V2

2011-07-18 Thread Josef Bacik
Currently we reserve enough space to COW an entirely full btree for every extent we have reserved for an inode. This _sucks_, because you only need to COW once, and then everybody else is ok. Unfortunately we don't know we'll all be able to get into the same transaction so that's what we have

Re: [PATCH] Btrfs: don't be as agressive with delalloc metadata reservations V2

2011-07-18 Thread Josef Bacik
On 07/18/2011 02:11 PM, Josef Bacik wrote: Currently we reserve enough space to COW an entirely full btree for every extent we have reserved for an inode. This _sucks_, because you only need to COW once, and then everybody else is ok. Unfortunately we don't know we'll all be able to