Irix allows logbufs=8 as a mount option, linux was pruned back to 4
due to kmalloc limitations. This gets the 8 buffer case working again.
Date: Fri Feb 23 11:08:48 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:88300a
linux/fs/xfs/xfs_log_priv.h - 1.77
- Bump max iclogs to 8
linux/fs/xfs/xfs_log_recover.c - 1.200
- Deal with too large a log buffer during mount/recovery better. The
current
code for falling back to a small buffer will get hit more often now,
this
fixes up the common case (clean mount) to ask for decreasing powers
of 2
sized buffers rather than dropping down to 1 block immediately.
linux/fs/pagebuf/page_buf.c - 1.58
- Do not call kmalloc with a size which will fail, return an error
instead. This is necessary since kmalloc will call BUG if you ask
for too much memory.
|