Whamcloud - gitweb
LU-3685 hsm: copy start error should set HP_FLAG_COMPLETED 65/7265/4
authorAurelien Degremont <aurelien.degremont@cea.fr>
Mon, 5 Aug 2013 13:49:16 +0000 (15:49 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 17 Aug 2013 05:27:06 +0000 (05:27 +0000)
commit3ef01775bf3a61d9fa5fa9a483b7d7ecc9f9fc92
treedaa48a57f44311de95cfee8c0be4120fca5aac81
parent07881d78579aca3956c58ea8f3edece860b7e4b4
LU-3685 hsm: copy start error should set HP_FLAG_COMPLETED

If an error occurs when initializing a HSM request, in
ll_ioc_copy_start(), the PROGRESS message, sent to coordinator, should
carry the error code but also HP_FLAG_COMPLETED to mark the request as
finished (with error). If not, the Coordinator will ignore this
message and consider the request is still running.

Signed-off-by: Aurelien Degremont <aurelien.degremont@cea.fr>
Change-Id: Ie5ddbe8b47331202bd085941c681fcaea57ebf69
Reviewed-on: http://review.whamcloud.com/7265
Tested-by: Hudson
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/dir.c