Re: [PATCH] Btrfs: handle pending renames with recycled inodes properly

2016-08-24 Thread Josef Bacik
On 08/24/2016 05:07 AM, Filipe Manana wrote: On Tue, Aug 23, 2016 at 6:22 PM, Josef Bacik wrote: Suppose you have the following tree in snap1 on a file system mounted with -o inode_cache so that inode numbers are recycled └── [258] a └── [257] b and then you remove b, rename a t

Re: [PATCH] Btrfs: handle pending renames with recycled inodes properly

2016-08-24 Thread Filipe Manana
On Tue, Aug 23, 2016 at 6:22 PM, Josef Bacik wrote: > Suppose you have the following tree in snap1 on a file system mounted with -o > inode_cache so that inode numbers are recycled > > └── [258] a > └── [257] b > > and then you remove b, rename a to c, and then re-create b in c so yo

[PATCH] Btrfs: handle pending renames with recycled inodes properly

2016-08-23 Thread Josef Bacik
Suppose you have the following tree in snap1 on a file system mounted with -o inode_cache so that inode numbers are recycled └── [258] a └── [257] b and then you remove b, rename a to c, and then re-create b in c so you have the following tree └── [258] c └── [257] b