From: David Howells <dhowells@redhat.com>
To: George Wang <xuw2015@gmail.com>
Cc: dhowells@redhat.com, linux-btrfs@vger.kernel.org
Subject: Re: btrfs/078 may got stuck in the __wait_on_atomic_t
Date: Fri, 24 Apr 2015 15:03:11 +0100 [thread overview]
Message-ID: <30330.1429884191@warthog.procyon.org.uk> (raw)
In-Reply-To: <CAPBX1xJsZ+spTHNLhq+vyHt_ex_wjPGoz6H8fsV3=faNJ0jJyw@mail.gmail.com>
George Wang <xuw2015@gmail.com> wrote:
> + do {
> + prepare_to_wait(wq, &q->wait, mode);
> + val = q->key.flags;
> + if (atomic_read(val) == 0)
> + ret = (*action)(val);
> + } while (!ret && atomic_read(val) != 0);
This isn't what's in the upstream kernel now. See commit
42577ca8c3616baaafdd8f167b2e1fb959026081.
David
prev parent reply other threads:[~2015-04-24 14:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 12:08 btrfs/078 may got stuck in the __wait_on_atomic_t George Wang
2015-04-24 14:03 ` David Howells [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=30330.1429884191@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=xuw2015@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).