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] [day] [month] [year] [list]
Message-Id: <162752979290.3014.18254427496615744471.b4-ty@oracle.com>
Date:   Wed, 28 Jul 2021 23:37:04 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     linux-kernel@...r.kernel.org, jejb@...ux.ibm.com,
        linux-scsi@...r.kernel.org, lijinlin3@...wei.com
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        bvanassche@....org, yanaijie@...wei.com, wubo40@...wei.com,
        john.garry@...wei.com, linfeilong@...wei.com
Subject: Re: [PATCH v2] scsi: Fix the issue that the disk capacity set to zero

On Tue, 27 Jul 2021 11:44:55 +0800, lijinlin3@...wei.com wrote:

> After add physical volumes to a volume group through vgextend, kernel
> will rescan partitions, which will read the capacity of the device.
> If the device status is set to offline through sysfs at this time,
> read capacity command will return a result which the host byte is
> DID_NO_CONNECT, the capacity of the device will be set to zero in
> read_capacity_error(). However, the capacity of the device can't be
> reread after reset the device status to running, is still zero.
> 
> [...]

Applied to 5.14/scsi-fixes, thanks!

[1/1] scsi: Fix the issue that the disk capacity set to zero
      https://git.kernel.org/mkp/scsi/c/d5c8db0e5cd4

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ