Re: [PATCH] Btrfs: igrab inode in writepage

2015-10-22 Thread Liu Bo
On 10/23/2015 03:05 AM, Josef Bacik wrote: We hit this panic on a few of our boxes this week where we have an ordered_extent with an NULL inode. We do an igrab() of the inode in writepages, but weren't doing it in writepage which can be called directly from the VM on dirty pages. If the inode h

[PATCH] Btrfs: igrab inode in writepage

2015-10-22 Thread Josef Bacik
We hit this panic on a few of our boxes this week where we have an ordered_extent with an NULL inode. We do an igrab() of the inode in writepages, but weren't doing it in writepage which can be called directly from the VM on dirty pages. If the inode has been unlinked then we could have I_FREEING