From 3680fa1821496c213fc0495c37323c7ea0640625 Mon Sep 17 00:00:00 2001 From: Andriy Skulysh Date: Mon, 1 Feb 2016 11:54:57 +0200 Subject: [PATCH] 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 --- lustre/osp/osp_precreate.c | 1 + 1 file changed, 1 insertion(+) 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) -- 1.8.3.1