[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 05/12] linux: Reduce worst case wait to 10 seconds for disks
From: |
Thomas Schmitt |
Subject: |
Re: [PATCH 05/12] linux: Reduce worst case wait to 10 seconds for disks |
Date: |
Wed, 26 Oct 2022 09:27:41 +0200 |
Hi,
Damien Zammit wrote:
> I didn't think anyone would consider waiting 30 seconds for a cdrom in 2022.
With real hardware and a poor relation between drive and medium i would
deem 10 seconds too short as an upper limit. Worst time measured by
libburn's SCSI logging was about 25 seconds. That was in autumn 2020 with
a freshly bought Pioneer BD drive and a sequential/unformatted DVD-RW
medium.
The drive was not incommunicado, but repeatedly reported Not Ready when
inquired by TEST UNIT READY. The delay was not because of spinning up, but
because of the long time to assess the medium's type and state. The drive
light was blinking during the delay.
So if WAIT_WORSTCASE guards a loop of TEST UNIT READY commands, then i
would deem 30 seconds barely sufficient.
Have a nice day :)
Thomas
[PATCH 06/12] linux drivers: Don't depend on curr_pic_mask for APIC, Damien Zammit, 2022/10/25
[PATCH 08/12] i386: Add AP variants of descriptor tables, Damien Zammit, 2022/10/25
[PATCH 09/12] i386: Fix lapic and ioapic for smp, Damien Zammit, 2022/10/25