This allows to connect to passthru targets when the client and target
are on the same host.
Signed-off-by: Alan Adamson <alan.adamson@oracle.com>
[Shin'ichiro: replaced single bracket with double brackets]
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
_test_dev_nvme_ctrl > "${passthru_path}/device_path"
echo 1 > "${passthru_path}/enable"
+ if [[ -f "${passthru_path}/clear_ids" ]]; then
+ echo 1 > "${passthru_path}/clear_ids"
+ fi
}
_remove_nvmet_passhtru() {