Commit 9893b259 authored by Morris Jette's avatar Morris Jette
Browse files

Change gres/gpu sorting

Previous logic would sort by name using xstrcmp(). The new logic
extracts the numeric suffix and sorts based upon that number. The
difference is that the old algorithm would put "/dev/nvidia10" before
"/dev/nvidia2". The new logic would put "/dev/nvidia10" after
"/dev/nvidia2" and "/dev/nvidia9".
parent f8b04cb7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment