svn commit: r299371 - in head: sbin/camcontrol sys/cam sys/cam/scsi

Edward Tomasz Napierala trasz at FreeBSD.org
Wed May 11 07:00:23 UTC 2016


On 0510T1546, Edward Tomasz Napierala wrote:
> Author: trasz
> Date: Tue May 10 15:46:33 2016
> New Revision: 299371
> URL: https://svnweb.freebsd.org/changeset/base/299371
> 
> Log:
>   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.

Turns out there was an earlier patch, written by Matthew Grooms
<mgrooms at shrew.net>, that provided the same functionality,
and was submitted in PR 204901.  While I don't remember seeing
the actual diff (I'd just commit it if I had), and the code looks
different, I do remember discussing this, and Matthew's analysis
of the problem was crucial for getting this done.  The code also
works in a pretty much same way.  Great minds think alike, I
guess :-)

(I should learn to check the PR database before writing code,
though.  Sorry for that.)



More information about the svn-src-head mailing list