svn commit: r271174 - head/sys/sys
Robert Watson
rwatson at FreeBSD.org
Fri Sep 5 16:46:28 UTC 2014
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;
More information about the svn-src-all
mailing list