Displaying 4 results from an estimated 4 matches for "sdstat".
Did you mean:
mdstat
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...completion back
> + * to the SCSI mid layer.
> + */
> +static void pvscsi_complete_request(struct pvscsi_adapter *adapter,
> + const struct PVSCSIRingCmpDesc *e)
> +{
> + struct pvscsi_ctx *ctx;
> + struct scsi_cmnd *cmd;
> + u32 btstat = e->hostStatus;
> + u32 sdstat = e->scsiStatus;
> +
> + ctx = pvscsi_get_context(adapter, e->context);
> + cmd = ctx->cmd;
> + pvscsi_unmap_buffers(adapter, ctx);
> + pvscsi_release_context(adapter, ctx);
> + cmd->result = 0;
> +
> + if (sdstat != SAM_STAT_GOOD &&
> + (btstat ==...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...completion back
> + * to the SCSI mid layer.
> + */
> +static void pvscsi_complete_request(struct pvscsi_adapter *adapter,
> + const struct PVSCSIRingCmpDesc *e)
> +{
> + struct pvscsi_ctx *ctx;
> + struct scsi_cmnd *cmd;
> + u32 btstat = e->hostStatus;
> + u32 sdstat = e->scsiStatus;
> +
> + ctx = pvscsi_get_context(adapter, e->context);
> + cmd = ctx->cmd;
> + pvscsi_unmap_buffers(adapter, ctx);
> + pvscsi_release_context(adapter, ctx);
> + cmd->result = 0;
> +
> + if (sdstat != SAM_STAT_GOOD &&
> + (btstat ==...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...Pull a completion descriptor off and pass the completion back
+ * to the SCSI mid layer.
+ */
+static void pvscsi_complete_request(struct pvscsi_adapter *adapter,
+ const struct PVSCSIRingCmpDesc *e)
+{
+ struct pvscsi_ctx *ctx;
+ struct scsi_cmnd *cmd;
+ u32 btstat = e->hostStatus;
+ u32 sdstat = e->scsiStatus;
+
+ ctx = pvscsi_get_context(adapter, e->context);
+ cmd = ctx->cmd;
+ pvscsi_unmap_buffers(adapter, ctx);
+ pvscsi_release_context(adapter, ctx);
+ cmd->result = 0;
+
+ if (sdstat != SAM_STAT_GOOD &&
+ (btstat == BTSTAT_SUCCESS ||
+ btstat == BTSTAT_LI...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...Pull a completion descriptor off and pass the completion back
+ * to the SCSI mid layer.
+ */
+static void pvscsi_complete_request(struct pvscsi_adapter *adapter,
+ const struct PVSCSIRingCmpDesc *e)
+{
+ struct pvscsi_ctx *ctx;
+ struct scsi_cmnd *cmd;
+ u32 btstat = e->hostStatus;
+ u32 sdstat = e->scsiStatus;
+
+ ctx = pvscsi_get_context(adapter, e->context);
+ cmd = ctx->cmd;
+ pvscsi_unmap_buffers(adapter, ctx);
+ pvscsi_release_context(adapter, ctx);
+ cmd->result = 0;
+
+ if (sdstat != SAM_STAT_GOOD &&
+ (btstat == BTSTAT_SUCCESS ||
+ btstat == BTSTAT_LI...