From e409de84040772e28c61933636a5361e25f4fb2e Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 17 Jul 2008 23:55:24 +0000 Subject: [PATCH] Code documentation only: Describe B_NOCACHE --- sys/sys/buf.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/sys/buf.h b/sys/sys/buf.h index a793514b76..fdfc1eecc2 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -37,7 +37,7 @@ * * @(#)buf.h 8.9 (Berkeley) 3/30/95 * $FreeBSD: src/sys/sys/buf.h,v 1.88.2.10 2003/01/25 19:02:23 dillon Exp $ - * $DragonFly: src/sys/sys/buf.h,v 1.51 2008/07/14 03:08:58 dillon Exp $ + * $DragonFly: src/sys/sys/buf.h,v 1.52 2008/07/17 23:55:24 dillon Exp $ */ #ifndef _SYS_BUF_H_ @@ -271,6 +271,10 @@ struct buf { * Setting B_AGE on a dirty buffer will not cause it * to be flushed more quickly but will cause it to be * reallocated more quickly after having been flushed. + * + * B_NOCACHE Request that the buffer and backing store be + * destroyed on completion. If B_DELWRI is set and the + * write fails, the buffer remains intact. */ #define B_AGE 0x00000001 /* Reuse more quickly */ -- 2.41.0