Make the da(4) driver notify GEOM about LUN size change.
Reviewed by: mav Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
bc97ce36f7
commit
c79ea20306
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238217
@ -2644,6 +2644,8 @@ dasetgeom(struct cam_periph *periph, uint32_t block_len, uint64_t maxsector,
|
||||
softc->disk->d_flags |= DISKFLAG_CANDELETE;
|
||||
else
|
||||
softc->disk->d_flags &= ~DISKFLAG_CANDELETE;
|
||||
|
||||
disk_resize(softc->disk);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user