On Wed, 5 Apr 2023 16:20:15 +0200 Stefan Haberland <sth@xxxxxxxxxxxxx> wrote: > Add a sysfs attribute aq_timeouts that controls after how many > timeouts a autoquiesce event might be triggered. > > The default value is 32768 which is the maximum number of retries > for the DASD device driver DASD_RETRIES_MAX. This means that the > timeout trigger will never happen. > > The default value for DASD retries is 255. > Setting the value to below 255 will trigger the timeout autoquiesce > event before an IO error is generated. > > Also add the check for the configured amount of timeouts and trigger > an autoquiesce event if exceeded. > > Signed-off-by: Stefan Haberland <sth@xxxxxxxxxxxxx> > Reviewed-by: Jan Hoeppner <hoeppner@xxxxxxxxxxxxx> Reviewed-by: Halil Pasic <pasic@xxxxxxxxxxxxx> [..]