]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r304142: ensure stripe size is non-zero multiple of 4096
authorrpokala <rpokala@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Feb 2017 08:37:43 +0000 (08:37 +0000)
committerrpokala <rpokala@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Feb 2017 08:37:43 +0000 (08:37 +0000)
commitfd85cd910533626a04a5a3687af3953404645e15
treefa433b3aa2b24c9bdf03c2cefb3d8b10f8414ef3
parentca02376656f828c96f9e75d65c2bca28e84701cb
MFC r304142: ensure stripe size is non-zero multiple of 4096

Ensure that the sector size is a multiple of 4096 to avoid creating
unaligned partitions when the actual sector size is hidden from us.

NOTE: This change was MFCed to stable/11 months ago as as r304448; I'm just
MFCing it back one more stream.

git-svn-id: svn://svn.freebsd.org/base/stable/10@313433 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bsdinstall/partedit/gpart_ops.c