Re: [PATCH 1/1] btrfs: Fix NO_SPACE bug caused by delayed-iput

2015-03-18 Thread David Sterba
On Fri, Feb 27, 2015 at 09:21:43AM +0800, Zhao Lei wrote: > Hi, David Sterba > > * From: David Sterba [mailto:dste...@suse.cz] > > Sent: Friday, February 27, 2015 6:29 AM > > To: Zhaolei > > Cc: linux-btrfs@vger.kernel.org > > Subject: Re: [PATCH 1/1] btrfs: F

RE: [PATCH 1/1] btrfs: Fix NO_SPACE bug caused by delayed-iput

2015-02-26 Thread Zhao Lei
Hi, David Sterba * From: David Sterba [mailto:dste...@suse.cz] > Sent: Friday, February 27, 2015 6:29 AM > To: Zhaolei > Cc: linux-btrfs@vger.kernel.org > Subject: Re: [PATCH 1/1] btrfs: Fix NO_SPACE bug caused by delayed-iput > > On Thu, Feb 26, 2015 at 11:20:23AM +0

Re: [PATCH 1/1] btrfs: Fix NO_SPACE bug caused by delayed-iput

2015-02-26 Thread David Sterba
On Thu, Feb 26, 2015 at 11:20:23AM +0800, Zhaolei wrote: > --- a/fs/btrfs/transaction.c > +++ b/fs/btrfs/transaction.c > @@ -2068,8 +2068,12 @@ int btrfs_commit_transaction(struct btrfs_trans_handle > *trans, > > kmem_cache_free(btrfs_trans_handle_cachep, trans); > > - if (current !=