OpenSolaris

Printable Version Enter a New Search
Bug ID 6532635
Synopsis ZFS keeps devices open unnecessarily
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Eric Schrock
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_68
Fixed In snv_68
Release Fixed solaris_nevada(snv_68) , solaris_10u6(s10u6_01) (Bug ID:2156318)
Related Bugs
Submit Date 9-March-2007
Last Update Date 3-July-2007
Description
Currently, if a device (disk or file) is successfully opened, but
the contents don't match a known value, we mark the vdev as
VDEV_STATE_CANT_OPEN, but we never invoke the 'close' op for the
underlying vdev type.  If the rest of the pool is opened
successfully, we end up keeping the underlying device open forever,
or at least until vdev_offline() is called explicitly.  This can
lead to some confusion when trying to figure out why a
particular device is busy.

In vdev_set_state(), we should always invoke the close() routine
if we are setting the vdev state to anything that would mark it
dead.
Work Around
N/A
Comments
N/A