OSDN Git Service

block: move REQ_RAHEAD to common flags
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Oct 2016 13:12:11 +0000 (15:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 28 Oct 2016 14:45:17 +0000 (08:45 -0600)
commit188bd2b16b3c6ea87a90df20f33db0adcdb75f0c
tree6ccc9bf7bd7dbd03f73e3ed54ea997259400e588
parentbd1c1c21741cbd6e894960bcbc8b36f719590064
block: move REQ_RAHEAD to common flags

The information that am I/O is a read-ahead can be useful for drivers.
In fact the NVMe driver already checks it, even if it won't ever be set
at the moment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blk_types.h