This still doesn't work right is all cases.
If pounding on file system with a bunch of transactions,
the call to remount will probalby hang.
This code is mainly for shuting down a system
running XFS as the root file system.
I haven't had it fail yet on a reboot.
This is generally due to the fact that the
shutdown process kills just about everything before
getting to remount RO.
Date: Fri Aug 18 15:54:04 PDT 2000
Workarea: gibble.americas.sgi.com:/export/extra/x2.4-xfs
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:72612a
linux/fs/xfs/xfs_buf.h - 1.59
- changed comment.
linux/fs/xfs/xfs_vfsops.c - 1.285
- revert the sync code back to orginal, read only remount handled in
XFS_log_write_unmount_ro
linux/fs/xfs/linux/xfs_lrw.h - 1.11
- Added prototype.
linux/fs/xfs/linux/xfs_lrw.c - 1.52
- Added function to write out superblock and an unmount record,
for a READONLY remount.
linux/fs/xfs/linux/xfs_super.c - 1.84
- Call XFS_log_write_unmount_ro from remount.
linux/include/linux/page_buf.h - 1.63
- Changed prototype.
linux/fs/pagebuf/page_buf.c - 1.25
- Added flags to delwri_flush function.
If flagged just returned the count of pinned buffer and/or locked
buffers.
|