svn commit: r199724 - user/kmacy/releng_8_fcs_buf/sys/sys
Kip Macy
kmacy at FreeBSD.org
Mon Nov 23 23:28:26 UTC 2009
Author: kmacy
Date: Mon Nov 23 23:28:25 2009
New Revision: 199724
URL: http://svn.freebsd.org/changeset/base/199724
Log:
add flag for marking ZFS buffers to help with logging
Modified:
user/kmacy/releng_8_fcs_buf/sys/sys/buf.h
Modified: user/kmacy/releng_8_fcs_buf/sys/sys/buf.h
==============================================================================
--- user/kmacy/releng_8_fcs_buf/sys/sys/buf.h Mon Nov 23 23:23:05 2009 (r199723)
+++ user/kmacy/releng_8_fcs_buf/sys/sys/buf.h Mon Nov 23 23:28:25 2009 (r199724)
@@ -225,6 +225,8 @@ struct buf {
#define B_CLUSTER 0x40000000 /* pagein op, so swap() can count it */
#define B_REMFREE 0x80000000 /* Delayed bremfree */
+#define B_ZFS B_01000000 /* is a ZFS buffer */
+
#define PRINT_BUF_FLAGS "\20\40remfree\37cluster\36vmio\35ram\34b27" \
"\33paging\32b25\31b24\30b23\27relbuf\26dirty\25b20" \
"\24b19\23b18\22clusterok\21malloc\20nocache\17b14\16inval" \
More information about the svn-src-user
mailing list