summaryrefslogtreecommitdiff
path: root/block/bfq-cgroup.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-06-20 21:15:46 +0300
committerJens Axboe <axboe@kernel.dk>2017-06-21 04:27:14 +0300
commit332ebbf7f9efb31ffc363b99da548963ee3fd66d (patch)
tree6e14e628aefabbe5331544977f9300c9800c8aa3 /block/bfq-cgroup.c
parent2fff8a924d4c614b5a17b2a236a2cf09aa51af5f (diff)
downloadlinux-332ebbf7f9efb31ffc363b99da548963ee3fd66d.tar.xz
block: Document what queue type each function is intended for
Some functions in block/blk-core.c must only be used on blk-sq queues while others are safe to use against any queue type. Document which functions are intended for blk-sq queues and issue a warning if the blk-sq API is misused. This does not only help block driver authors but will also make it easier to remove the blk-sq code once that code is declared obsolete. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Omar Sandoval <osandov@fb.com> Cc: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-cgroup.c')
0 files changed, 0 insertions, 0 deletions