Re: [PATCH 1/3] btrfs: fix race with relocation recovery and fs_root setup

2017-05-19 Thread David Sterba
On Thu, May 18, 2017 at 04:58:19PM -0700, Liu Bo wrote: > On Wed, May 17, 2017 at 11:38:34AM -0400, je...@suse.com wrote: > > From: Jeff Mahoney > > > > If we have to recover relocation during mount, we'll ultimately have to > > evict the orphan inode. That goes through the

Re: [PATCH 1/3] btrfs: fix race with relocation recovery and fs_root setup

2017-05-18 Thread Liu Bo
On Wed, May 17, 2017 at 11:38:34AM -0400, je...@suse.com wrote: > From: Jeff Mahoney > > If we have to recover relocation during mount, we'll ultimately have to > evict the orphan inode. That goes through the reservation dance, where > priority_reclaim_metadata_space and

[PATCH 1/3] btrfs: fix race with relocation recovery and fs_root setup

2017-05-17 Thread jeffm
From: Jeff Mahoney If we have to recover relocation during mount, we'll ultimately have to evict the orphan inode. That goes through the reservation dance, where priority_reclaim_metadata_space and flush_space expect fs_info->fs_root to be valid. That's the next thing to be set