Re: [PATCH 05/11] iomap: zero newly allocated mapped blocks

2019-10-07 Thread Dave Chinner
On Tue, Oct 08, 2019 at 08:46:32AM +1100, Dave Chinner wrote: > On Sun, Oct 06, 2019 at 05:46:02PM +0200, Christoph Hellwig wrote: > > File systems like gfs2 don't support delayed allocations or unwritten > > extents and thus allocate normal mapped blocks to fill holes. To > > cover the case of

Re: [PATCH 05/11] iomap: zero newly allocated mapped blocks

2019-10-07 Thread Dave Chinner
On Sun, Oct 06, 2019 at 05:46:02PM +0200, Christoph Hellwig wrote: > File systems like gfs2 don't support delayed allocations or unwritten > extents and thus allocate normal mapped blocks to fill holes. To > cover the case of such file systems allocating new blocks to fill holes > also zero out

[PATCH 05/11] iomap: zero newly allocated mapped blocks

2019-10-06 Thread Christoph Hellwig
File systems like gfs2 don't support delayed allocations or unwritten extents and thus allocate normal mapped blocks to fill holes. To cover the case of such file systems allocating new blocks to fill holes also zero out mapped blocks with the new flag. Signed-off-by: Christoph Hellwig

[PATCH 05/11] iomap: zero newly allocated mapped blocks

2019-10-01 Thread Christoph Hellwig
File systems like gfs2 don't support delayed allocations or unwritten extents and thus allocate normal mapped blocks to fill holes. To cover the case of such file systems allocating new blocks to fill holes also zero out mapped blocks with the new flag. Signed-off-by: Christoph Hellwig