Re: [PATCH v2 09/12] Btrfs: get rid of root->orphan_block_rsv and root->orphan_lock

2018-05-11 Thread Omar Sandoval
On Thu, May 10, 2018 at 11:48:28PM -0700, Omar Sandoval wrote: > On Fri, May 11, 2018 at 09:44:36AM +0300, Nikolay Borisov wrote: > > > > > > On 11.05.2018 03:11, Omar Sandoval wrote: > > > From: Omar Sandoval > > > > > > Now that we don't keep long-standing reservations for

Re: [PATCH v2 09/12] Btrfs: get rid of root->orphan_block_rsv and root->orphan_lock

2018-05-11 Thread Omar Sandoval
On Fri, May 11, 2018 at 09:44:36AM +0300, Nikolay Borisov wrote: > > > On 11.05.2018 03:11, Omar Sandoval wrote: > > From: Omar Sandoval > > > > Now that we don't keep long-standing reservations for orphan items, > > root->orphan_block_rsv isn't used. We can git rid of it and >

Re: [PATCH v2 09/12] Btrfs: get rid of root->orphan_block_rsv and root->orphan_lock

2018-05-11 Thread Nikolay Borisov
On 11.05.2018 03:11, Omar Sandoval wrote: > From: Omar Sandoval > > Now that we don't keep long-standing reservations for orphan items, > root->orphan_block_rsv isn't used. We can git rid of it and > root->orphan_lock, which was used to protect it. > > Signed-off-by: Omar

[PATCH v2 09/12] Btrfs: get rid of root->orphan_block_rsv and root->orphan_lock

2018-05-10 Thread Omar Sandoval
From: Omar Sandoval Now that we don't keep long-standing reservations for orphan items, root->orphan_block_rsv isn't used. We can git rid of it and root->orphan_lock, which was used to protect it. Signed-off-by: Omar Sandoval --- fs/btrfs/ctree.h | 5