Re: [resend v1 4/5] drivers/nvme/host/core.c: Convert to use disk_set_capacity

From: Martin K. Petersen
Date: Wed Jan 08 2020 - 22:33:29 EST



Christoph,

>> The expected behaviour is not clear, but the functionality is not
>> broken, user space should be able to deal with a resize event where
>> the previous capacity == new capacity IMHO.
>
> I think it makes sense to not bother with a notification unless there
> is an actual change.

I agree.

--
Martin K. Petersen Oracle Linux Engineering