Re: [resend v1 4/5] drivers/nvme/host/core.c: Convert to use disk_set_capacity
From: Ewan D. Milne
Date: Thu Jan 09 2020 - 08:12:39 EST
On Wed, 2020-01-08 at 22:33 -0500, Martin K. Petersen wrote:
> 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.
>
Yes, absolutely.