forgot to commit this with puffs_vnops.c 1.72:

Actually, we do need separate "no references in file server" and
"noref + inactive" flags if we wish to correctly support unix open
file semantics and optimize away pre-reclaim cache flushes.  So,
add PNODE_DYING which stands for norefs + inactive.
This commit is contained in:
pooka 2007-05-19 16:50:49 +00:00
parent 121b6fb7b3
commit 68568e7a22

View File

@ -1,4 +1,4 @@
/* $NetBSD: puffs_sys.h,v 1.37 2007/05/18 15:46:09 pooka Exp $ */
/* $NetBSD: puffs_sys.h,v 1.38 2007/05/19 16:50:49 pooka Exp $ */
/*
* Copyright (c) 2005, 2006 Antti Kantee. All Rights Reserved.
@ -165,8 +165,9 @@ struct puffs_mount {
#define PNODE_NOREFS 0x01 /* no backend reference */
#define PNODE_SUSPEND 0x02 /* issue all operations as FAF */
#define PNODE_DOINACT 0x04 /* if inactive-on-demand, call inactive */
#define PNODE_DYING 0x02 /* NOREF + inactive */
#define PNODE_SUSPEND 0x04 /* issue all operations as FAF */
#define PNODE_DOINACT 0x08 /* if inactive-on-demand, call inactive */
#define PNODE_METACACHE_ATIME 0x10 /* cache atime metadata */
#define PNODE_METACACHE_CTIME 0x20 /* cache atime metadata */