choose single default logbuf count & size
Remove sizing of logbuf size & count based on physical memory;
this was never a very good gauge as it's looking at global
memory, but deciding on sizing per-filesystem; no account
is made of the total number of filesystems, for example.
For now just take the largest "default" case, as was set
for machines with >400MB - 8 x 32k buffers. This can
always be tuned higher or lower with mount options
if necessary. Removes one more user of xfs_physmem.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu Aug 2 21:38:35 AEST 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: sandeen@xxxxxxxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:29323a
fs/xfs/xfs_log.c - 1.334 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log.c.diff?r1=text&tr1=1.334&r2=text&tr2=1.333&f=h
- Don't size logbuf size and count based on physical memory.
fs/xfs/xfs_log_priv.h - 1.118 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log_priv.h.diff?r1=text&tr1=1.118&r2=text&tr2=1.117&f=h
- Don't size logbuf size and count based on physical memory.
|