Re: [PATCH] Btrfs: send, fix missing truncate for inode with prealloc extent past eof

2018-05-01 Thread David Sterba
On Mon, Apr 30, 2018 at 07:05:07PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > An incremental send operation can miss a truncate operation when an inode > has an increased size in the send snapshot and a prealloc extent beyond > its size. > > Consider the

[PATCH] Btrfs: send, fix missing truncate for inode with prealloc extent past eof

2018-04-30 Thread fdmanana
From: Filipe Manana An incremental send operation can miss a truncate operation when an inode has an increased size in the send snapshot and a prealloc extent beyond its size. Consider the following scenario where a necessary truncate operation is missing in the incremental