Re: [PATCH] Btrfs: fix assertion failure on fsync with NO_HOLES enabled

2019-03-21 Thread David Sterba
On Tue, Mar 19, 2019 at 05:18:13PM +, fdman...@kernel.org wrote: > From: Filipe Manana > > Back in commit a89ca6f24ffe4 ("Btrfs: fix fsync after truncate when > no_holes feature is enabled") I added an assertion that is triggered when > an inline extent is found to assert that the length of t

[PATCH] Btrfs: fix assertion failure on fsync with NO_HOLES enabled

2019-03-19 Thread fdmanana
From: Filipe Manana Back in commit a89ca6f24ffe4 ("Btrfs: fix fsync after truncate when no_holes feature is enabled") I added an assertion that is triggered when an inline extent is found to assert that the length of the (uncompressed) data the extent represents is the same as the i_size of the i