[stgt] can't force-remove targets

Tomasz Chmielewski mangoo at wpkg.org
Tue May 19 10:53:35 CEST 2009


FUJITA Tomonori schrieb:

> Thanks for bisecting,
> 
> This patch works (sorry, I can't reproduce this problem as I said
> before)?
> 
> diff --git a/usr/iscsi/iscsid.c b/usr/iscsi/iscsid.c
> index 9252f4a..f3184fa 100644
> --- a/usr/iscsi/iscsid.c
> +++ b/usr/iscsi/iscsid.c
> @@ -1110,7 +1110,7 @@ static int iscsi_scsi_cmd_done(uint64_t nid, int result, struct scsi_cmd *scmd)
>  	 * the response with a little extra code or we can check if this
>  	 * task got reassinged to another connection.
>  	 */
> -	if (task->conn->state == STATE_CLOSE) {
> +	if (task->conn->state == STATE_CLOSE || task->conn->closed) {

No, it doesn't help here.


-- 
Tomasz Chmielewski
http://wpkg.org

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list