From: Andriy Skulysh Date: Mon, 1 Feb 2016 09:54:57 +0000 (+0200) Subject: LU-7728 osp: soft lockup in osp_precreate_reserve() X-Git-Tag: 2.8.54~23 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F18244%2F3;p=fs%2Flustre-release.git LU-7728 osp: soft lockup in osp_precreate_reserve() LU-4313 commit 3a2073d3bf9fab33fa26c5c5f0da2b0821185131 treats -ENOTCONN as recoverable error, so it is needed to add it to osp_precreate_ready_condition() to wait for an event instead of busy-looping. Seagate-bug-id: MRP-3247 Change-Id: I8a0a77a7369be0325fbeb9d0a2c321950905afbb Signed-off-by: Andriy Skulysh Reviewed-on: http://review.whamcloud.com/18244 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Lai Siyao Reviewed-by: Mike Pershin Reviewed-by: Oleg Drokin --- diff --git a/lustre/osp/osp_precreate.c b/lustre/osp/osp_precreate.c index d5b4022..fe63a55 100644 --- a/lustre/osp/osp_precreate.c +++ b/lustre/osp/osp_precreate.c @@ -1239,6 +1239,7 @@ static int osp_precreate_ready_condition(const struct lu_env *env, if (d->opd_pre_status != 0 && d->opd_pre_status != -EAGAIN && d->opd_pre_status != -ENODEV && + d->opd_pre_status != -ENOTCONN && d->opd_pre_status != -ENOSPC) { /* DEBUG LU-3230 */ if (d->opd_pre_status != -EIO)