linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PULL] [PATCH 0/4] Barriers + waitqueue_active fixes
@ 2015-02-24 16:51 David Sterba
  2015-02-24 16:51 ` [PATCH 1/4] btrfs: add missing barriers before waitqueue_active David Sterba
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Sterba @ 2015-02-24 16:51 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba, clm

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-25 18:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 16:51 [PULL] [PATCH 0/4] Barriers + waitqueue_active fixes David Sterba
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

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).