trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1090912 - in /trafficserver/traffic/trunk/iocore/net: P_UnixNetVConnection.h UnixNetPages.cc
Date Sun, 10 Apr 2011 23:48:23 GMT
Author: zwoop
Date: Sun Apr 10 23:48:22 2011
New Revision: 1090912

URL: http://svn.apache.org/viewvc?rev=1090912&view=rev
Log:
TS-734 Remove unused fields in net stats pages

Modified:
    trafficserver/traffic/trunk/iocore/net/P_UnixNetVConnection.h
    trafficserver/traffic/trunk/iocore/net/UnixNetPages.cc

Modified: trafficserver/traffic/trunk/iocore/net/P_UnixNetVConnection.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/net/P_UnixNetVConnection.h?rev=1090912&r1=1090911&r2=1090912&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/net/P_UnixNetVConnection.h (original)
+++ trafficserver/traffic/trunk/iocore/net/P_UnixNetVConnection.h Sun Apr 10 23:48:22 2011
@@ -175,11 +175,8 @@ public:
   }
   virtual void net_read_io(NetHandler *nh, EThread *lthread);
   virtual int64_t load_buffer_and_write(int64_t towrite, int64_t &wattempted, int64_t
&total_wrote, MIOBufferAccessor & buf);
-  void readTempPriority(NetHandler *nh, int priority);
   void readDisable(NetHandler *nh);
   void readSignalError(NetHandler *nh, int err);
-  void readSetPriority(NetHandler *nh, int priority);
-  void readUpdatePriority(NetHandler *nh, int bytesRead, int nBytes, EThread *lthread);
   int readSignalDone(int event, NetHandler *nh);
   int readSignalAndUpdate(int event);
   void readReschedule(NetHandler *nh);

Modified: trafficserver/traffic/trunk/iocore/net/UnixNetPages.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/net/UnixNetPages.cc?rev=1090912&r1=1090911&r2=1090912&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/net/UnixNetPages.cc (original)
+++ trafficserver/traffic/trunk/iocore/net/UnixNetPages.cc Sun Apr 10 23:48:22 2011
@@ -74,7 +74,8 @@ struct ShowNet: public ShowCont
       snprintf(interbuf, sizeof(interbuf), "[%s] %hhu.%hhu.%hhu.%hhu", vc->options.toString(vc->options.addr_binding),
PRINT_IP(vc->options.local_addr));
       CHECK_SHOW(show("<tr>"
                       // "<td><a href=\"/connection/%d\">%d</a></td>"
-                      "<td>%d</td>" "<td>%s</td>"       // ipbuf
+                      "<td>%d</td>"     // ID
+                      "<td>%s</td>"     // ipbuf
                       "<td>%d</td>"     // port
                       "<td>%d</td>"     // fd
                       "<td>%s</td>"     // interbuf
@@ -91,7 +92,8 @@ struct ShowNet: public ShowCont
                       "<td>%d secs</td>"        // Activity timeout at
                       "<td>%d</td>"     // shutdown
                       "<td>-%s</td>"    // comments
-                      "</tr>\n", vc->id,        // vc->id,
+                      "</tr>\n",
+                      vc->id,
                       ipbuf,
                       vc->port,
                       vc->con.fd,
@@ -132,15 +134,16 @@ struct ShowNet: public ShowCont
                     "<th>Time Started</th>"
                     "<th>Thread</th>"
                     "<th>Read Enabled</th>"
-                    "<th>Read Priority</th>"
                     "<th>Read NBytes</th>"
                     "<th>Read NDone</th>"
                     "<th>Write Enabled</th>"
-                    "<th>Write Priority</th>"
                     "<th>Write NBytes</th>"
                     "<th>Write NDone</th>"
                     "<th>Inactive Timeout</th>"
-                    "<th>Active   Timeout</th>" "<th>Shutdown</th>"
"<th>Comments</th>" "</tr>\n"));
+                    "<th>Active   Timeout</th>"
+                    "<th>Shutdown</th>"
+                    "<th>Comments</th>"
+                    "</tr>\n"));
     SET_HANDLER(&ShowNet::showConnectionsOnThread);
     eventProcessor.eventthread[ET_NET][0]->schedule_imm(this); // This can not use ET_TASK.
     return EVENT_CONT;



Mime
View raw message