…K devices

Reviewed by: George Wilson <george.wil...@delphix.com>
Reviewed by: John Kennedy <john.kenn...@delphix.com>

We hit a panic in the removal_with_ganging test using vdevs with 4k ashift for 
testing.

The problem is that the test intentionally induces ganging in allocations as 
small as 4K, but failing a minimum-size allocation (4K in this case) is not 
permitted. We should change the test to only gang 8K and larger, or make it 
dynamic based on the max ashift in the pool.

Note: the operative fix is removal_with_ganging.ksh line 37, the rest is 
renaming.

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

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

-- Commit Summary --

  * 9280 Assertion failure while running removal_with_ganging test with 4K 
devices

-- File Changes --

    M usr/src/cmd/mdb/common/modules/zfs/zfs.c (2)
    M usr/src/cmd/ztest/ztest.c (20)
    M usr/src/lib/libzpool/common/llib-lzpool (4)
    M usr/src/test/zfs-tests/tests/functional/removal/removal_with_ganging.ksh 
(10)
    M usr/src/uts/common/fs/zfs/metaslab.c (4)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/588.patch
https://github.com/openzfs/openzfs/pull/588.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/588

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T792d2b2649ac8e4b-Me8def2c742c58559cd769901
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to