]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r337029:
authorAlexander Motin <mav@FreeBSD.org>
Wed, 1 Aug 2018 03:21:17 +0000 (03:21 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 1 Aug 2018 03:21:17 +0000 (03:21 +0000)
commit3c09eaee95308c24632df1e978594edf46afa518
tree510885ee0e73a36bb9829c2037433a9c25092b8b
parente74aee0b252a12057b44b462e45cc395fbb35b74
parent2a44a23db2023b975e979c690e4453b5d39431b2
MFV r337029:
9426 metaslab size can exceed offset addressable by spacemap

metaslab size can exceed offset addressable by spacemap. The vdev can
address up to 2^63 * SPA_MAXBLOCKSIZE (512). A metaslab can address up to
2^47 * 2^vdev_ashift. Therefore we may need to increase the number of
metaslabs so that the maximum metaslab size is capped at the amount that
can be addressed by the spacemap. This should happen in
vdev_metaslab_set_size().

illumos/illumos-gate@b4bf0cf0458759c67920a031021a9d96cd683cfe

Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matt Ahrens <matt@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author:     Don Brady <don.brady@delphix.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c