Re: [PATCH] Increase drivetemp scsi command timeout to 10s.

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

 



On Tue, Jan 14, 2025 at 3:40 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> On Mon, Jan 13, 2025 at 11:07:04PM -0800, Russell Harmon wrote:
> > There's at least one drive (MaxDigitalData OOS14000G) such that if it
> > receives a large amount of I/O while entering an idle power state will
> > first exit idle before responding, including causing SMART temperature
> > requests to be delayed.
> >
> > This causes the drivetemp request to exceed its timeout of 1 second.
> >
> > Example:
> >
> > Normal operation
> >
> > $ time cat /sys/class/hwmon/hwmon9/temp1_input
> > 28000
> > cat temp1_input  0.00s user 0.00s system 7% cpu 0.023 total
> > $ dd if=/dev/sdep of=/dev/null bs=1M iflag=direct  # Generate background load
> > $ ./openSeaChest_PowerControl -d /dev/sdep --transitionPower idle_a
> > $ time cat /sys/class/hwmon/hwmon9/temp1_input
> > 0
> > cat temp1_input  0.00s user 0.00s system 0% cpu 3.154 total
> > $ dmesg -t
> > sd 11:0:1:0: attempting task abort!scmd(0x00000000ef8da38c), outstanding for 2098 ms & timeout 1000 ms
> > sd 11:0:1:0: [sdep] tag#4639 CDB: ATA command pass through(16) 85 08 0e 00 d5 00 01 00 e0 00 4f 00 c2 00 b0 00
> > scsi target11:0:1: handle(0x0009), sas_address(0x4433221105000000), phy(5)
> > scsi target11:0:1: enclosure logical id(0x500062b202d7ea80), slot(6)
> > scsi target11:0:1: enclosure level(0x0000), connector name(     )
> > sd 11:0:1:0: task abort: SUCCESS scmd(0x00000000ef8da38c)
> > sd 11:0:1:0: Power-on or device reset occurred
> > $ time cat /sys/class/hwmon/hwmon9/temp1_input
> > 28000
> > cat /sys/class/hwmon/hwmon9/temp1_input  0.00s user 0.00s system 48% cpu 0.005 total
> >
>
> Please rebase on top of v6.13-rc7 and resend.
> When doing so, please drop test results (or send after "---".
> Also, the subject should start with "hwmon: (drivetemp) ..."

Sent. Thanks!





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux