Project

General

Profile

Bug #11768

disabled resilver_defer feature leads to looping resilvers

Added by Kody Kantor 14 days ago. Updated 2 days ago.

Status:
New
Priority:
High
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

When a disk is replaced with another on a pool with the resilver_defer
feature present, but not enabled the resilver activity restarts during
each spa_sync. This patch checks to make sure that the resilver_defer
feature is first enabled before requesting a deferred resilver.

This was originally fixed in illumos-joyent as OS-7982 (https://smartos.org/bugview/OS-7982).
This has been added to ZoL already as well. We should pull the fix into illumos-gate.


Related issues

Related to illumos gate - Bug #10952: defer new resilvers and misc. resilver-related fixesClosed2019-05-14

Actions

History

#1

Updated by Joshua M. Clulow 2 days ago

  • Related to Bug #10952: defer new resilvers and misc. resilver-related fixes added
#2

Updated by Joshua M. Clulow 2 days ago

So this regression was introduced in #10952?

#3

Updated by Joshua M. Clulow 2 days ago

I just hit this on a machine where I turned the rpool into a mirror. It looks like you have reviewers -- are we ready for integration?

Also available in: Atom PDF