Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752908Ab0KSDL5 (ORCPT ); Thu, 18 Nov 2010 22:11:57 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.141]:56261 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340Ab0KSDLy (ORCPT ); Thu, 18 Nov 2010 22:11:54 -0500 Date: Thu, 18 Nov 2010 19:11:49 -0800 From: Malahal Naineni To: Hannes Reinecke Cc: "Jun'ichi Nomura" , Kiyoshi Ueda , michaelc@cs.wisc.edu, tytso@mit.edu, linux-scsi@vger.kernel.org, Mike Snitzer , jaxboe@fusionio.com, vst@vlnb.net, linux-kernel@vger.kernel.org, Christoph Hellwig , linux-raid@vger.kernel.org, linux-ide@vger.kernel.org, device-mapper development , James.Bottomley@suse.de, Sergei Shtylyov , konishi.ryusuke@lab.ntt.co.jp, linux-fsdevel@vger.kernel.org, jack@suse.cz, rwheeler@redhat.com, swhiteho@redhat.com, chris.mason@oracle.com, Tejun Heo Subject: Re: [dm-devel] [RFC] training mpath to discern between SCSI errors Message-ID: <20101119031149.GA28455@us.ibm.com> Mail-Followup-To: Hannes Reinecke , Jun'ichi Nomura , Kiyoshi Ueda , michaelc@cs.wisc.edu, tytso@mit.edu, linux-scsi@vger.kernel.org, Mike Snitzer , jaxboe@fusionio.com, vst@vlnb.net, linux-kernel@vger.kernel.org, Christoph Hellwig , linux-raid@vger.kernel.org, linux-ide@vger.kernel.org, device-mapper development , James.Bottomley@suse.de, Sergei Shtylyov , konishi.ryusuke@lab.ntt.co.jp, linux-fsdevel@vger.kernel.org, jack@suse.cz, rwheeler@redhat.com, swhiteho@redhat.com, chris.mason@oracle.com, Tejun Heo References: <20100825155918.GB8509@redhat.com> <4C7B984E.4070802@suse.de> <4C7B9F14.9080900@mvista.com> <4C7BA670.2060303@suse.de> <4C7BC5B4.3010707@suse.de> <4CBC00B3.7090603@ce.jp.nec.com> <4CBC35AE.9050002@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CBC35AE.9050002@suse.de> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1475 Lines: 39 Hannes Reinecke [hare@suse.de] wrote: > > Also (although this might be a bit off topic from your patch), > > can we expand such a distinction to what should be logged? > > Currently, it's difficult to distinguish important SCSI/block errors > > and less important ones in kernel log. > > For example, when I get a link failure on sda, kernel prints something > > like below, regardless of whether the I/O is recovered by multipathing or not: > > end_request: I/O error, dev sda, sector XXXXX > > > Indeed, when using the above we could be modifying the above > message, eg by > > end_request: transport error, dev sda, sector XXXXX > > or > > end_request: target error, dev sda, sector XXXXX > > which would improve the output noticeable. > > > Setting REQ_QUIET in dm-multipath could mask the message > > but also other important ones in SCSI. > > > Hmm. Not sure about that, but I think the above modifications will > be useful already. > > I'll be sending an updated patch. Hannes, is there an updated version of this patch? It applied fine with Linus git tree with a minor reject! I would like to test an updated version if you have one (the update seems to refer to better logging only, right?). Thanks, Malahal. -- 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/