]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d7562cfbebe7453e4506f313437b819098cc722
tree65ae9da204afea8adc3ef02d9981807f2144a0fa
parentd9a5003aebaef8a8d42eb241eb12156e6ad95f95
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