Bug #7116

6922 could have been clearer about event vdev pointer

Added by Josef Sipek over 2 years ago.

Status:NewStart date:2016-06-17
Priority:LowDue date:
Assignee:Josef Sipek% Done:


Category:zfs - Zettabyte File System
Target version:-
Difficulty:Bite-size Tags:needs-triage


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