From f125ba1f42b9b0462207949a7e2066ccb577d5e6 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Wed, 20 Jan 2021 11:08:00 +0300 Subject: [PATCH] LU-14344 mdc: make rpc set for MDS_STATFS interruptible otherwise it ignores signals making imposible to interrupt mount process with a signal which is checked by conf-sanity/23a Signed-off-by: Alex Zhuravlev Change-Id: I882c774f1143d03c248282ecf7a0e2079d0627f5 Reviewed-on: https://review.whamcloud.com/41282 Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/mdc/mdc_request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index d4f6720..439c6ae 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -1604,6 +1604,7 @@ static int mdc_statfs(const struct lu_env *env, MDS_STATFS); if (req == NULL) GOTO(output, rc = -ENOMEM); + req->rq_allow_intr = 1; if ((flags & OBD_STATFS_SUM) && (exp_connect_flags2(exp) & OBD_CONNECT2_SUM_STATFS)) { -- 1.8.3.1