blk: disable IO_STAT completely

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
fourteen
Park Ju Hyung 6 years ago committed by Jenna
parent ce10d00810
commit 181d55d7fb
  1. 4
      block/blk.h

@ -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)

Loading…
Cancel
Save