diff options
author | David Howells <dhowells@redhat.com> | 2024-03-15 18:03:30 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2024-05-01 18:08:20 +0100 |
commit | edea94a69730b74a8867bbafe742c3fc4e580722 (patch) | |
tree | 2534964d83bc83787900d53b01643b3484646eb8 /fs/smb/client/cifsglob.h | |
parent | 3758c485f6c9124d8ad76b88382004cbc28a0892 (diff) | |
download | lwn-edea94a69730b74a8867bbafe742c3fc4e580722.tar.gz lwn-edea94a69730b74a8867bbafe742c3fc4e580722.zip |
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
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r-- | fs/smb/client/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index 13161e0b5cc0..29c9ee2dd304 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -2094,6 +2094,8 @@ extern __u32 cifs_lock_secret; extern mempool_t *cifs_sm_req_poolp; extern mempool_t *cifs_req_poolp; extern mempool_t *cifs_mid_poolp; +extern mempool_t cifs_io_request_pool; +extern mempool_t cifs_io_subrequest_pool; /* Operations for different SMB versions */ #define SMB1_VERSION_STRING "1.0" |