Whamcloud - gitweb
LU-14344 mdc: make rpc set for MDS_STATFS interruptible 82/41282/10
authorAlex Zhuravlev <bzzz@whamcloud.com>
Wed, 20 Jan 2021 08:08:00 +0000 (11:08 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Apr 2021 02:11:36 +0000 (02:11 +0000)
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 <bzzz@whamcloud.com>
Change-Id: I882c774f1143d03c248282ecf7a0e2079d0627f5
Reviewed-on: https://review.whamcloud.com/41282
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_request.c

index d4f6720..439c6ae 100644 (file)
@@ -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)) {