On 9/20/17 4:44 PM, Eric Sandeen wrote: > The conversion to iomap seems to have lost the ability to > conditionally /not/ prezero dax blocks. This leads to > double writes which cuts throughput in half in some > cases. > > This puts back the old conditional zeroing logic. > > Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> > --- > > I might be completely missing something here, i.e. whether > the change may have been intentional, etc. The patch is > only lightly tested but a which check here seems to DTRT. Whoops, dchinner tells me this is intentional to avoid a data exposure - sorry if I missed prior conversations about the issue. Self-NAK on this, I guess. -Eric