diff options
| author | Coly Li <colyli@suse.de> | 2018-10-08 20:41:09 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-10-08 08:19:40 -0600 |
| commit | 752f66a75abad2ae40b4570b3c77b422389cffcf (patch) | |
| tree | c8ca90145fc8dc948f2722a11b932aefb0b74940 /tools/perf/scripts/python | |
| parent | bcache: trace missed reading by cache_missed (diff) | |
| download | linux-752f66a75abad2ae40b4570b3c77b422389cffcf.tar.gz linux-752f66a75abad2ae40b4570b3c77b422389cffcf.zip | |
bcache: use REQ_PRIO to indicate bio for metadata
In cached_dev_cache_miss() and check_should_bypass(), REQ_META is used
to check whether a bio is for metadata request. REQ_META is used for
blktrace, the correct REQ_ flag should be REQ_PRIO. This flag means the
bio should be prior to other bio, and frequently be used to indicate
metadata io in file system code.
This patch replaces REQ_META with correct flag REQ_PRIO.
CC Adam Manzanares because he explains to me what REQ_PRIO is for.
Signed-off-by: Coly Li <colyli@suse.de>
Cc: Adam Manzanares <adam.manzanares@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
