HomeFreeBSD

Do not invoke resize event if initial disk size is zero. Some disks

Description

Do not invoke resize event if initial disk size is zero. Some disks
report the size only after first opening. And due to the events are
asynchronous, some consumers can receive this event too late and
this confuses them. This partially restores previous behaviour, and
at the same time this should fix the problem, when already opened
provider loses resize event.

PR: 211028
MFC after: 3 weeks

Details

Provenance
aeAuthored on
Parents
rS303636: MFV be9130cc9: "IB/cma: Check for GID on listening devices first"
Branches
Unknown
Tags
Unknown