Found a common case where remounting the root filesystem readonly would take
a long time (15 to 30 seconds). This gets it down to fractions of a second
instead.
Date: Thu Mar 1 10:26:09 PST 2001
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:88676a
linux/fs/xfs/xfsidbg.c - 1.156
- print ilock_ra symbolically
linux/fs/xfs/linux/xfs_lrw.c - 1.77
- Clean up the remount readonly code to do less passes and not to sleep
as long.
linux/fs/xfs/linux/xfs_super.c - 1.110
- Flush out delayed write buffers on a remount readonly before flushing
inodes, there are cases where inode buffers are in the delayed write
queue and will not be flushed until the pagebuf daemon finds them
unless
we push here. Also remove the messages about remounting readonly or
readwrite.
|