[PATCH] xfs: buffer ->bi_end_io function requires irq-safe lock

Brian Foster bfoster at redhat.com
Fri Apr 15 13:28:28 CDT 2016


On Fri, Apr 15, 2016 at 11:08:20AM -0700, Christoph Hellwig wrote:
> How about just doing a cmpxchg on bi_error?

Hmm, good idea. Something like this I take it..?

	if (bio->bi_error)
		cmpxchg(&bp->b_io_error, 0, bio->bi_error);

Brian



More information about the xfs mailing list