aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2019-02-07 10:55:39 +0000
committerJens Axboe <[email protected]>2019-02-07 19:57:17 +0000
commit0803de78049fe1b0baf44bcddc727b036fb9139b (patch)
treeffaa5b77647c61a2a92cd054e1fbe81283213f29 /lib/assoc_array.c
parentfs: ratelimit __find_get_block_slow() failure message. (diff)
downloadkernel-0803de78049fe1b0baf44bcddc727b036fb9139b.tar.gz
kernel-0803de78049fe1b0baf44bcddc727b036fb9139b.zip
blktrace: Show requests without sector
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 <[email protected]> Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions