summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorEric Wheeler2017-10-14 01:35:33 +0200
committerJens Axboe2017-10-16 17:07:26 +0200
commitb41c9b0266e8370033a7799f6806bfc70b7fd75f (patch)
tree0c2aa53a2c267290dae162b6573ab0f74d73194d /drivers/thunderbolt
parentbcache: Remove redundant set_capacity (diff)
downloadkernel-qcow2-linux-b41c9b0266e8370033a7799f6806bfc70b7fd75f.tar.gz
kernel-qcow2-linux-b41c9b0266e8370033a7799f6806bfc70b7fd75f.tar.xz
kernel-qcow2-linux-b41c9b0266e8370033a7799f6806bfc70b7fd75f.zip
bcache: update bio->bi_opf bypass/writeback REQ_ flag hints
Flag for bypass if the IO is for read-ahead or background, unless the read-ahead request is for metadata (eg, from gfs2). Bypass if: bio->bi_opf & (REQ_RAHEAD|REQ_BACKGROUND) && !(bio->bi_opf & REQ_META)) Writeback if: op_is_sync(bio->bi_opf) || bio->bi_opf & (REQ_META|REQ_PRIO) Signed-off-by: Eric Wheeler <bcache@linux.ewheeler.net> Reviewed-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions