Re: [PATCH] Btrfs: clone, don't create invalid hole extent map

2014-08-11 Thread Satoru Takeuchi
(2014/08/08 10:47), Filipe Manana wrote: > When cloning a file that consists of an inline extent, we were creating > an extent map that represents a non-existing trailing hole starting at a > file offset that isn't a multiple of the sector size. This happened because > when processing an inline ext

[PATCH] Btrfs: clone, don't create invalid hole extent map

2014-08-07 Thread Filipe Manana
When cloning a file that consists of an inline extent, we were creating an extent map that represents a non-existing trailing hole starting at a file offset that isn't a multiple of the sector size. This happened because when processing an inline extent we weren't aligning the extent's length to th