diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-04-20 10:29:51 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-04-25 07:58:18 -0600 |
commit | fe644072dfee069d97a66ea9a80f4bc461499e6a (patch) | |
tree | c01b98e9f3ef05e1b5426bf6657fb323fd027ed6 /include/linux/blk-mq.h | |
parent | e9938f552fc279e87afcbff430cd6f8966ef31b3 (diff) | |
download | linux-stable-fe644072dfee069d97a66ea9a80f4bc461499e6a.tar.gz linux-stable-fe644072dfee069d97a66ea9a80f4bc461499e6a.tar.bz2 linux-stable-fe644072dfee069d97a66ea9a80f4bc461499e6a.zip |
block: mq: Add some minor doc for core structs
As it came up in discussion on the mailing list that the semantic
meaning of 'blk_mq_ctx' and 'blk_mq_hw_ctx' isn't completely
obvious to everyone, let's add some minimal kerneldoc for a
starter.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index e3986f4b3461..ebc34a5686dc 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -9,6 +9,9 @@ struct blk_mq_tags; struct blk_flush_queue; +/** + * struct blk_mq_hw_ctx - State for a hardware queue facing the hardware block device + */ struct blk_mq_hw_ctx { struct { spinlock_t lock; |