|
|
@ -277,9 +277,7 @@ extern int blk_update_nr_requests(struct request_queue *, unsigned int); |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
static inline int blk_do_io_stat(struct request *rq) |
|
|
|
static inline int blk_do_io_stat(struct request *rq) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return rq->rq_disk && |
|
|
|
return false; |
|
|
|
(rq->rq_flags & RQF_IO_STAT) && |
|
|
|
|
|
|
|
!blk_rq_is_passthrough(rq); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static inline void req_set_nomerge(struct request_queue *q, struct request *req) |
|
|
|
static inline void req_set_nomerge(struct request_queue *q, struct request *req) |
|
|
|