The dreaded remapping is back, but mostly for filesystems created with
oddball mkfs options, the standard filesystem config will not touch it
except possibly in recovery. Also fix the mapping for the cases were we
bring stuff into memory via a readahead call. The code in pagebuf is now
ifdefed for easy removal.
This also contains some cleanup in the interface between xfs and pagebuf,
and a minor fix for the shutdown on error code.
Date: Wed Mar 14 15:35:05 PST 2001
Workarea: jen.americas.sgi.com:/src/lord/linux-base
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:90004a
linux/fs/xfs/xfs_buf.h - 1.69
- directly manipulate some pagebuf fields rather than calling one line
functions. Fix xfs_bdwrite and xfs_bawrite so they correctly set the
strategy callout.
linux/fs/xfs/linux/xfs_lrw.c - 1.84
- remove some code we do not need
linux/include/linux/page_buf.h - 1.82
- remove some prototypes no longer needed, streamline some others.
linux/fs/pagebuf/page_buf.c - 1.65
- Reintroduce the remapping code - it turns out we still have cases
which
use it, however, now it is switchable at compile time. Remove a coupld
of functions we do not need, and fix one case in the address space
remapping code where the pages are already in memory, but were put
there by a readahead call which did not do the remapping.
|