From: Li Xi Date: Wed, 12 Mar 2014 11:25:52 +0000 (+0800) Subject: LU-4755 ptlrpc: enlarge OST_MAXREQSIZE for 4MB RPC X-Git-Tag: 2.6.51~106 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=2efe07575a01a58f7036116131f9f43181a71977 LU-4755 ptlrpc: enlarge OST_MAXREQSIZE for 4MB RPC This patch enlarges OST_MAXREQSIZE so as to make the request size large enough for 4MB RPC. Signed-off-by: Li Xi Change-Id: I6195c05ced9e6c533c2ad88f21a941f1dddb53e6 Reviewed-on: http://review.whamcloud.com/9599 Reviewed-by: Andreas Dilger Tested-by: Jenkins Reviewed-by: Jinshan Xiong Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lustre/include/lustre_net.h b/lustre/include/lustre_net.h index e10d40e..69261bf 100644 --- a/lustre/include/lustre_net.h +++ b/lustre/include/lustre_net.h @@ -494,7 +494,7 @@ /** * FIEMAP request can be 4K+ for now */ -#define OST_MAXREQSIZE (5 * 1024) +#define OST_MAXREQSIZE (16 * 1024) #define OST_IO_MAXREQSIZE max_t(int, OST_MAXREQSIZE, \ (((_OST_MAXREQSIZE_SUM - 1) | (1024 - 1)) + 1))