Re: [PATCH] scsi: don't count non-failure CHECK_CONDITION as error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2016-01-15 at 14:27 -0500, Tejun Heo wrote:
> Hello, James.
> 
> On Fri, Jan 15, 2016 at 11:09:16AM -0800, James Bottomley wrote:
> > If we want to change what is being counted, we have to change the
> > definition, so what is the definition you want to see for counting
> > errors? and what's the reason driving this change?
> 
> There isn't anything else to it than what I already wrote.  It goes
> up
> for things which aren't failures making the counter essentially
> useless.  It's confusing from userland as it's unintuitive that these
> commands are wrapped in SCSI ATA passthrough commands which use sense
> data for result reporting and doing equivalent operations on native
> SCSI and ATA devices lead to different outcomes.  The counter as-is
> is
> just useless for libata devices.  If it can be rectified easily,
> great.  If not, it isn't anything critical.

That's the point we were making: it can't be rectified easily.  Simply
counting non-good returns is easy.  Counting something that's closer to
errors is hard because first we have to define what an "error" is (I
could see queue full being not an error, but what about not ready or
initializing command required?) and then implement and infrastructure
to classify and count the returns, which means an awful lot of sense
data parsing.

James

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux