X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre-iokit%2Fobdfilter-survey%2Flibecho;h=867915753c481f3d75d46b8d832aed4517666d67;hp=23aa2b851937e5c2d3be58500066b2c9a53d3b31;hb=24f601a0d459d48449d2e16b00f6ff3a889ed3b3;hpb=d01072f88090b05d188aa82b8f0a8e8f60fe0dd1 diff --git a/lustre-iokit/obdfilter-survey/libecho b/lustre-iokit/obdfilter-survey/libecho index 23aa2b8..8679157 100644 --- a/lustre-iokit/obdfilter-survey/libecho +++ b/lustre-iokit/obdfilter-survey/libecho @@ -259,6 +259,9 @@ get_ec_devno () { local host=$1 local client_name="$2" local ost_name="$3" + local dev_type="${4:-obdfilter}" + local stack_type="${5:-}" + if [ -z "$client_name" ]; then if [ -z "$ost_name" ]; then echo "client and ost name both null" @@ -276,7 +279,7 @@ get_ec_devno () { "$client_name, host: $host" exit 1 fi - ost=`get_devno $host obdfilter $ost_name` + ost=`get_devno $host $dev_type $ost_name` if [ -z "$ost" ]; then echo "OST $ost_name not setup" exit 1 @@ -284,7 +287,7 @@ get_ec_devno () { client_name=${ost_name}_ecc remote_shell $host "$lctl <