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: Vishal Verma <vishal4.verma@intel.com>
Reviewed-on: https://review.gerrithub.io/414722
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Vishal Verma 2018-06-09 15:56:09 -06:00 committed by Daniel Verkamp
parent 194d6af65d
commit 9380f06bdc

View File

@ -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