cifs: Add mempools for cifs_io_request and cifs_io_subrequest structs
authorDavid Howells <dhowells@redhat.com>
Fri, 15 Mar 2024 18:03:30 +0000 (18:03 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:08:20 +0000 (18:08 +0100)
commitedea94a69730b74a8867bbafe742c3fc4e580722
tree2534964d83bc83787900d53b01643b3484646eb8
parent3758c485f6c9124d8ad76b88382004cbc28a0892
cifs: Add mempools for cifs_io_request and cifs_io_subrequest structs

Add mempools for the allocation of cifs_io_request and cifs_io_subrequest
structs for netfslib to use so that it can guarantee eventual allocation in
writeback.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
fs/smb/client/cifsfs.c
fs/smb/client/cifsglob.h