Re: [PATCH v2] scsi: avoid repetitive logging of device offline messages

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

 



Ewan,

> Large queues of I/O to offline devices that are eventually submitted
> when devices are unblocked result in a many repeated "rejecting I/O to
> offline device" messages.  These messages can fill up the dmesg buffer
> in crash dumps so no useful prior messages remain.  In addition, if a
> serial console is used, the flood of messages can cause a hard lockup
> in the console code.
>
> Introduce a flag indicating the message has already been logged for
> the device, and reset the flag when scsi_device_set_state() changes
> the device state.

Applied to 5.7/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[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