Received: by oss.sgi.com id ; Tue, 29 Aug 2000 15:48:35 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:31087 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 29 Aug 2000 15:48:15 -0700 Received: from info.engr.sgi.com (info.engr.sgi.com [192.26.80.216]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA17438; Tue, 29 Aug 2000 15:39:57 -0700 (PDT) mail_from (nobody@info.engr.sgi.com) Received: (from nobody@localhost) by info.engr.sgi.com (SGI-8.9.3/8.9.3) id PAA05259; Tue, 29 Aug 2000 15:47:33 -0700 (PDT) Date: Tue, 29 Aug 2000 15:47:33 -0700 (PDT) Message-Id: <200008292247.PAA05259@info.engr.sgi.com> X-Pv-Incident: 795642 webPV: gibble.americas.sgi.com webExec: webpvupdate,pvincident Reply-To: sgi.bugs.xfs@fido.engr.sgi.com From: pv@relay.sgi.com (cattelan@engr.sgi.com) Subject: ADD 795642 - remount -o remount,ro doesn't leave FS consistent To: btg@sgi.com Cc: linux-xfs@oss.sgi.com Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing View Incident: http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=795642 Status : open Priority : 3 Assigned Engineer : btg Submitter : dxm *Modified User : cattelan *Modified User Domain : engr *Description : Remounting an XFS filesystem R/O can leave the FS in an inconsistent state. (Playing with this for long enough can hang mount up...) Reproduce with QA 013 or: #!/bin/sh DEV=/dev/hda6 MNT=/mnt/arch0 ..... ========================== ADDITIONAL INFORMATION (ADD) From: cattelan@engr (BugWorks) Date: Aug 29 2000 03:47:33PM ========================== This is partially working, rw->ro at shutdown works. rw->ro on a running active file system will most likely hang the system. It is unclear this can ever be made to work correctly, since it is hard to determine if the active vnodes are open for reading or for read/write. Some additional work in the linux vfs layers may be nessesary.