]> git.baikalelectronics.ru Git - kernel.git/commit
blktrace: Trace remapped requests correctly
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:36 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:30 +0000 (12:14 -0600)
commita475b361d7c6b196e1d1b9f18f62891dbf204d82
tree4a5509b7adc65e7c6861d1c30678b29c6dd0027b
parent71df520af54742a22c2a8d1a357363b7d8740e86
blktrace: Trace remapped requests correctly

Trace the remapped operation and its flags instead of only the data
direction of remapped operations. This issue was detected by analyzing
the warnings reported by sparse related to the new blk_opf_t type.

Reviewed-by: Jun'ichi Nomura <junichi.nomura@nec.com>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Mike Christie <michael.christie@oracle.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Chaitanya Kulkarni <kch@nvidia.com>
Fixes: 9dbf0eab28ec ("blktrace: use op accessors")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-11-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c