Commit 75bb4625bb78d6a2d879dcb6a7d482861295765b
1 parent
d852564f8c
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
blk-mq: add file comments and update copyright notices
None of the blk-mq files have an explanatory comment at the top for what that particular file does. Add that and add appropriate copyright notices as well. Signed-off-by: Jens Axboe <axboe@fb.com>
Showing 4 changed files with 28 additions and 0 deletions Side-by-side Diff
block/blk-mq-cpu.c
block/blk-mq-cpumap.c
block/blk-mq-tag.c
1 | +/* | |
2 | + * Fast and scalable bitmap tagging variant. Uses sparser bitmaps spread | |
3 | + * over multiple cachelines to avoid ping-pong between multiple submitters | |
4 | + * or submitter and completer. Uses rolling wakeups to avoid falling of | |
5 | + * the scaling cliff when we run out of tags and have to start putting | |
6 | + * submitters to sleep. | |
7 | + * | |
8 | + * Uses active queue tracking to support fairer distribution of tags | |
9 | + * between multiple submitters when a shared tag map is used. | |
10 | + * | |
11 | + * Copyright (C) 2013-2014 Jens Axboe | |
12 | + */ | |
1 | 13 | #include <linux/kernel.h> |
2 | 14 | #include <linux/module.h> |
3 | 15 | #include <linux/random.h> |