aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dkms.mkconf
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2017-05-24 15:11:23 -0700
committerBrian Behlendorf <[email protected]>2017-06-01 06:38:04 -0700
commit2e9c8dbddfa5d53aa2f9c508e3dc1263d89466ad (patch)
tree92f98daf54dbfeaf64e2f5f8ea01d4402f4b0910 /scripts/dkms.mkconf
parentb568efec526d9336292b37faae951aa9cfb4484c (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #6158
Diffstat (limited to 'scripts/dkms.mkconf')
0 files changed, 0 insertions, 0 deletions