Re: RPCSVC_MAXPAGES doesn't account for overhead(?) pages

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Sun Mar 23 2003 - 06:18:57 EST


>>>>> " " == Zwane Mwaikambo <zwane@holomorphy.com> writes:

> -#define RPCSVC_MAXPAGES
> ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE + 1) + +#define
> RPCSVC_MAXPAGES
> (2+((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE+1))
 
Huh? RPCSVC_MAXPAYLOAD is set at 64k. Should be quite ample for a 32k
read or write.

Cheers,
  Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:44 EST