]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add "camcontrol reprobe" subcommand, and implement it for da(4).
authortrasz <trasz@FreeBSD.org>
Tue, 10 May 2016 15:46:33 +0000 (15:46 +0000)
committertrasz <trasz@FreeBSD.org>
Tue, 10 May 2016 15:46:33 +0000 (15:46 +0000)
commit111d1f560e1d1967045d2e8eda18ed2d12bc6fcc
treebcc02ddfe1aa7091b03c48ab548587bf10d30912
parente08747edd2f2b5a853923dbf1483e6ce3bf5ab5a
Add "camcontrol reprobe" subcommand, and implement it for da(4).
This makes it possible to manually force updating capacity data
after the disk got resized. Without it it might be neccessary to
reboot before FreeBSD notices updated disk size under eg VMWare.

Discussed with: imp@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6108
sbin/camcontrol/camcontrol.8
sbin/camcontrol/camcontrol.c
sys/cam/cam_ccb.h
sys/cam/cam_xpt.c
sys/cam/scsi/scsi_da.c