[PATCH 3/3 v2] [chunkd] match network buffer size to checksum buffer size (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 937e3fa1eeee9dd68dfba7f65711607849814faa
Author: Jeff Garzik <jeff@xxxxxxxxxx>
Date:   Sat Jul 17 01:16: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 5c34967..8ba4fb8 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