Reduce number of standalone barriers before waitqueue_active calls. Changes v3: * fix wrong use of the _nomb variant in tree-log.c:btrfs_sync_log, * update comments to be more specific about the waitqueue_active and barrier 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 | 28 ++++++++++++---------------- 10 files changed, 62 insertions(+), 85 deletions(-) -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
