Files
linux-stable-mirror/include/linux
David Howells 31fc366aa7 netfs: Drop the was_async arg from netfs_read_subreq_terminated()
Drop the was_async argument from netfs_read_subreq_terminated().  Almost
every caller is either in process context and passes false.  Some
filesystems delegate the call to a workqueue to avoid doing the work in
their network message queue parsing thread.

The only exception is netfs_cache_read_terminated() which handles
completion in the cache - which is usually a callback from the backing
filesystem in softirq context, though it can be from process context if an
error occurred.  In this case, delegate to a workqueue.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/CAHk-=wiVC5Cgyz6QKXFu6fTaA6h4CjexDR-OV9kL6Vo5x9v8=A@mail.gmail.com/
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-10-dhowells@redhat.com
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-12-20 22:34:03 +01:00
..
2024-11-22 21:32:25 +01:00
2024-11-11 10:45:03 +01:00
2024-11-11 09:06:45 -07:00
2024-11-07 14:38:07 -08:00
2024-11-05 13:32:21 +01:00
2024-11-09 14:55:33 +01:00
2024-11-24 17:05:27 -08:00
2024-11-05 16:56:26 -08:00
2024-11-05 16:56:26 -08:00
2024-11-16 10:09:30 -06:00
2024-11-05 12:55:38 +01:00
2024-11-03 21:13:21 +01:00
2024-11-05 17:12:31 -08:00
2024-11-30 22:41:35 -05:00
2024-11-11 00:26:44 -08:00
2024-11-06 12:59:44 -05:00
2024-11-18 11:56:21 +00:00
2024-11-06 12:59:44 -05:00