From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Dongli Zhang <dongli.zhang@oracle.com>,
xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org
Cc: julien@xen.org, jgross@suse.com, sstabellini@kernel.org,
joe.jin@oracle.com
Subject: Re: [PATCH v3 2/2] xenbus: req->err should be updated before req->state
Date: Fri, 6 Mar 2020 06:13:28 -0500 [thread overview]
Message-ID: <d8e5b63a-a166-590b-e8ac-3a560b2930c8@oracle.com> (raw)
In-Reply-To: <20200303221423.21962-2-dongli.zhang@oracle.com>
On 3/3/20 5:14 PM, Dongli Zhang wrote:
> This patch adds the barrier to guarantee that req->err is always updated
> before req->state.
>
> Otherwise, read_reply() would not return ERR_PTR(req->err) but
> req->body, when process_writes()->xb_write() is failed.
>
> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Applied to for-linus-5.6b.
-boris
next prev parent reply other threads:[~2020-03-06 11:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-03 22:14 [PATCH v3 1/2] xenbus: req->body " Dongli Zhang
2020-03-03 22:14 ` [PATCH v3 2/2] xenbus: req->err " Dongli Zhang
2020-03-04 13:50 ` Julien Grall
2020-03-06 11:13 ` Boris Ostrovsky [this message]
2020-03-04 13:50 ` [PATCH v3 1/2] xenbus: req->body " Julien Grall
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=d8e5b63a-a166-590b-e8ac-3a560b2930c8@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=dongli.zhang@oracle.com \
--cc=jgross@suse.com \
--cc=joe.jin@oracle.com \
--cc=julien@xen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/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
all inboxes | Powered by JetHome®