[PATCH 2/3 v3] chunkd: increase network buffer size to 64k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 chunkd/chunkd.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 462c3d36576f31569f45477b46e46ac58cc21c8c
Author: Jeff Garzik <jeff@xxxxxxxxxx>
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 <jgarzik@xxxxxxxxxx>

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,
 
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux