xfs
[Top] [All Lists]

TAKE - fix external log bug; add remount code; add recovery to ROFS mode

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - fix external log bug; add remount code; add recovery to ROFS mode
From: Phil Schwan <phil@xxxxxxxxxxxxx>
Date: Fri, 14 Apr 2000 18:50:19 -0400
Sender: owner-linux-xfs@xxxxxxxxxxx
This fixes a bug in external log replay; it would find an invalid log
but continue on and eventually panic.

Here is some initial remount code that appears to work but definitely
does not do all of the right things, including syncing.  I'm testing
some code related to flushing all of the data before actually
completing the remount.

The code that replays logs on readonly mounts seems to work; feedback
or good ways to verify would be appreciated.

Modid:  2.3.99pre2-xfs:slinx:58037a

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

linux/fs/xfs/linux/xfs_super.c - 1.60
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_super.c.diff?r1=text&tr1=1.60&r2=text&tr2=1.59&f=h
        - added first cut at remount code

linux/fs/xfs/xfs_log_recover.c -  1.170
        - check return code of xlog_test_footer() and bail on error
        - added code to replay log in readonly situations

linux/fs/xfs/xfs_os_defs.h - 1.3
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_os_defs.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.2&f=h
        - added NEED_FS_H #ifdef

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - fix external log bug; add remount code; add recovery to ROFS mode, Phil Schwan <=