Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/ad-namecache]: src/sys/sys Add an IMNT_NCLOOKUP flag to indicate the FS ...
details: https://anonhg.NetBSD.org/src/rev/e56ac5280475
branches: ad-namecache
changeset: 983009:e56ac5280475
user: ad <ad%NetBSD.org@localhost>
date: Thu Jan 23 21:24:54 2020 +0000
description:
Add an IMNT_NCLOOKUP flag to indicate the FS is OK with lookup directly
from cache.
diffstat:
sys/sys/fstypes.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r fe85698b4fe9 -r e56ac5280475 sys/sys/fstypes.h
--- a/sys/sys/fstypes.h Thu Jan 23 21:23:56 2020 +0000
+++ b/sys/sys/fstypes.h Thu Jan 23 21:24:54 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fstypes.h,v 1.37.6.1 2020/01/19 21:19:25 ad Exp $ */
+/* $NetBSD: fstypes.h,v 1.37.6.2 2020/01/23 21:24:54 ad Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -220,6 +220,7 @@
#define IMNT_UNMOUNT 0x00000002 /* unmount in progress */
#define IMNT_WANTRDWR 0x00000004 /* upgrade to read/write requested */
#define IMNT_WANTRDONLY 0x00000008 /* upgrade to readonly requested */
+#define IMNT_NCLOOKUP 0x00000020 /* can do lookop direct in namecache */
#define IMNT_DTYPE 0x00000040 /* returns d_type fields */
#define IMNT_SHRLOOKUP 0x00000080 /* can do LK_SHARED lookups */
#define IMNT_MPSAFE 0x00000100 /* file system code MP safe */
@@ -274,6 +275,7 @@
"\11IMNT_MPSAFE" \
"\10IMNT_SHRLOOKUP" \
"\07IMNT_DTYPE" \
+ "\06IMNT_NCLOOKUP" \
"\04IMNT_WANTRDONLY" \
"\03IMNT_WANTRDWR" \
"\02IMNT_UNMOUNT" \
Home |
Main Index |
Thread Index |
Old Index