diff options
author | 2025-04-28 15:36:58 -0400 | |
---|---|---|
committer | 2025-05-15 16:16:27 -0400 | |
commit | 0af165bb903cdc005066494cc931076dafd76894 (patch) | |
tree | 801fd9e2338767a6671722bb878986b3e20b69b1 | |
parent | svcrdma: Adjust the number of entries in svc_rdma_send_ctxt::sc_pages (diff) | |
download | linux-rng-0af165bb903cdc005066494cc931076dafd76894.tar.xz linux-rng-0af165bb903cdc005066494cc931076dafd76894.zip |
sunrpc: Remove the RPCSVC_MAXPAGES macro
It is no longer used.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r-- | include/linux/sunrpc/svc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 6540af4b9bdb..d57df042e24a 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -150,14 +150,7 @@ extern u32 svc_max_payload(const struct svc_rqst *rqstp); * list. xdr_buf.tail points to the end of the first page. * This assumes that the non-page part of an rpc reply will fit * in a page - NFSd ensures this. lockd also has no trouble. - * - * Each request/reply pair can have at most one "payload", plus two pages, - * one for the request, and one for the reply. - * We using ->sendfile to return read data, we might need one extra page - * if the request is not page-aligned. So add another '1'. */ -#define RPCSVC_MAXPAGES ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE \ - + 2 + 1) /** * svc_serv_maxpages - maximum count of pages needed for one RPC message |