X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Fobd_mount.c;h=325acaa7cebd39869b9171257ff66a019d41818e;hp=865b45146d66297ba0872a12a2400430da746694;hb=9680dabde70a9ec5f211e26d7c2f2988f296f455;hpb=9c6c262ffd6ba46e666586cd492749ec9c063a71 diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index 865b451..325acaa 100644 --- a/lustre/obdclass/obd_mount.c +++ b/lustre/obdclass/obd_mount.c @@ -2106,8 +2106,12 @@ static void server_put_super(struct super_block *sb) /* disconnect the osp-on-ost first to drain off the inflight request */ if (IS_OST(lsi) || IS_MDT(lsi)) { - if (lustre_disconnect_osp(sb) < 0) - CERROR("%s: Fail to disconnect osp-on-ost!\n", tmpname); + int rc; + + rc = lustre_disconnect_osp(sb); + if (rc && rc != ETIMEDOUT) + CERROR("%s: failed to disconnect osp-on-ost (rc=%d)!\n", + tmpname, rc); } /* Stop the target */