From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Sandeen Subject: Re: ext4_put_super is not called during system shutdown or restart Date: Mon, 25 Apr 2011 11:10:43 -0500 Message-ID: <4DB59D03.7020707@redhat.com> References: <4DB584B0.3000101@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Amir Goldstein , ext4 mailing list To: Zhao Cai Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18826 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544Ab1DYQKr (ORCPT ); Mon, 25 Apr 2011 12:10:47 -0400 In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: On 4/25/11 11:05 AM, Zhao Cai wrote: > Sorry, my mistake. It happens only when ext4 is the root file system.= =20 that makes sense, since root is never actually unmounted; it just goes = to readonly. -Eric > -Zhao >=20 >=20 > On Apr 25, 2011, at 11:02 AM, Amir Goldstein wrote: >=20 >> On Monday, April 25, 2011, Eric Sandeen wrote: >>> On 4/24/11 11:12 PM, Zhao Cai wrote: >>>> I would appreciate if anyone can give me an answer. Is it designed= to >>>> be like this? >>>> >>>> Detailed situation: The system is ubuntu 11.04 installed in VMware= =2E I >>>> notice that ext4_put_super() is called when I unmount a non-root e= xt4 >>>> partition. But it is not when I restart or shutdown the system. >>> >>> Even for a non-root filesystem? >>> >>> I don't know if ubuntu does anything special, but I would expect th= at during a system shutdown, non-root filesystems would be unmounted, a= nd you'd get put_super called. Unless the fs is busy and it can't be u= nmounted for some reason... >> >> This strangely reminds me of my report that xfstests sometimes fails >> to umount on Ubuntu 10.10. >> But I could be just trying to hold on to the hope of somebody else >> solving my problems... >> >>> >>> -Eric >>> >>>> Thanks=E3=80=82 >>>> >>>> -- All the best, >>>> >>>> Zhao Cai >>>> >>>> >>>> -- To unsubscribe from this list: send the line "unsubscribe >>>> linux-ext4" in the body of a message to majordomo@vger.kernel.org >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-ext= 4" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >=20 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html