XFS is pulling some vm remapping tricks to map pages into continuous
address spaces for. This is a) expensive, and b) not likely to be
accepted into Linus's kernel. This does not remove the remapping code,
but drastically reduces the use of it by XFS. Basically it is no longer
used for inode buffers. This means that for a filesystem with the default
block size the remapping code is not used at all. Another solution
will have to be found for the other cases (non default block size
filesystems).
Date: Wed Aug 2 10:58:46 PDT 2000
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4.0-test5
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:71152a
linux/fs/xfs/xfsidbg.c - 1.150
- Dump the inode buffer contents without relying on the buffer being
mapped.
linux/fs/xfs/xfs_ialloc.c - 1.139
- Do not ask for a mapped buffer when creating a new inode buffer
linux/fs/xfs/xfs_buf.h - 1.57
- Do not bother asking for a buffer to be mapped when we are just
making a read ahead call.
linux/fs/xfs/xfs_buf_item.c - 1.107
- When calculating how many chunks a buffer will take to log, take into
account non-mapped buffers where there is no contiguous memory image
of the buffer.
linux/fs/xfs/xfs_itable.c - 1.88
- Change how bulkstat locates an inode in a buffer to not depend on the
buffer
being mapped.
linux/fs/xfs/xfs_log_recover.c - 1.182
- Do log recovery on inodes without mapping the buffers. Turn off some
range checking asserts which are based on buffers being mapped.
linux/fs/xfs/xfs_btree.c - 1.86
- formatting fix
linux/fs/xfs/xfs_inode.c - 1.299
- Do not ask for a mapped buffer when reading an inode buffer in. Also
remove some debug code which would not work with unmapped buffers.
linux/fs/xfs/xfs_trans_buf.c - 1.90
- Do not automatically request buffer mapping if the caller specified
some
buffer options.
linux/fs/pagebuf/page_buf.c - 1.17
- Always fill in the pb_addr field for a 1 page buffer, even if mapping
was not requested.
Remove unused module parameters
|