commit | 110a21feedd78d398598d91be57db60e19b76fe0 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Mon Feb 26 15:43:18 2018 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon May 28 18:23:04 2018 +0200 |
tree | 800b5024cefc1e8a9678a0a9edbc3fa84ebada91 | |
parent | ff3d27a048d926b3920ccdb75d98788c567cae0d [diff] |
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>