Project

General

Profile

Bug #7116

6922 could have been clearer about event vdev pointer

Added by Josef Sipek over 3 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2016-06-17
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

At the beginning of the function, we try to convert a guid to a vdev_t pointer by calling spa_lookup_by_guid with aux B_FALSE. It is my understanding that this will always result in vd NULL if the guid is for an L2ARC device. That means that when we make it into the sav_vdevs != NULL else-if, the sole user of vd will always be NULL.

Also available in: Atom PDF