search for: task_aborted

Displaying 2 results from an estimated 2 matches for "task_aborted".

2013 Aug 16
0
RocketRAID cards (actually, solved)
...l changes to the code. /* #ifndef IRQ_HANDLED */ #ifndef _LINUX_IRQRETURN_H 4. In osm_linux.c, I changed from the first line below to the second. /* SCpnt->result = ((DRIVER_INVALID|SUGGEST_ABORT)<<24) | (DID_ABORT<<16); */ SCpnt->result = ((DRIVER_INVALID|TASK_ABORTED)<<24) | (DID_ABORT<<16); Again, some defines are long gone. I chose TASK_ABORTED because it had the same hex value as SUGGEST_ABORT, 0x20, and seemed appropriate. Then it was cd into rr232x-linux-src-v1.8/product/rr232x/linux/, make clean, make, make install. The install...
2007 Jan 02
0
[PATCH 1/4] add scsi-target and IO_CMD_EPOLL_WAIT patches
...t find tag %llu\n", ++ (unsigned long long) tag); ++ err = -EINVAL; ++ goto done; ++ } ++ cmd = rq->special; ++ ++ dprintk("cmd %p result %d len %d bufflen %u %lu %x\n", cmd, ++ result, len, cmd->request_bufflen, rq_data_dir(rq), cmd->cmnd[0]); ++ ++ if (result == TASK_ABORTED) { ++ scsi_tgt_abort_cmd(shost, cmd); ++ goto done; ++ } ++ /* ++ * store the userspace values here, the working values are ++ * in the request_* values ++ */ ++ tcmd = cmd->request->end_io_data; ++ tcmd->buffer = (void *)uaddr; ++ tcmd->bufflen = len; ++ cmd->result = result; +...