Re: [PATCH v7 15/22] dax: set errors in mapping when writeback fails

2017-06-19 Thread Ross Zwisler
On Sat, Jun 17, 2017 at 08:39:53AM -0400, Jeff Layton wrote: > On Fri, 2017-06-16 at 15:34 -0400, Jeff Layton wrote: > > Jan Kara's description for this patch is much better than mine, so I'm > > quoting it verbatim here: > > > > DAX currently doesn't set errors in the mapping when cache flushing

Re: [PATCH v7 15/22] dax: set errors in mapping when writeback fails

2017-06-17 Thread Jeff Layton
On Fri, 2017-06-16 at 15:34 -0400, Jeff Layton wrote: > Jan Kara's description for this patch is much better than mine, so I'm > quoting it verbatim here: > > DAX currently doesn't set errors in the mapping when cache flushing > fails in dax_writeback_mapping_range(). Since this function can get >

[PATCH v7 15/22] dax: set errors in mapping when writeback fails

2017-06-16 Thread Jeff Layton
Jan Kara's description for this patch is much better than mine, so I'm quoting it verbatim here: DAX currently doesn't set errors in the mapping when cache flushing fails in dax_writeback_mapping_range(). Since this function can get called only from fsync(2) or sync(2), this is actually as good as