summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2013-09-19 20:20:59 +0000
committertrociny <trociny@FreeBSD.org>2013-09-19 20:20:59 +0000
commit5db794f1d060b74774d6ca54a81edb5987da2602 (patch)
tree209a80dd0e18c8784ac0cee171b35ad92e296286 /sbin/hastd
parent5ea0541321e9ba54c56acd578c1c2fd41c7d0b1d (diff)
downloadFreeBSD-src-5db794f1d060b74774d6ca54a81edb5987da2602.zip
FreeBSD-src-5db794f1d060b74774d6ca54a81edb5987da2602.tar.gz
Fix comments.
Approved by: re (marius) MFC after: 3 days
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/secondary.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c
index f766003..067c5d9 100644
--- a/sbin/hastd/secondary.c
+++ b/sbin/hastd/secondary.c
@@ -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;
OpenPOWER on IntegriCloud