Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdev_id: Fix PHY sorting #12699

Merged
merged 1 commit into from
Oct 29, 2021
Merged

vdev_id: Fix PHY sorting #12699

merged 1 commit into from
Oct 29, 2021

Commits on Oct 27, 2021

  1. vdev_id: Fix PHY sorting

    One of our developers noticed a bug in vdev_id where we were incorrectly
    sorting PHYs using alphabetical sorting (which usually works) instead
    of natural sorting (-v).  For example:
    
    	[port-0:0]# ls -d phy*
    	phy-0:10  phy-0:11  phy-0:8  phy-0:9
    
    	[port-0:0]# ls -vd phy*
    	phy-0:8  phy-0:9  phy-0:10  phy-0:11
    
    This fixes the issue.
    
    Signed-off-by: Tony Hutter <hutter2@llnl.gov>
    tonyhutter committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    9fa5838 View commit details
    Browse the repository at this point in the history