Return-Path: Received: from mail.physik.uni-muenchen.de (mail.physik.uni-muenchen.de [192.54.42.129]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Sun, 27 Jun 2010 01:13:03 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 0DCBE27DC9 for ; Sun, 27 Jun 2010 01:13:03 +0200 (CEST) Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cXi-09FNbqhF for ; Sun, 27 Jun 2010 01:13:02 +0200 (CEST) Received: from [192.168.0.101] (ppp-93-104-56-49.dynamic.mnet-online.de [93.104.56.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id C64C427C91 for ; Sun, 27 Jun 2010 01:13:02 +0200 (CEST) From: Christoph Anton Mitterer In-Reply-To: <4C2653EB.2090606@redhat.com> References: <1277553580.29791.40.camel@fermat.scientia.net> <20100626125223.GA26185@tansi.org> <1277562112.3245.40.camel@fermat.scientia.net> <20100626183632.GA30731@tansi.org> <4C2653EB.2090606@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 27 Jun 2010 01:13:01 +0200 Message-ID: <1277593981.3239.80.camel@fermat.scientia.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] FYI: how to (really) cleanly shutdown the system when root is on multiple stacked block devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Sat, 2010-06-26 at 21:24 +0200, Milan Broz wrote: > fsycn currently in kerenl issues barrier in block layer and then waits for it. > > But if because ever reads can cause some metadata updates (last access on file stamp), > remounting read-only is there. Just hope that init-systems like sysvinit are really guaranteed to wait for each of their scripts (and therefore for the blocked umount). Otherwise they could kill it,.. and while the umount would be still there and blocked,... it could go on to the next (halt/reboot). :/ Cheers, Chris.