Whamcloud - gitweb
LU-4639 hsm: HSM requests not delivered 93/9393/8
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:49:00 +0000 (17:49 +0000)
commit4809b63dae68fdb2d41f4310696915179b90aeef
tree07eaed88590aab24cc53eb5b03f8fce436b510d7
parent0e5a1df5ff7176e93c32d9636c42d55173cb7a92
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.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I3c19851b7fedf62854a5a1b4a8f27b9c49d8b313
Reviewed-on: http://review.whamcloud.com/9393
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