From: Brian Foster <bfoster@redhat.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xfs: buffer ->bi_end_io function requires irq-safe lock
Date: Fri, 15 Apr 2016 14:28:28 -0400 [thread overview]
Message-ID: <20160415182828.GA39792@bfoster.bfoster> (raw)
In-Reply-To: <20160415180820.GA20260@infradead.org>
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@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2016-04-15 18:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 16:08 [PATCH] xfs: buffer ->bi_end_io function requires irq-safe lock Brian Foster
2016-04-15 18:08 ` Christoph Hellwig
2016-04-15 18:28 ` Brian Foster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160415182828.GA39792@bfoster.bfoster \
--to=bfoster@redhat.com \
--cc=hch@infradead.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.