lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 1 Jul 2021 15:49:51 +0100
From:   Christoph Hellwig <hch@...radead.org>
To:     Martin Kepplinger <martin.kepplinger@...i.sm>
Cc:     bvanassche@....org, jejb@...ux.ibm.com,
        linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
        linux-scsi@...r.kernel.org, martin.petersen@...cle.com,
        kernel@...i.sm, stern@...land.harvard.edu
Subject: Re: [PATCH v5 2/3] scsi: sd: send REQUEST SENSE for
 BLIST_MEDIA_CHANGE devices in runtime_resume()

On Wed, Jun 30, 2021 at 10:44:52AM +0200, Martin Kepplinger wrote:
> +	struct scsi_disk *sdkp = dev_get_drvdata(dev);
> +	struct scsi_device *sdp = sdkp->device;
> +	int timeout, res;
> +
> +	timeout = sdp->request_queue->rq_timeout * SD_FLUSH_TIMEOUT_MULTIPLIER;

Is REQUEST SENSE reqlly a so slow operation on these devices that
we need to override the timeout?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ