Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 23 Mar 2003 06:08:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 23 Mar 2003 06:08:00 -0500 Received: from mons.uio.no ([129.240.130.14]:44244 "EHLO mons.uio.no") by vger.kernel.org with ESMTP id ; Sun, 23 Mar 2003 06:07:59 -0500 To: Zwane Mwaikambo Cc: Linux Kernel , William Lee Irwin III Subject: Re: RPCSVC_MAXPAGES doesn't account for overhead(?) pages References: From: Trond Myklebust Date: 23 Mar 2003 12:18:57 +0100 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 588 Lines: 13 >>>>> " " == Zwane Mwaikambo 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/