LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: linux-kernel@vger.kernel.org, jejb@linux.ibm.com,
linux-scsi@vger.kernel.org, lijinlin3@huawei.com
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
bvanassche@acm.org, yanaijie@huawei.com, wubo40@huawei.com,
john.garry@huawei.com, linfeilong@huawei.com
Subject: Re: [PATCH v2] scsi: Fix the issue that the disk capacity set to zero
Date: Wed, 28 Jul 2021 23:37:04 -0400 [thread overview]
Message-ID: <162752979290.3014.18254427496615744471.b4-ty@oracle.com> (raw)
In-Reply-To: <20210727034455.1494960-1-lijinlin3@huawei.com>
On Tue, 27 Jul 2021 11:44:55 +0800, lijinlin3@huawei.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
prev parent reply other threads:[~2021-07-29 3:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-27 3:44 lijinlin3
2021-07-27 3:25 ` Martin K. Petersen
2021-07-27 6:15 ` lijinlin
2021-07-27 3:39 ` Bart Van Assche
2021-07-27 8:48 ` John Garry
2021-07-27 12:08 ` lijinlin
2021-07-29 3:37 ` Martin K. Petersen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162752979290.3014.18254427496615744471.b4-ty@oracle.com \
--to=martin.petersen@oracle.com \
--cc=bvanassche@acm.org \
--cc=jejb@linux.ibm.com \
--cc=john.garry@huawei.com \
--cc=lijinlin3@huawei.com \
--cc=linfeilong@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=wubo40@huawei.com \
--cc=yanaijie@huawei.com \
--subject='Re: [PATCH v2] scsi: Fix the issue that the disk capacity set to zero' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).