Whamcloud - gitweb
LU-4639 hsm: HSM requests not delivered 22/9422/5
authorJames Nunez <james.a.nunez@intel.com>
Tue, 25 Feb 2014 22:34:46 +0000 (15:34 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 4 Mar 2014 17:52:06 +0000 (17:52 +0000)
commitb9cf669a99963742ab2fcc3e5acbbd66e1f484a5
tree0500e94f6f387f7df53cc64ab68fcd1b2cc95b9b
parent501a92dc71013d56241a4a9408d86a8a7f74cd20
LU-4639 hsm: HSM requests not delivered

The total size of an HSM archive request may exceed the
desired (LNET) message. When this happens, it can hang
the client and not allow the archive request to succeed.

Before we know the total size of the hsm_action_items, we
need to limit the size of the reguest. Doing this limits
the number of items that can be sent in one archive request.
We’ve reduced the size allowed for the user archive request
to MDS_MAXREQSIZE/3.

sanity-hsm test 90 forms a list of files to archive. The
number of files in the list needed to be decreased to
match the limit described above.

Lustre-change: http://review.whamcloud.com/#/c/9393/
Lustre-commit: a23e0fe42f26cd54384058d927bcf42330174e7b

Change-Id: I84c36ba318a6ed424248a0567c33e824de3e8021
Signed-off-by: James Nunez <james.a.nunez@intel.com>
Reviewed-on: http://review.whamcloud.com/9422
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/dir.c
lustre/tests/sanity-hsm.sh