zfs/lib
Chunwei Chen 412e3c26a9 Fix import finding spare/l2cache when path changes
When spare or l2cache device path changes, zpool import will not fix up
their paths like normal vdev. The issue is that when you supply a pool
name argument to zpool import, it will use it to filter out device which
doesn't have the pool name in the label. Since spare and l2cache device
never have that in the label, they'll always get filtered out.

We fix this by making sure we never filter out a spare or l2cache
device.

Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #6158
2017-06-09 14:05:15 -07:00
..
libavl Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libefi Add support for s390[x]. 2016-03-22 17:54:06 -07:00
libnvpair Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libshare Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libspl Fix atomic_sub_64() i386 assembly implementation 2017-06-09 14:05:15 -07:00
libunicode Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libuutil Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libzfs Fix import finding spare/l2cache when path changes 2017-06-09 14:05:15 -07:00
libzfs_core Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libzpool Add support for asynchronous zvol minor operations 2016-03-22 18:08:04 -07:00
Makefile.am Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00