[lustre-devel] [PATCH 12/14] lustre: mdc: make rpc set for MDS_STATFS interruptible
James Simmons
jsimmons at infradead.org
Mon May 3 17:10:14 PDT 2021
From: Alex Zhuravlev <bzzz at whamcloud.com>
otherwise it ignores signals making imposible to interrupt
mount process with a signal which is checked by conf-sanity/23a
WC-bug-id: https://jira.whamcloud.com/browse/LU-14344
Lustre-commit: f125ba1f42b9b046 ("LU-14344 mdc: make rpc set for MDS_STATFS interruptible")
Signed-off-by: Alex Zhuravlev <bzzz at whamcloud.com>
Reviewed-on: https://review.whamcloud.com/41282
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Oleg Drokin <green at whamcloud.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
fs/lustre/mdc/mdc_request.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/lustre/mdc/mdc_request.c b/fs/lustre/mdc/mdc_request.c
index e6c0df5..7df2c59 100644
--- a/fs/lustre/mdc/mdc_request.c
+++ b/fs/lustre/mdc/mdc_request.c
@@ -1611,6 +1611,7 @@ static int mdc_statfs(const struct lu_env *env,
rc = -ENOMEM;
goto output;
}
+ req->rq_allow_intr = 1;
if ((flags & OBD_STATFS_SUM) &&
(exp_connect_flags2(exp) & OBD_CONNECT2_SUM_STATFS)) {
--
1.8.3.1
More information about the lustre-devel
mailing list