Module Name:    src
Committed By:   pooka
Date:           Fri May 21 11:29:42 UTC 2010

Modified Files:
        src/lib/libpuffs: puffs.h
        src/sys/fs/puffs: puffs_msgif.h

Log Message:
add option string for no attribute cache
(foreseeing the odd event I might actually implement one some day)


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/lib/libpuffs/puffs.h
cvs rdiff -u -r1.72 -r1.73 src/sys/fs/puffs/puffs_msgif.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpuffs/puffs.h
diff -u src/lib/libpuffs/puffs.h:1.115 src/lib/libpuffs/puffs.h:1.116
--- src/lib/libpuffs/puffs.h:1.115	Fri May 21 10:50:52 2010
+++ src/lib/libpuffs/puffs.h	Fri May 21 11:29:42 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: puffs.h,v 1.115 2010/05/21 10:50:52 pooka Exp $	*/
+/*	$NetBSD: puffs.h,v 1.116 2010/05/21 11:29:42 pooka Exp $	*/
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -136,6 +136,7 @@
 /* kernel */
 #define	PUFFSMOPT_NAMECACHE	{ "namecache", 1, PUFFS_KFLAG_NOCACHE_NAME, 1 }
 #define	PUFFSMOPT_PAGECACHE	{ "pagecache", 1, PUFFS_KFLAG_NOCACHE_PAGE, 1 }
+#define	PUFFSMOPT_ATTRCACHE	{ "attrcache", 1, PUFFS_KFLAG_NOCACHE_ATTR, 1 }
 #define	PUFFSMOPT_CACHE		{ "cache", 1, PUFFS_KFLAG_NOCACHE, 1 }
 #define PUFFSMOPT_ALLOPS	{ "allops", 0, PUFFS_KFLAG_ALLOPS, 1 }
 
@@ -145,6 +146,7 @@
 #define PUFFSMOPT_STD							\
 	PUFFSMOPT_NAMECACHE,						\
 	PUFFSMOPT_PAGECACHE,						\
+	PUFFSMOPT_ATTRCACHE,						\
 	PUFFSMOPT_CACHE,						\
 	PUFFSMOPT_ALLOPS,						\
 	PUFFSMOPT_DUMP

Index: src/sys/fs/puffs/puffs_msgif.h
diff -u src/sys/fs/puffs/puffs_msgif.h:1.72 src/sys/fs/puffs/puffs_msgif.h:1.73
--- src/sys/fs/puffs/puffs_msgif.h:1.72	Fri May 21 10:40:19 2010
+++ src/sys/fs/puffs/puffs_msgif.h	Fri May 21 11:29:42 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: puffs_msgif.h,v 1.72 2010/05/21 10:40:19 pooka Exp $	*/
+/*	$NetBSD: puffs_msgif.h,v 1.73 2010/05/21 11:29:42 pooka Exp $	*/
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -158,6 +158,7 @@
 #define PUFFS_KFLAG_IAONDEMAND		0x10	/* inactive only on demand  */
 #define PUFFS_KFLAG_LOOKUP_FULLPNBUF	0x20	/* full pnbuf in lookup     */
 #define PUFFS_KFLAG_MASK		0x3f
+#define PUFFS_KFLAG_NOCACHE_ATTR	0x40	/* no attrib cache (unused) */
 
 #define PUFFS_FHFLAG_DYNAMIC		0x01
 #define PUFFS_FHFLAG_NFSV2		0x02

Reply via email to