Re: [PATCH] Remove 'unhandled error code' messages

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

 



On Thu, 2011-11-10 at 15:12 +0100, Hannes Reinecke wrote:
> scsi_io_completion() tries to take some action based on
> the command result and sense code. It also displays
> 'unhandled error code' or 'unhandled sense code' in case
> no special handling was found.
> This serves as an additional source of confusion to
> the unsuspecting user, as the message in fact means
> 'everything okay, no special casing required',
> and not 'oh gosh, something has happened and the system
> couldn't deal with it'.

It means we're just about to fail the command with an error.  That's not
really an everything ok case.

Sometimes, you're right, this is the correct thing to do silently, but
often it's not.  So, same question to you as to Rob: What are the
circumstances you want silent failure for and can you special case them?

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