]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update disk's stripesize and stripeoffset parameters on provider open.
authorAlexander Motin <mav@FreeBSD.org>
Fri, 3 Jun 2011 13:49:18 +0000 (13:49 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Fri, 3 Jun 2011 13:49:18 +0000 (13:49 +0000)
commit0330cb3bf7b1f5c58872cdf0516b2add071e79ef
tree4d4954ebf4bee4290abfdd76aad49b4673927f14
parent190367ef1cd962463f51036d6069457db85eb272
Update disk's stripesize and stripeoffset parameters on provider open.
They are media-dependent and may change in run-time, same as sectorsize
and/or mediasize.

SCSI devices return physical sector size and offset via READ CAPACITY(16)
command and so can not report it until media inserted or at least until
probe sequence completed. UNMAP support is also reported there.
sys/geom/geom_disk.c