All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.cz>, clm@fb.com
Subject: [PULL] [PATCH 0/4] Barriers + waitqueue_active fixes
Date: Tue, 24 Feb 2015 17:51:29 +0100	[thread overview]
Message-ID: <cover.1424795734.git.dsterba@suse.cz> (raw)

Hi,

I've noticed some missing smp_mb() in recent code before waitqueue_active and
did a broader audit. Fixed and documented the rest.

The first patch is a stable candidate but does not apply as-is due to changes
in 4.0-rc1.

---

The following changes since commit e57cf21e9787c081db4db6afa02e6e70112ee410:

  Btrfs: fix allocation size calculations in alloc_btrfs_bio (2015-02-20 06:55:15 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git fix/waitqueue-barriers

for you to fetch changes up to 1b127581ed4eb64dc941d2ecaba3174802870c07:

  btrfs: comment the rest of implicit barriers before waitqueue_active (2015-02-20 19:06:39 +0100)

----------------------------------------------------------------
David Sterba (4):
      btrfs: add missing barriers before waitqueue_active
      btrfs: add comments to barriers before waitqueue_active
      btrfs: remove extra barrier before waitqueue_active
      btrfs: comment the rest of implicit barriers before waitqueue_active

 fs/btrfs/compression.c   |  3 +++
 fs/btrfs/delayed-inode.c |  4 ++++
 fs/btrfs/dev-replace.c   |  9 ++++++++-
 fs/btrfs/disk-io.c       |  3 +++
 fs/btrfs/extent-tree.c   |  3 +--
 fs/btrfs/inode.c         |  3 +++
 fs/btrfs/locking.c       | 12 ++++++++++++
 fs/btrfs/ordered-data.c  |  6 ++++++
 fs/btrfs/raid56.c        | 17 ++++++++++++-----
 fs/btrfs/transaction.c   |  8 +++++++-
 fs/btrfs/tree-log.c      | 16 ++++++++++++++--
 fs/btrfs/volumes.c       |  3 +++
 12 files changed, 76 insertions(+), 11 deletions(-)

             reply	other threads:[~2015-02-24 16:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 16:51 David Sterba [this message]
2015-02-24 16:51 ` [PATCH 1/4] btrfs: add missing barriers before waitqueue_active David Sterba
2015-03-25 18:05   ` Chris Mason
2015-02-24 16:51 ` [PATCH 2/4] btrfs: add comments to " David Sterba
2015-02-24 16:51 ` [PATCH 3/4] btrfs: remove extra barrier " David Sterba
2015-02-24 16:51 ` [PATCH 4/4] btrfs: comment the rest of implicit barriers " David Sterba

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=cover.1424795734.git.dsterba@suse.cz \
    --to=dsterba@suse.cz \
    --cc=clm@fb.com \
    --cc=linux-btrfs@vger.kernel.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 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.