From patchwork Fri Mar 1 23:27:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10836217 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ACC151390 for ; Fri, 1 Mar 2019 23:27:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 976022F050 for ; Fri, 1 Mar 2019 23:27:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BF702F0AF; Fri, 1 Mar 2019 23:27:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 840FB2F050 for ; Fri, 1 Mar 2019 23:27:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726332AbfCAX1X (ORCPT ); Fri, 1 Mar 2019 18:27:23 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:41858 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbfCAX1W (ORCPT ); Fri, 1 Mar 2019 18:27:22 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x21NOA01122688 for ; Fri, 1 Mar 2019 23:27:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=yyymBHEtM2Fbs7+p2t1cPuOPUXuu5ZNAExXYbOdwEBU=; b=NpHLbtWEAEdy50fCKkbGAach3xWRjk/DM7MdDTxgzgu+x2EhRdNq671t1n6qrhiVFt7z 2DCUxbyb9VkWOEz1zEH5HW3ntOcP54sonCnv9FwORlYpBFupLygJIrtJse4S75JjopO6 92dzhrRDYvRH5/44K27211vz6s8S80d8S6l1zIJlMk0gFcRB7dCMDDhYQ+LA+MDtUlh8 G17jfG2hIbF3xXop3F1KWsTO6ABwDJ4cEaJwQ8u69GhqbWUsPv1i8SX5D5bJX72gMART Xhc3j/8et7vXIS0gyJD3tZ9PN0q2ZAkwfKMLuFii88ArXi5ULeutTxWW8R7DTgfx6MRB RQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2qtupetehx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 01 Mar 2019 23:27:21 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x21NRKrL031573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 1 Mar 2019 23:27:20 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x21NRKrN020823 for ; Fri, 1 Mar 2019 23:27:20 GMT Received: from localhost (/10.159.229.175) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 01 Mar 2019 15:27:20 -0800 Subject: [PATCH 05/23] xfs_scrub_all.timer: activate after most of the system is up From: "Darrick J. Wong" To: darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org Date: Fri, 01 Mar 2019 15:27:19 -0800 Message-ID: <155148283951.16677.2915351969398022552.stgit@magnolia> In-Reply-To: <155148280859.16677.6057998944865066232.stgit@magnolia> References: <155148280859.16677.6057998944865066232.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9182 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=15 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=914 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903010161 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong We really don't want the xfs_scrub_all timer triggering while the system is booting up because not all the mounts will have finished, networking might not be up for reporting, and slowing down bootup annoys people. Therefore, delay the xfs_scrub_all service's activation until after the system has started all the big pieces it's going to start. Signed-off-by: Darrick J. Wong --- scrub/xfs_scrub_all.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/scrub/xfs_scrub_all.service.in b/scrub/xfs_scrub_all.service.in index 66f82fc7..b1b80da4 100644 --- a/scrub/xfs_scrub_all.service.in +++ b/scrub/xfs_scrub_all.service.in @@ -2,6 +2,7 @@ Description=Online XFS Metadata Check for All Filesystems ConditionACPower=true Documentation=man:xfs_scrub_all(8) +After=paths.target multi-user.target network.target network-online.target systemd-networkd.service NetworkManager.service connman.service [Service] Type=oneshot