File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -150,14 +150,7 @@ extern u32 svc_max_payload(const struct svc_rqst *rqstp);
150150 * list. xdr_buf.tail points to the end of the first page.
151151 * This assumes that the non-page part of an rpc reply will fit
152152 * in a page - NFSd ensures this. lockd also has no trouble.
153- *
154- * Each request/reply pair can have at most one "payload", plus two pages,
155- * one for the request, and one for the reply.
156- * We using ->sendfile to return read data, we might need one extra page
157- * if the request is not page-aligned. So add another '1'.
158153 */
159- #define RPCSVC_MAXPAGES ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE \
160- + 2 + 1)
161154
162155/**
163156 * svc_serv_maxpages - maximum count of pages needed for one RPC message
You can’t perform that action at this time.
0 commit comments