OpenSolaris

Printable Version Enter a New Search
Bug ID 6521946
Synopsis ZFS DE needlessly subscribes to faults
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords
Responsible Engineer Eric Schrock
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_68
Fixed In snv_68
Release Fixed solaris_nevada(snv_68) , solaris_10u6(s10u6_01) (Bug ID:2156302)
Related Bugs
Submit Date 6-February-2007
Last Update Date 29-April-2008
Description
The current DE subscribes to "fault.zfs.*" events, but discards
any it gets:

        /*
         * Without a retire agent, we subscribe to our own faults and just
         * discard them.
         */
        if (fmd_nvl_class_match(hdl, nvl, "fault.fs.zfs.*"))
                return;

This is a holdover from the pre-hot spare days.  We now have a zfs-retire
agent that subscribes to the faults.  This code (and the associated
'subscribe' directive in the .conf file) are no longer needed.  This will
require a slight change to the zfs-retire agent, in that we currently
only subscribe to 'fault.fs.zfs.device' - this should be 'fault.fs.zfs.*'
and then have the agent filter appropriately within the module.
Work Around
N/A
Comments
N/A