From patchwork Fri May 15 23:14:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Marzinski X-Patchwork-Id: 6417491 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A63B0C0432 for ; Fri, 15 May 2015 23:17:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DFC8E201EF for ; Fri, 15 May 2015 23:17:56 +0000 (UTC) Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0426C201CE for ; Fri, 15 May 2015 23:17:55 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id t4FNF3jk031041; Fri, 15 May 2015 19:15:03 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id t4FNEUrx029645 for ; Fri, 15 May 2015 19:14:30 -0400 Received: from redhat.com (octiron.msp.redhat.com [10.15.80.209]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id t4FNETPb012009; Fri, 15 May 2015 19:14:29 -0400 Received: by redhat.com (sSMTP sendmail emulation); Fri, 15 May 2015 18:14:29 -0500 From: "Benjamin Marzinski" To: device-mapper development Date: Fri, 15 May 2015 18:14:12 -0500 Message-Id: <1431731653-3892-10-git-send-email-bmarzins@redhat.com> In-Reply-To: <1431731653-3892-1-git-send-email-bmarzins@redhat.com> References: <1431731653-3892-1-git-send-email-bmarzins@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-loop: dm-devel@redhat.com Cc: Christophe Varoqui Subject: [dm-devel] [PATCH 09/10] Make multipath deactivate devices before iscsi shutdown X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The multipath devices need to be deactivated before iscsi is shutdown, otherwise the multipath devices will generate a lot of error messages when it loses its iscsi path devices. Signed-off-by: Benjamin Marzinski --- multipathd/multipathd.service | 1 + 1 file changed, 1 insertion(+) diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service index b5b755b..fc2e009 100644 --- a/multipathd/multipathd.service +++ b/multipathd/multipathd.service @@ -1,5 +1,6 @@ [Unit] Description=Device-Mapper Multipath Device Controller +Requires=blk-availability.service Before=iscsi.service iscsid.service lvm2-activation-early.service Before=local-fs-pre.target After=multipathd.socket