svn commit: r255717 - head/sbin/hastd

Mikolaj Golub trociny at FreeBSD.org
Thu Sep 19 20:20:59 UTC 2013


Author: trociny
Date: Thu Sep 19 20:20:59 2013
New Revision: 255717
URL: http://svnweb.freebsd.org/changeset/base/255717

Log:
  Fix comments.
  
  Approved by:	re (marius)
  MFC after:	3 days

Modified:
  head/sbin/hastd/secondary.c

Modified: head/sbin/hastd/secondary.c
==============================================================================
--- head/sbin/hastd/secondary.c	Thu Sep 19 20:19:08 2013	(r255716)
+++ head/sbin/hastd/secondary.c	Thu Sep 19 20:20:59 2013	(r255717)
@@ -85,14 +85,13 @@ static TAILQ_HEAD(, hio) hio_free_list;
 static pthread_mutex_t hio_free_list_lock;
 static pthread_cond_t hio_free_list_cond;
 /*
- * Disk thread (the one that do I/O requests) takes requests from this list.
+ * Disk thread (the one that does I/O requests) takes requests from this list.
  */
 static TAILQ_HEAD(, hio) hio_disk_list;
 static pthread_mutex_t hio_disk_list_lock;
 static pthread_cond_t hio_disk_list_cond;
 /*
- * There is one recv list for every component, although local components don't
- * use recv lists as local requests are done synchronously.
+ * Thread that sends requests back to primary takes requests from this list.
  */
 static TAILQ_HEAD(, hio) hio_send_list;
 static pthread_mutex_t hio_send_list_lock;


More information about the svn-src-head mailing list