scst_vdisk, scstadmin: Allow t10_dev_id to be stored before cluster_mode
Since cluster_mode relies upon the t10_dev_id to generate a namespace, once cluster_mode is set the t10_dev_id can no longer be changed. However, because cluster_mode is listed as one of the various add_dev_params, this meant that it would be set earlier than t10_dev_id when scstadmin processes scst.conf Rectify by adding t10_dev_id to fileio_add_dev_params, etc and modifying the SCST.pm openDevice so that cluster_mode is set last.
Showing
+38 -1
Please register or sign in to comment