public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Cleanup waitqueue_active and barriers
@ 2018-04-24 13:10 David Sterba
  2018-04-24 13:10 ` [PATCH v2 1/3] btrfs: introduce conditional wakeup helpers David Sterba
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Sterba @ 2018-04-24 13:10 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Reduce number of standalone barriers before waitqueue_active calls.

Changes v2:
* add 2 barriers to btrfs_sync_log and do not assume they're implied,
  (pointed out by Nikolay)

git://github.com/kdave/btrfs-devel.git cleanup/cond-wake

David Sterba (3):
  btrfs: introduce conditional wakeup helpers
  btrfs: add barriers to btrfs_sync_log before log_commit_wait wakeups
  btrfs: replace waitqueue_actvie with cond_wake_up

 fs/btrfs/compression.c   |  7 +------
 fs/btrfs/ctree.h         | 22 ++++++++++++++++++++++
 fs/btrfs/delayed-inode.c |  9 +++------
 fs/btrfs/dev-replace.c   | 10 ++++------
 fs/btrfs/extent-tree.c   |  7 +------
 fs/btrfs/inode.c         |  9 +++------
 fs/btrfs/locking.c       | 34 +++++++++++-----------------------
 fs/btrfs/ordered-data.c  | 14 ++++----------
 fs/btrfs/transaction.c   |  7 +------
 fs/btrfs/tree-log.c      | 29 +++++++++++++----------------
 10 files changed, 63 insertions(+), 85 deletions(-)

-- 
2.16.2


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

end of thread, other threads:[~2018-04-24 13:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-24 13:10 [PATCH v2 0/3] Cleanup waitqueue_active and barriers David Sterba
2018-04-24 13:10 ` [PATCH v2 1/3] btrfs: introduce conditional wakeup helpers David Sterba
2018-04-24 13:11 ` [PATCH v2 2/3] btrfs: add barriers to btrfs_sync_log before log_commit_wait wakeups David Sterba
2018-04-24 13:11 ` [PATCH v2 3/3] btrfs: replace waitqueue_actvie with cond_wake_up David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox