diff options
author | 2014-03-19 15:25:02 -0600 | |
---|---|---|
committer | 2014-03-19 15:25:02 -0600 | |
commit | 5d12f905cc50c0810628d0deedd478ec2db48659 (patch) | |
tree | d1cb703151748740c5fb550630710a4f253a7e49 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-mq: allow blk_mq_init_commands() to return failure (diff) | |
download | wireguard-linux-5d12f905cc50c0810628d0deedd478ec2db48659.tar.xz wireguard-linux-5d12f905cc50c0810628d0deedd478ec2db48659.zip |
blk-mq: fix wrong usage of hctx->state vs hctx->flags
BLK_MQ_F_* flags are for hctx->flags, and are non-atomic and
set at registration time. BLK_MQ_S_* flags are dynamic and
atomic, and are accessed through hctx->state.
Some of the BLK_MQ_S_STOPPED uses were wrong. Additionally,
the header file should not use a bit shift for the _S_ flags,
as they are done through the set/test_bit functions.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions