freebsd-dev/sys/cam/ata
Alexander Motin 76d843dab2 Make CAM ATA stack handle disk resizes.
While for ATA disks resize is even more rare situation than for SCSI, it
may happen in case of HPA or AMA being used.  Make ATA XPT report minor
IDENTIFY DATA change to upper layers with AC_GETDEV_CHANGED, and ada(4)
periph driver handle that event, recalculating all the disk properties and
signalling resize to GEOM.  Since ATA has no mechanism of UNIT ATTENTIONs,
like SCSI, it has no way to detect that something has changed.  That is why
this functionality depends on explicit reprobe via XPT_REPROBE_LUN call.

MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	iXsystems, Inc.
2019-07-23 02:11:14 +00:00
..
ata_all.c Add Accessible Max Address Configuration support to camcontrol. 2019-07-19 19:15:08 +00:00
ata_all.h Replay r349340 by imp accidentally reverted by r349352 2019-06-25 06:14:21 +00:00
ata_da.c Make CAM ATA stack handle disk resizes. 2019-07-23 02:11:14 +00:00
ata_pmp.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
ata_xpt.c Make CAM ATA stack handle disk resizes. 2019-07-23 02:11:14 +00:00