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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux