summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2018-12-21 11:35:53 -0800
committerDan Williams <dan.j.williams@intel.com>2018-12-21 11:35:53 -0800
commitd8a706414af4827fc0b4b1c0c631c607351938b9 (patch)
tree391f47712243481ab637dfb0ba4a9c73aea99d54 /fs/f2fs/segment.h
parent7566ec393f4161572ba6f11ad5171fd5d59b0fbd (diff)
downloadlinux-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