summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-02-21 19:25:13 +0000
committermarcel <marcel@FreeBSD.org>2009-02-21 19:25:13 +0000
commitef2c45517283867221ddf0db10565c7ca9c93bce (patch)
tree7544fbb16a32db8b0a9c93a7fe93c306a828c0be /sys/vm
parentd6b23ce1539543a5cc3dfe32ca002797fb016713 (diff)
downloadFreeBSD-src-ef2c45517283867221ddf0db10565c7ca9c93bce.zip
FreeBSD-src-ef2c45517283867221ddf0db10565c7ca9c93bce.tar.gz
o When creating the EBR scheme, set the number of entries
properly. Otherwise the minimum of 1 is used and you can only insert a single partition/slice and only at sector 0 (index 1). o When adding a partition/slice, recalculate the index after the start and size of the partition/slice are adjusted to make them a multiple of the track size. Since the precheck method sets the index based on the start of the partition as provided by the user, we know that we're off by at most 1 and adjusting the index is safe.
Diffstat (limited to 'sys/vm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud