lamigo shouldn't print an error message when replication fails
with ENODATA - this is a valid case as llapi_layout_get_by_path()
returns ENODATA in all case when a layout can't be fetching,
including non-existing file.
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I8184d4af78514016b1afb3bca2eb34caf123d3ca
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50858
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexandre Ioffe <aioffe@ddn.com>
/* 1 from setprefer (see EX-3591) */
(rj->rj_setprefer && status != 0 && status != 1) ||
/* EBUSY from mirror extend/resync */
- (!rj->rj_setprefer && status != 0 && status != EBUSY))
+ (!rj->rj_setprefer && status != 0 && status != EBUSY && status != ENODATA))
LX_ERROR("command '%s' on '%s' failed: rc = %d, status = %d\n",
cmd, agent->rag_hostname, rc, status);
out: