|
@@ -79,14 +79,7 @@ enum rq_cmd_type_bits {
|
|
REQ_TYPE_PM_SUSPEND, /* suspend request */
|
|
REQ_TYPE_PM_SUSPEND, /* suspend request */
|
|
REQ_TYPE_PM_RESUME, /* resume request */
|
|
REQ_TYPE_PM_RESUME, /* resume request */
|
|
REQ_TYPE_PM_SHUTDOWN, /* shutdown request */
|
|
REQ_TYPE_PM_SHUTDOWN, /* shutdown request */
|
|
- REQ_TYPE_DRV_PRIV, /* driver defined type */
|
|
|
|
- /*
|
|
|
|
- * for ATA/ATAPI devices. this really doesn't belong here, ide should
|
|
|
|
- * use REQ_TYPE_DRV_PRIV and use rq->cmd[0] with the range of driver
|
|
|
|
- * private REQ_LB opcodes to differentiate what type of request this is
|
|
|
|
- */
|
|
|
|
- REQ_TYPE_ATA_TASKFILE,
|
|
|
|
- REQ_TYPE_ATA_PC,
|
|
|
|
|
|
+ REQ_TYPE_DRV_PRIV, /* driver defined types from here */
|
|
};
|
|
};
|
|
|
|
|
|
#define BLK_MAX_CDB 16
|
|
#define BLK_MAX_CDB 16
|
|
@@ -108,7 +101,7 @@ struct request {
|
|
struct blk_mq_ctx *mq_ctx;
|
|
struct blk_mq_ctx *mq_ctx;
|
|
|
|
|
|
u64 cmd_flags;
|
|
u64 cmd_flags;
|
|
- enum rq_cmd_type_bits cmd_type;
|
|
|
|
|
|
+ unsigned cmd_type;
|
|
unsigned long atomic_flags;
|
|
unsigned long atomic_flags;
|
|
|
|
|
|
int cpu;
|
|
int cpu;
|