[PATCH] xfs: Introduce permanent async buffer write IO failures

Dave Chinner david at fromorbit.com
Thu Feb 19 17:02:29 CST 2015


On Thu, Feb 19, 2015 at 03:41:12PM -0600, Eric Sandeen wrote:
> On 2/19/15 8:28 AM, Brian Foster wrote:
> > On Thu, Feb 19, 2015 at 09:32:20AM +1100, Dave Chinner wrote:
> 
> ...
> 
> >> +	if (!(bp->b_flags & (XBF_STALE|XBF_WRITE_FAIL))) {
> >> +		bp->b_flags |= XBF_WRITE | XBF_ASYNC |
> >> +			       XBF_DONE | XBF_WRITE_FAIL;
> >> +		xfs_buf_submit(bp);
> >> +		return true;
> 
> so, shouldn't
> 
> 		xfs_buf_ioerror(bp, 0);
> 
> go under this conditional to address Brian's point... ok, you just responded to that. :)
> 
> FWIW, this is re-setting XBF_ASYNC which must already be set, right?

To be sure, to be sure.... ;)

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list