xfs
[Top] [All Lists]

PARTIAL TAKE 795642 - remount -o remount,ro doesn't leave FS consistent

To: cattelan@xxxxxxxxxxxxxxxxxxxx
Subject: PARTIAL TAKE 795642 - remount -o remount,ro doesn't leave FS consistent
From: pv@xxxxxxxxxxxxxxxxxxxxxx (lord@xxxxxxx)
Date: Thu, 14 Sep 2000 07:00:05 -0700 (PDT)
Cc: linux-xfs@xxxxxxxxxxx
Reply-to: sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
 Submitter : dxm                       Status : open                        
 Assigned Engineer : cattelan          Priority : 3                         
*Modified Date : 09/14/00             *Modified User : lord                 
*Modified User Domain : sgi.com       *Fix Description :
From: steve lord <lord@xxxxxxx> (PARTIAL)
Date: Sep 14 2000 07:00:04AM
[pvnews version: 1.71]
----------------------------


The remount readonly code path needs to go through sync twice. Unlinked inodes
have two phases of work to go through before they are clean on disk. These
are both handled via sync, and will not be handled in the same pass.

Date:  Wed Sep 13 19:48:37 PDT 2000
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4.0-test5

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs


Modid:  2.4.0-test1-xfs:slinx:74367a
linux/fs/xfs/linux/xfs_super.c - 1.87
        - Call sync twice in the remount readonly case to deal with removed ino
des
          correctly.
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 (REASSIGN)
From: cattelan@engr (BugWorks)
Date: Sep 08 2000 02:08:59PM
==========================

<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 795642 - remount -o remount,ro doesn't leave FS consistent, lord@xxxxxxx <=