From: Jeff Garzik Subject: [PATCH 2/3 v3] chunkd: increase network buffer size to 64k Date: Tue, 20 Jul 2010 15:11:07 -0400 Message-ID: <20100720191107.GC1305@havoc.gtf.org> References: <20100720191012.GA1305@havoc.gtf.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20100720191012.GA1305@havoc.gtf.org> Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: hail-devel@vger.kernel.org chunkd/chunkd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 462c3d36576f31569f45477b46e46ac58cc21c8c Author: Jeff Garzik Date: Mon Jul 19 19:46:24 2010 -0400 [chunkd] match network buffer size to checksum buffer size (64k) Size increased from (2 * 16k) to (2 * 64k). This increases the likelihood that we will input and output nicely aligned and sized requests. Signed-off-by: Jeff Garzik diff --git a/chunkd/chunkd.h b/chunkd/chunkd.h index e73634b..7da2c5f 100644 --- a/chunkd/chunkd.h +++ b/chunkd/chunkd.h @@ -39,7 +39,7 @@ enum { CHUNK_BLK_ORDER = 16, /* 64k blocks */ CHUNK_BLK_SZ = 1 << CHUNK_BLK_ORDER, - CLI_DATA_BUF_SZ = 16 * 1024, + CLI_DATA_BUF_SZ = CHUNK_BLK_SZ, CHD_TRASH_MAX = 1000,