Reviewed by: Paul Dagnelie <[email protected]>
Reviewed by: Matt Ahrens <[email protected]>

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().

Upstream bug: DLPX-39390
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/608

-- Commit Summary --

  * DLPX-39390 metaslab size can exceed offset addressable by spacemap

-- File Changes --

    M usr/src/uts/common/fs/zfs/vdev.c (75)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/608.patch
https://github.com/openzfs/openzfs/pull/608.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/608

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T236e78a19fb45c82-Mb29da14094dd579034eb777a
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to