Commit 75bb4625bb78d6a2d879dcb6a7d482861295765b

Authored by Jens Axboe
1 parent d852564f8c

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

  1 +/*
  2 + * CPU notifier helper code for blk-mq
  3 + *
  4 + * Copyright (C) 2013-2014 Jens Axboe
  5 + */
1 6 #include <linux/kernel.h>
2 7 #include <linux/module.h>
3 8 #include <linux/init.h>
block/blk-mq-cpumap.c
  1 +/*
  2 + * CPU <-> hardware queue mapping helpers
  3 + *
  4 + * Copyright (C) 2013-2014 Jens Axboe
  5 + */
1 6 #include <linux/kernel.h>
2 7 #include <linux/threads.h>
3 8 #include <linux/module.h>
  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>
  1 +/*
  2 + * Block multiqueue core code
  3 + *
  4 + * Copyright (C) 2013-2014 Jens Axboe
  5 + * Copyright (C) 2013-2014 Christoph Hellwig
  6 + */
1 7 #include <linux/kernel.h>
2 8 #include <linux/module.h>
3 9 #include <linux/backing-dev.h>