From: Alex Zhuravlev Date: Wed, 20 Jan 2021 08:08:00 +0000 (+0300) Subject: LU-14344 mdc: make rpc set for MDS_STATFS interruptible X-Git-Tag: 2.14.52~102 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f125ba1f42b9b0462207949a7e2066ccb577d5e6;p=fs%2Flustre-release.git 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 --- 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)) {