[PATCH] aoe: document the behavior of /dev/etherd/err

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: Andrew Morton <akpm@...>, Ed L. Cashin <ecashin@...>
Date: Wednesday, December 26, 2007 - 4:35 pm

Signed-off-by: Ed L. Cashin <ecashin@coraid.com>
---
 drivers/block/aoe/aoechr.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c
index 2620073..871f284 100644
--- a/drivers/block/aoe/aoechr.c
+++ b/drivers/block/aoe/aoechr.c
@@ -33,6 +33,10 @@ struct ErrMsg {
 	char *msg;
 };
 
+/* A ring buffer of error messages, to be read through
+ * "/dev/etherd/err".  When no messages are present,
+ * readers will block waiting for messages to appear.
+ */
 static struct ErrMsg emsgs[NMSG];
 static int emsgs_head_idx, emsgs_tail_idx;
 static struct semaphore emsgs_sema;
-- 
1.5.3.4

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 01/13] bring driver version number to 47, Ed L. Cashin, (Thu Dec 20, 6:15 pm)
[PATCH 13/13] update copyright date, Ed L. Cashin, (Thu Dec 20, 6:16 pm)
Re: [PATCH 13/13] update copyright date, Andrew Morton, (Sat Dec 22, 2:03 am)
[PATCH 12/13] make error messages more specific, Ed L. Cashin, (Thu Dec 20, 6:16 pm)
[PATCH 11/13] the aoeminor doesn't need a long format, Ed L. Cashin, (Thu Dec 20, 6:15 pm)
[PATCH] aoe: document the behavior of /dev/etherd/err, Ed L. Cashin, (Wed Dec 26, 4:35 pm)
[PATCH 08/13] only install new AoE device once, Ed L. Cashin, (Thu Dec 20, 6:15 pm)
[PATCH 05/13] eliminate goto and improve readability, Ed L. Cashin, (Thu Dec 20, 6:15 pm)
[PATCH 04/13] clean up udev configuration example, Ed L. Cashin, (Thu Dec 20, 6:15 pm)