Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752817AbXLZUfT (ORCPT ); Wed, 26 Dec 2007 15:35:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751585AbXLZUfH (ORCPT ); Wed, 26 Dec 2007 15:35:07 -0500 Received: from baron.coile-labs.com ([65.14.39.133]:29782 "EHLO coraid.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751377AbXLZUfG (ORCPT ); Wed, 26 Dec 2007 15:35:06 -0500 From: "Ed L. Cashin" To: linux-kernel@vger.kernel.org Cc: Andrew Morton , "Ed L. Cashin" Subject: [PATCH] aoe: document the behavior of /dev/etherd/err Date: Wed, 26 Dec 2007 15:35:52 -0500 Message-Id: <1198701352-14778-1-git-send-email-ecashin@coraid.com> X-Mailer: git-send-email 1.5.3.4 In-Reply-To: <20071221220040.5862b43b.akpm@linux-foundation.org> References: <20071221220040.5862b43b.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 908 Lines: 29 Signed-off-by: Ed L. Cashin --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/