Project

General

Profile

Bug #11541

allocation_classes feature must be enabled to add log device

Added by Jerry Jelinek 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

After the allocation_classes feature was integrated, one can no longer add a log device to a pool unless that feature is enabled. There is an explicit check for this, but it is unnecessary in the case og log devices, so we should handle this better instead of forcing the feature to be enabled.

History

#1

Updated by Jerry Jelinek 4 months ago

For testing, I did a zfs-test run, plus a manual sequence to create a test zpool without the allocation class feature enabled, then successfully added a log device.

#2

Updated by Electric Monk 4 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit c1064fd7ce62fe763a4475e9988ffea3b22137de

commit  c1064fd7ce62fe763a4475e9988ffea3b22137de
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2019-08-15T15:42:38.000Z

    11541 allocation_classes feature must be enabled to add log device
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Kody Kantor <kody.kantor@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF