[prev in list] [next in list] [prev in thread] [next in thread]
List: gfs-cvs
Subject: [gfs-commit] cvs commit: GFS/src/fs gfs_mount.h
From: Ken Preslan <kpreslan () sistina ! com>
Date: 2001-03-25 17:51:49
[Download RAW message or body]
kpreslan 2001/03/25 11:51:49 CST
Modified files:
src/fs gfs_mount.h
Log:
Added a new mount option: localcaching
When you turn this on, GFS assumes that you're running as a local filesystem
and turns off all the code that invalidated buffers and pages when a glock
is release. It also starts doing buffer read ahead instead of
automatically sleeping on wait_on_buffer() in gfs_dreread(). (Both of these
things will cause corruption in a multi-host configuration, so be careful.)
The end result is that when this option is used, "du" and directory tree
scaning code seems to run at least somewhat faster. (I haven't had a chance
to collect real numbers yet.)
This is still experimental code. If it works out, it will eventually be
turned on automagically by nolock like localflocks, but that's not happening
now. As far as I can tell, this patch doesn't introduce any new problems,
but it could probably use some more testing. (But if you don't specify the
localcaching flag, things are exactly like they were.)
Revision Changes Path
1.8 +1 -0 GFS/src/fs/gfs_mount.h
_______________________________________________
gfs-commit mailing list
gfs-commit@sistina.com
http://lists.sistina.com/mailman/listinfo/gfs-commit
Read the GFS Howto: http://www.sistina.com/gfs/Pages/howto.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic