Commit 9380f06b authored by Vishal Verma's avatar Vishal Verma Committed by Daniel Verkamp
Browse files

iscsi: Correct return code values of bdev iscsi pollers



This corrects return code value of the bdev iscsi pollers. It was
needed to ensure all the pollers output consistent return code
values. This will further help in measuring consistent poller busy,
idle or unknown tsc stats.

Change-Id: I19c678bee9079f6aa453a4b925819a5ea1086534
Signed-off-by: default avatarVishal Verma <vishal4.verma@intel.com>
Reviewed-on: https://review.gerrithub.io/414722


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 194d6af6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@ bdev_iscsi_poll_lun(struct bdev_iscsi_lun *lun)
		}
	}

	return 0;
	return -1;
}

static int
@@ -667,7 +667,7 @@ iscsi_bdev_conn_poll(void *arg)
		}
	}

	return 0;
	return -1;
}

int