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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1493835300.3901.28.camel@sandisk.com>
Date:   Wed, 3 May 2017 18:15:02 +0000
From:   Bart Van Assche <Bart.VanAssche@...disk.com>
To:     "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
        "bergwolf@...il.com" <bergwolf@...il.com>
CC:     "jejb@...ux.vnet.ibm.com" <jejb@...ux.vnet.ibm.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "martin.petersen@...cle.com" <martin.petersen@...cle.com>
Subject: Re: [PATCH RFC] scsi: wait sd probing in manual scan

On Fri, 2017-04-28 at 15:48 +0800, Peng Tao wrote:
> We have a guest init programe trying to mount a device after doing scsi host scan
> at boot time. Occasionally it fails to find the device when mounting. After digging
> a bit, it seems the root cause is sd async_schedule probing.
> 
> With async probing, there is no guarantee of device readiness when scsi host
> scan finishes. However, users do expect to have a valid way to make sure device
> is usable. Change scsi scan to wait sd probing in manual scan case so that we
> don't leave user with random device state when scsi host scan returns.
> 
> Is this the right way to have such guarantee?

Hello Peng,

Please fix the guest init program such that it waits until the SCSI device
it needs is ready.

Thanks,

Bart.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ