{"push_id":636545228,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"de6d1976835959275fbdc00d74bb8fb86071f079","before":"7fad6290eb3aefc9cbb6a64e4cbe5371af53f726","commits":[{"sha":"de6d1976835959275fbdc00d74bb8fb86071f079","author":{"email":"ebf978237c6e59651e11d99d9ffc66072d4c2aa4@llnl.gov","name":"Chris Dunlap"},"message":"Fix io-spare.sh to work with disk vdevs\n\nThe \"zpool status\" output shows the full pathname for file-type vdevs,\nbut only the basename component for disk-type vdevs.  In commit\nbee6665, the \"basename\" command was dropped from altering the vdev\nname used when searching the \"zpool status\" output.  Consequently,\nhot-disk sparing for disk vdevs broke since \"zpool status\" output\nwas now being searched for the full pathname to the disk vdev.\n\nParsing the \"zpool status\" output in this manner is rather brittle.\nIt would be preferable to search for the vdev based on its guid.\nBut until that happens, this commit adds back the \"basename\" command\nto fix the vdev name breakage.\n\nSigned-off-by: Chris Dunlap <cdunlap@llnl.gov>\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses #3310","distinct":true,"url":"https://api.github.com/repos/behlendorf/zfs/commits/de6d1976835959275fbdc00d74bb8fb86071f079"}]}