summaryrefslogtreecommitdiffstats
path: root/sys/ufs/lfs/lfs_vfsops.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1994-11-17 01:30:53 +0000
committergibbs <gibbs@FreeBSD.org>1994-11-17 01:30:53 +0000
commit02b39f95c4927ea494cd1146c3e4bbda7435ee77 (patch)
treec5bfd9e88f2f40c61118ea5d75550f34eaa93249 /sys/ufs/lfs/lfs_vfsops.c
parent8119b5015f901ca196c21cf712d8513ee0d4275b (diff)
downloadFreeBSD-src-02b39f95c4927ea494cd1146c3e4bbda7435ee77.zip
FreeBSD-src-02b39f95c4927ea494cd1146c3e4bbda7435ee77.tar.gz
John Dyson's patches (and a few from me too) to LFS to use a different
buffering scheme and make it more in tune with FreeBSD's vfs_bio implementation. The filesystem seems fairly stable, but I wouldn't recommend it to anyone not willing to experience problems. This is very green code and has the limitation that YOU CAN ONLY HAVE ONE LFS PARTITION MOUNTED AT A TIME. What LFS is good for: Non fsynced writes FASTER THAN FFS Large deletions Increadibly fast Reads are a little bit slower than FFS right now, but that is a factor of how under optimized this code is. LFS should in theory perform at least as well as FFS under fsync (iozone) type loads, and this is what I'm currently working on. Reviewed by: Justin Gibbs Submitted by: John Dyson Obtained from:
Diffstat (limited to 'sys/ufs/lfs/lfs_vfsops.c')
-rw-r--r--sys/ufs/lfs/lfs_vfsops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ufs/lfs/lfs_vfsops.c b/sys/ufs/lfs/lfs_vfsops.c
index 4ab9623..6c9f55f 100644
--- a/sys/ufs/lfs/lfs_vfsops.c
+++ b/sys/ufs/lfs/lfs_vfsops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)lfs_vfsops.c 8.7 (Berkeley) 4/16/94
- * $Id: lfs_vfsops.c,v 1.7 1994/10/28 12:42:05 jkh Exp $
+ * $Id: lfs_vfsops.c,v 1.8 1994/11/14 13:21:53 bde Exp $
*/
#include <sys/param.h>
@@ -277,6 +277,7 @@ lfs_mountfs(devvp, mp, p)
mp->mnt_stat.f_fsid.val[0] = (long)dev;
mp->mnt_stat.f_fsid.val[1] = MOUNT_LFS;
mp->mnt_flag |= MNT_LOCAL;
+ mp->mnt_maxsymlinklen = fs->lfs_maxsymlinklen;
ump->um_mountp = mp;
ump->um_dev = dev;
ump->um_devvp = devvp;
OpenPOWER on IntegriCloud