On 22/06/2020 17:25, Goldwyn Rodrigues wrote: > diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c > index 07bc42d62673..88dc5aa70d1b 100644 > --- a/fs/zonefs/super.c > +++ b/fs/zonefs/super.c > @@ -715,7 +715,8 @@ static ssize_t zonefs_file_dio_write(struct kiocb *iocb, struct iov_iter *from) > ret = zonefs_file_dio_append(iocb, from); > else > ret = iomap_dio_rw(iocb, from, &zonefs_iomap_ops, > - &zonefs_write_dio_ops, sync); > + &zonefs_write_dio_ops, > + sync ? IOMAP_DIOF_WAIT_FOR_COMPLETION : 0); Not a huge fan of that construct above but for zonefs: Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>