]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - block/blk.h
Merge tag 'rtc-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux.git] / block / blk.h
index 47fba9362e60ddf3b2ab83405ec4ec6f468b3e64..2bea40180b6fb294399072b03a850ec1a261574c 100644 (file)
@@ -242,14 +242,11 @@ int blk_dev_init(void);
  * Contribute to IO statistics IFF:
  *
  *     a) it's attached to a gendisk, and
- *     b) the queue had IO stats enabled when this request was started, and
- *     c) it's a file system request
+ *     b) the queue had IO stats enabled when this request was started
  */
 static inline bool blk_do_io_stat(struct request *rq)
 {
-       return rq->rq_disk &&
-              (rq->rq_flags & RQF_IO_STAT) &&
-               !blk_rq_is_passthrough(rq);
+       return rq->rq_disk && (rq->rq_flags & RQF_IO_STAT);
 }
 
 static inline void req_set_nomerge(struct request_queue *q, struct request *req)