dax: Add a wakeup mode parameter to put_unlocked_entry()
authorVivek Goyal <vgoyal@redhat.com>
Wed, 28 Apr 2021 19:03:13 +0000 (15:03 -0400)
committerDan Williams <dan.j.williams@intel.com>
Fri, 7 May 2021 22:55:44 +0000 (15:55 -0700)
commit4c3d043d271d4d629aa2328796cdfc96b37d3b3c
tree65ae9da204afea8adc3ef02d9981807f2144a0fa
parent698ab77aebffe08b312fbcdddeb0e8bd08b78717
dax: Add a wakeup mode parameter to put_unlocked_entry()

As of now put_unlocked_entry() always wakes up next waiter. In next
patches we want to wake up all waiters at one callsite. Hence, add a
parameter to the function.

This patch does not introduce any change of behavior.

Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Link: https://lore.kernel.org/r/20210428190314.1865312-3-vgoyal@redhat.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c