]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r354279:
authorToomas Soome <tsoome@FreeBSD.org>
Sun, 10 Nov 2019 09:32:17 +0000 (09:32 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Sun, 10 Nov 2019 09:32:17 +0000 (09:32 +0000)
commit2838303a877215d8fadef0e3e36d1493fd1f6855
tree167b5157016253983fb0fa0adb8a75c80505cab0
parent986f9a8ce48abb8ad6b633fef0923582dd489b25
MFC r354279:
loader: calculate physical vdev psize from asize

Since physical device asize is calculated from psize and the asize is stored
in pool label, we can use asize to set the value of psize, which is used to
calculate the location of the pool labels.
stand/libsa/zfs/zfsimpl.c
sys/cddl/boot/zfs/zfsimpl.h