xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Matt Wilson <msw@amazon.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Joe Jin <joe.jin@oracle.com>, Matt Wilson <msw@amazon.com>,
	xen-devel@lists.xen.org
Subject: [RFC] [PATCH] add locking in statistics sysfs show functions
Date: Fri, 20 Apr 2012 19:21:12 +0000	[thread overview]
Message-ID: <1334949673-25632-1-git-send-email-msw@amazon.com> (raw)

The blkback code in the 2.6.18 tree has a patch to avoid a race condition
in the statistics sysfs routines. Is it no longer needed? The following
patch ports the change to 3.x.

Matt Wilson (1):
  xen/blkback: add locking in statistics sysfs show functions

 drivers/block/xen-blkback/xenbus.c |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

-- 
1.7.2.5

             reply	other threads:[~2012-04-20 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 19:21 Matt Wilson [this message]
2012-04-20 19:21 ` [RFC] [PATCH] xen/blkback: add locking in statistics sysfs show functions Matt Wilson
2012-04-26 20:51   ` Konrad Rzeszutek Wilk
2012-04-27  2:24   ` Konrad Rzeszutek Wilk
2012-04-27 16:30     ` Matt Wilson

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=1334949673-25632-1-git-send-email-msw@amazon.com \
    --to=msw@amazon.com \
    --cc=joe.jin@oracle.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).