Date: Wed, 11 May 2016 09:00:17 +0200 From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r299371 - in head: sbin/camcontrol sys/cam sys/cam/scsi Message-ID: <20160511070017.GB5193@brick> In-Reply-To: <201605101546.u4AFkX0w073701@repo.freebsd.org> References: <201605101546.u4AFkX0w073701@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160511070017.GB5193>