Thread (43 messages) 43 messages, 3 authors, 2014-08-30

Re: [PATCH 5/9] xfs: xfs_bioerror can die.

From: Christoph Hellwig <hch@infradead.org>
Date: 2014-08-29 00:28:29

On Fri, Aug 15, 2014 at 04:39:03PM +1000, Dave Chinner wrote:
Internal buffer write error handling is a mess due to the unnatural
split between xfs_bioerror and xfs_bioerror_relse(). The buffer
reference counting is also wrong for the xfs_bioerror path for
xfs_bwrite - it uses sync IO and so xfs_buf_ioend will release a
hold count that was never taken.
Which seems to be cause by patch 1 in the series, and thus the
additional hold for the error case should be introduced there.

Otherwise this looks good to me.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help