From a23e0fe42f26cd54384058d927bcf42330174e7b Mon Sep 17 00:00:00 2001 From: James Nunez Date: Tue, 25 Feb 2014 15:34:46 -0700 Subject: [PATCH] LU-4639 hsm: HSM requests not delivered MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The total size of an HSM archive request may exceed the desired message. When this happens, it can hang the client and not allow the archive request to succeed. We’ve reduced the size allowed for the user archive request to MDS_MAXREQSIZE/4. Signed-off-by: James Nunez Change-Id: I3c19851b7fedf62854a5a1b4a8f27b9c49d8b313 --- lustre/llite/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/llite/dir.c b/lustre/llite/dir.c index 6a1e3c5..bfaaddb 100644 --- a/lustre/llite/dir.c +++ b/lustre/llite/dir.c @@ -1633,7 +1633,7 @@ out_rmdir: OBD_FREE_PTR(hur); /* Make sure the size is reasonable */ - if (totalsize >= MDS_MAXREQSIZE) + if (totalsize >= MDS_MAXREQSIZE/4) RETURN(-E2BIG); OBD_ALLOC_LARGE(hur, totalsize); -- 1.8.3.1