]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: introduce conditional wakeup helpers
authorDavid Sterba <dsterba@suse.com>
Mon, 26 Feb 2018 14:43:18 +0000 (15:43 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:04 +0000 (18:23 +0200)
commitfad9325f1900868295807c9f3f1d8b5d9cd4429f
tree800b5024cefc1e8a9678a0a9edbc3fa84ebada91
parent05bf92fb8df29acbad92b94713b42524935e3302
btrfs: introduce conditional wakeup helpers

Add convenience wrappers for the waitqueue management that involves
memory barriers to prevent deadlocks. The helpers will let us remove
barriers and the necessary comments in several places.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h