[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1y2uj283m.fsf@oracle.com>
Date: Mon, 06 Jan 2020 23:39:25 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: James Bottomley <jejb@...ux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@...cle.com>,
Balbir Singh <sblbir@...zon.com>, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, linux-nvme@...ts.infradead.org,
axboe@...nel.dk, ssomesh@...zon.com, hch@....de, mst@...hat.com,
Chaitanya.Kulkarni@....com
Subject: Re: [resend v1 5/5] drivers/scsi/sd.c: Convert to use disk_set_capacity
James,
>> We already emit an SDEV_EVT_CAPACITY_CHANGE_REPORTED event if device
>> capacity changes. However, this event does not automatically cause
>> revalidation.
>
> Which I seem to remember was a deliberate choice: some change
> capacities occur because the path goes passive and default values get
> installed.
Yep, it's very tricky territory.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists