Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2014 16:46:28 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271174 - head/sys/sys
Message-ID:  <201409051646.s85GkSm0008980@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Fri Sep  5 16:46:28 2014
New Revision: 271174
URL: http://svnweb.freebsd.org/changeset/base/271174

Log:
  Clarify a diagnostic printf() in the mbuf code: M_EXT doesn't necessarily
  imply a cluster is attached; it could also refer to some other sort of
  external storage (e.g., an sf_buf).
  
  MFC after:	3 days
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/sys/mbuf.h

Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h	Fri Sep  5 16:40:47 2014	(r271173)
+++ head/sys/sys/mbuf.h	Fri Sep  5 16:46:28 2014	(r271174)
@@ -672,7 +672,7 @@ m_clget(struct mbuf *m, int how)
 {
 
 	if (m->m_flags & M_EXT)
-		printf("%s: %p mbuf already has cluster\n", __func__, m);
+		printf("%s: %p mbuf already has external storage\n", __func__, m);
 	m->m_ext.ext_buf = (char *)NULL;
 	uma_zalloc_arg(zone_clust, m, how);
 	/*
@@ -698,7 +698,7 @@ m_cljget(struct mbuf *m, int how, int si
 	uma_zone_t zone;
 
 	if (m && m->m_flags & M_EXT)
-		printf("%s: %p mbuf already has cluster\n", __func__, m);
+		printf("%s: %p mbuf already has external storage\n", __func__, m);
 	if (m != NULL)
 		m->m_ext.ext_buf = NULL;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409051646.s85GkSm0008980>