summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2019-02-07 11:55:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 09:21:08 +0100
commit932ff095dac83d9ded67b8971c38631343368a2f (patch)
tree9746ce67041c50cc564251dee5ab45fb90e2af39 /net
parente2b5978b30e8c0461dc5499d3c4981e69383a92a (diff)
downloadlinux-stable-932ff095dac83d9ded67b8971c38631343368a2f.tar.gz
linux-stable-932ff095dac83d9ded67b8971c38631343368a2f.tar.bz2
linux-stable-932ff095dac83d9ded67b8971c38631343368a2f.zip
blktrace: Show requests without sector
[ Upstream commit 0803de78049fe1b0baf44bcddc727b036fb9139b ] Currently, blktrace will not show requests that don't have any data as rq->__sector is initialized to -1 which is out of device range and thus discarded by act_log_check(). This is most notably the case for cache flush requests sent to the device. Fix the problem by making blk_rq_trace_sector() return 0 for requests without initialized sector. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions