All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] block: export task_work_add()
@ 2022-01-07 11:00 Tetsuo Handa
  2022-01-07 11:04 ` [PATCH v2 2/2] loop: use task_work for autoclear operation Tetsuo Handa
  0 siblings, 1 reply; 24+ messages in thread
From: Tetsuo Handa @ 2022-01-07 11:00 UTC (permalink / raw)
  To: Jens Axboe, Christoph Hellwig, Jan Kara, Dan Schatzberg,
	kernel test robot, Jan Stancek
  Cc: linux-block

Export task_work_add() so that the loop driver can synchronously perform
autoclear operation without disk->open_mutex held.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
---
Changes in v2:
  Update patch description.

 kernel/task_work.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/task_work.c b/kernel/task_work.c
index 1698fbe6f0e1..2a1644189182 100644
--- a/kernel/task_work.c
+++ b/kernel/task_work.c
@@ -60,6 +60,7 @@ int task_work_add(struct task_struct *task, struct callback_head *work,
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(task_work_add);
 
 /**
  * task_work_cancel_match - cancel a pending work added by task_work_add()
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-01-20 15:42 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 11:00 [PATCH v2 1/2] block: export task_work_add() Tetsuo Handa
2022-01-07 11:04 ` [PATCH v2 2/2] loop: use task_work for autoclear operation Tetsuo Handa
2022-01-10  6:20   ` Jan Stancek
2022-01-10 10:30   ` Jan Kara
2022-01-10 11:28     ` Tetsuo Handa
2022-01-10 13:42       ` Jan Kara
2022-01-10 15:08         ` Tetsuo Handa
2022-01-12 13:16           ` Jan Kara
2022-01-12 14:00             ` Tetsuo Handa
2022-01-13 15:23               ` Jan Kara
2022-01-14 11:05                 ` Tetsuo Handa
2022-01-14 16:05                   ` Jan Kara
2022-01-13 10:44             ` Jan Kara
2022-01-14 15:50               ` Tetsuo Handa
2022-01-14 19:58                 ` Jan Kara
2022-01-15  0:34                   ` Tetsuo Handa
2022-01-17  8:15                     ` Christoph Hellwig
2022-01-17  9:34                       ` Tetsuo Handa
2022-01-17 14:10                         ` Tetsuo Handa
2022-01-18 15:58                           ` Tetsuo Handa
2022-01-18 16:15                             ` Christoph Hellwig
2022-01-20 14:20               ` Christoph Hellwig
2022-01-20 15:42                 ` Jan Kara
2022-01-10 16:40         ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.