pagebuf can now take a configurable sector size (512 -> 32K).
Needed some tweaking to work with bios instead of buffer_heads
from the 2.4 version. Also removed a couple of pagebuf asserts
which were no longer correct even before this mod came along.
cheers.
Date: Tue Nov 19 22:22:15 PST 2002
Workarea: snort.melbourne.sgi.com:/home/nathans/2.5.x-xfs
Author: nathans
Merged by: nathans
Merged mods: 2.4.x-xfs:slinx:132942a
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.5.x-xfs
Modid: 2.5.x-xfs:slinx:132942a
linux/fs/xfs/xfs_sb.h - 1.54
- Merge of 2.4.x-xfs:slinx:132942a by nathans.
Add macros for doing sector to BB conversions, FSB to sector
conversions, etc. Add placeholder fields for log sector size - we
don't use them yet.
linux/fs/xfs/xfs_vfsops.c - 1.395
- Merge of 2.4.x-xfs:slinx:132942a by nathans.
Set the device sector size based on the (existing) superblock field
value (currently this is always 512), rather than hardcoding the
value to 512.
linux/fs/xfs/xfs_mount.h - 1.162
- Merge of 2.4.x-xfs:slinx:132942a by nathans.
Squeeze in an 8byte sectbb field (no change to xfs_mount_t size),
similar semantics to blkbb log field (except for sector size, not
block size).
linux/fs/xfs/xfs_mount.c - 1.314
- Merge of 2.4.x-xfs:slinx:132942a by nathans.
Read a sector from the end of the device when checking log/data
device sizes. Currently only 512 byte sectors exist, so no change
here. Move mount type initialisation earlier on in the piece. Add
a placeholder field for log sector size - we don't use it yet though
(will need mkfs changes - a fair way down the track still though).
linux/fs/xfs/xfs_alloc_btree.h - 1.22
- Merge of 2.4.x-xfs:slinx:132942a by nathans.
Add some macros relating to sector sizes, update some comments.
linux/fs/xfs/linux/xfs_super.h - 1.34
linux/fs/xfs/linux/xfs_super.c - 1.245
- Merge of 2.4.x-xfs:slinx:132942a by nathans.
When initialising a new pagebuf target, allow a sector size to be
passed in.
linux/fs/xfs/pagebuf/page_buf.c - 1.77
linux/fs/xfs/pagebuf/page_buf.h - 1.50
- Merge of 2.4.x-xfs:slinx:132942a by nathans.
Remove the hardcoded sector size of 512 bytes, make it configurable.
|