diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-12-21 11:35:53 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-12-21 11:35:53 -0800 |
commit | d8a706414af4827fc0b4b1c0c631c607351938b9 (patch) | |
tree | 391f47712243481ab637dfb0ba4a9c73aea99d54 /fs/f2fs/segment.h | |
parent | 7566ec393f4161572ba6f11ad5171fd5d59b0fbd (diff) | |
download | linux-d8a706414af4827fc0b4b1c0c631c607351938b9.tar.bz2 |
dax: Use non-exclusive wait in wait_entry_unlocked()
get_unlocked_entry() uses an exclusive wait because it is guaranteed to
eventually obtain the lock and follow on with an unlock+wakeup cycle.
The wait_entry_unlocked() path does not have the same guarantee. Rather
than open-code an extra wakeup, just switch to a non-exclusive wait.
Cc: Jan Kara <jack@suse.cz>
Cc: Matthew Wilcox <willy@infradead.org>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions