Re: [PATCH v2 5/9] dax: set error in mapping when writeback fails

From: Ross Zwisler
Date: Thu Mar 09 2017 - 19:21:13 EST


On Wed, Mar 08, 2017 at 11:29:30AM -0500, Jeff Layton wrote:
> In order to get proper error codes from fsync, we must set an error in
> the mapping range when writeback fails.
>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>

Yep, paired with the changes to filmap_write_and_wait() and
filemap_write_and_wait_range(), this seems fine.

Reviewed-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>