]> www.infradead.org Git - users/dwmw2/linux.git/commit
netfs: Use mempools for allocating requests and subrequests
authorDavid Howells <dhowells@redhat.com>
Fri, 15 Mar 2024 14:37:18 +0000 (14:37 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:07:35 +0000 (18:07 +0100)
commitd9f85a04fb0eee0171f451fb4c4875b8a00eeaec
tree30935966ca56f7553101318e867ceb70f5756069
parentb4ff7b178bda0ce4ec9f799c6a85579ba17f0df3
netfs: Use mempools for allocating requests and subrequests

Use mempools for allocating requests and subrequests in an effort to make
sure that allocation always succeeds so that when performing writeback we
can always make progress.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
fs/netfs/internal.h
fs/netfs/main.c
fs/netfs/objects.c
include/linux/netfs.h