The mount command now accepts kio as a mount option.
pagebuf doesn't use the flag yet... will get that next.
Initial changes from Daniel to allow file system
to be remounted from rw -> ro.
Under really heavy loads this doesn't quite work, but
for a normal shutdown of a root file system where
most processes are killed off before the remount this
should work most of the time.
Date: Fri Aug 11 14:36:02 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:71948a
linux/include/linux/fs.h - 1.55
- Added values for KIOBUF io flag.
linux/fs/xfs/xfs_vfsops.c - 1.283
- Initial changes to allow remounting a file system from read write to
read only. Not fully correct yet, but working in general cases.
linux/fs/xfs/linux/xfs_super.c - 1.80
- check for kiobuf io and flag the superblock.
Initial changes to allow remounting a file system from read write to
read only.
linux/fs/xfs/linux/xfs_mount_opt.c - 1.10
- Added kio and nokio to the mount options.
Crurrently only kio is valid, eventually it may be possible to
do remounts to turn on or off kiobuf io, at which time both flags will
be needed.
|