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: <160074695011.411.12240453136529320837.b4-ty@oracle.com>
Date:   Mon, 21 Sep 2020 23:56:50 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Matej Genci <matej.genci@...anix.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        "jejb@...ux.ibm.com" <jejb@...ux.ibm.com>,
        "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
        "jasowang@...hat.com" <jasowang@...hat.com>,
        "stefanha@...hat.com" <stefanha@...hat.com>,
        "pbonzini@...hat.com" <pbonzini@...hat.com>,
        "virtualization@...ts.linux-foundation.org" 
        <virtualization@...ts.linux-foundation.org>,
        "mst@...hat.com" <mst@...hat.com>,
        Felipe Franciosi <felipe@...anix.com>
Subject: Re: [PATCH] Rescan the entire target on transport reset when LUN is 0

On Fri, 28 Aug 2020 12:21:35 +0000, Matej Genci wrote:

> VirtIO 1.0 spec says
>     The removed and rescan events ... when sent for LUN 0, they MAY
>     apply to the entire target so the driver can ask the initiator
>     to rescan the target to detect this.
> 
> This change introduces the behaviour described above by scanning the
> entire scsi target when LUN is set to 0. This is both a functional and a
> performance fix. It aligns the driver with the spec and allows control
> planes to hotplug targets with large numbers of LUNs without having to
> request a RESCAN for each one of them.

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: virtio_scsi: Rescan the entire target on transport reset when LUN is 0
      https://git.kernel.org/mkp/scsi/c/beef6fd02b90

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ