Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757555AbZDEHD1 (ORCPT ); Sun, 5 Apr 2009 03:03:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755556AbZDEHDO (ORCPT ); Sun, 5 Apr 2009 03:03:14 -0400 Received: from mail-fx0-f158.google.com ([209.85.220.158]:46087 "EHLO mail-fx0-f158.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755421AbZDEHDN (ORCPT ); Sun, 5 Apr 2009 03:03:13 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rMpfBojCILA9y+6fJNDCHdsAZjjgYwLuPzS2FnhZ7j6dGAmJ2UjfS5JEEusZ28B1qX /OEw2aPGwtCHnm3i8XLWBYF9RQxt7IT2bp3mZwyXm52CanVmbp6xEqLPDUJUfc4Dn6BG AsZRB69CRUeyNoYNWGioKZzupJtS4zzB91/Ek= MIME-Version: 1.0 In-Reply-To: <1238904131.4250.755.camel@haakon2.linux-iscsi.org> References: <1238904131.4250.755.camel@haakon2.linux-iscsi.org> Date: Sun, 5 Apr 2009 09:03:09 +0200 Message-ID: Subject: Re: [RFC PATCH 14/19] Target_Core_Mod SCSI MIBs From: Bart Van Assche To: linux-iscsi-target-dev@googlegroups.com Cc: LKML , linux-scsi , James Bottomley , Andrew Morton , Hannes Reinecke , FUJITA Tomonori , Mike Christie , "Martin K. Petersen" , Ming Zhang , Philipp Reisner , Linus Torvalds , Vladislav Bolkhovitin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1151 Lines: 25 On Sun, Apr 5, 2009 at 6:02 AM, Nicholas A. Bellinger wrote: > > This patch adds support for SCSI MIBs through /proc/scsi_target/mib following RFC-4455. According to the Net-SNMP documentation, an implementation of the SCSI-MIB (RFC 4455) for Linux does not yet exist (http://www.net-snmp.org/docs/mibs/). It would be great once implementation of this MIB starts, the kernel would offer a well-documented interface that allows to query the information this MIB exports. This interface can then be implemented in any SCSI target for which these statistics are available in the kernel (SCST, IET, LIO). This will allow a single implementation of RFC 4455 in the Net-SNMP project instead of multiple. The patch you posted exports the statistics needed by RFC 4455 through a procfs interface. Sorry, but IMHO this information should be exported in other way than through procfs. Bart. -- 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/