Started out as just making "mount -o remount,noatime" work on XFS, to
make it easier to get this flag set on the root fs of my laptop. :)
(before, simply adding "noatime" to the rootfs flags in fstab did not
work, since linvfs_remount was a no-op for all but "-o remount,r[o,w]").
Also some general cleanup of mount flags etc, see below.
Remounting could still use some more work; you can, for example, specify a new
logdev as a remount parameter, and XFS won't complain. (It won't change
the logdev, but it won't complain, either).
Ideally, XFS should allow remounting as many options as possible, and
complain if a non-remountable option is specified with MS_REMOUNT...
Date: Mon Jun 24 11:25:14 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:122231a
linux/fs/xfs/xfsidbg.c - 1.187
- add more mount flag names to xmount output
linux/fs/xfs/xfs_vfsops.c - 1.356
- Don't look for 32BITINODES in args; just set it directly
linux/fs/xfs/linux/xfs_super.c - 1.184
- Remove XFS mount opt flags that are handled in the Linux VFS:
noatime, rw, ro
Don't assign MS_RDONLY VFS flag to xfs args flags
Don't fake out 32BITINODES as an argument, just default it later
Message about "osyncisdsync" going away
Rework linvfs_remount to allow modification of "noatime"
|