linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/12] blk-mq-sched: scheduler support and cleanups
@ 2017-05-04  7:31 Omar Sandoval
  2017-05-04  7:31 ` [PATCH v2 01/12] blk-mq-debugfs: separate flags with | Omar Sandoval
                   ` (11 more replies)
  0 siblings, 12 replies; 31+ messages in thread
From: Omar Sandoval @ 2017-05-04  7:31 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: Bart Van Assche, kernel-team

From: Omar Sandoval <osandov@fb.com>

This series makes several enhancements to blk-mq-debugfs. v2 adds
patches 3, 4, and 5. It also exports a couple of symbols needed in
patches 11 and 12.

- Patch 1 is a subjective change.
- Patch 2 is a cleanup.
- Patches 3 and 4 are minor tweaks to the queue "state" attribute.
- Patch 5 renames the hardware queue directories.
- Patch 6 cleans up a bunch of seq_file boilerplate.
- Patch 7 is Bart's patch from a couple of weeks ago, necessitated by
  patch 9.
- Patch 8 is preparation cleanup for patches 9-12.
- Patch 9 reworks the lifetimes of the debugfs attributes to be tied to
  the structure lifetimes themselves rather being duct taped on to
  sysfs. This is what I should have done in the first place, and would
  have also been a way to fix the same thing we fixed in e869b5462f83
  ("blk-mq: Unregister debugfs attributes earlier"), but I didn't think
  of doing it this way until I started adding scheduler support.
- Patch 10 allows schedulers to register debugfs attributes, implemented
  in patches 11 and 12 for kyber and mq-deadline, respectively.

Bart Van Assche (1):
  blk-mq: Do not invoke queue operations on a dead queue

Omar Sandoval (11):
  blk-mq-debugfs: separate flags with |
  blk-mq-debugfs: clean up flag definitions
  blk-mq-debugfs: error on long write to queue "state" file
  blk-mq-debugfs: don't open code strstrip()
  blk-mq-debugfs: rename hw queue directories from <n> to hctx<n>
  blk-mq-debugfs: get rid of a bunch of boilerplate
  blk-mq: move debugfs declarations to a separate header file
  blk-mq: untangle debugfs and sysfs
  blk-mq-debugfs: allow schedulers to register debugfs attributes
  kyber: add debugfs attributes
  mq-deadline: add debugfs attributes

 block/blk-core.c         |   8 +-
 block/blk-mq-debugfs.c   | 870 +++++++++++++++++++++--------------------------
 block/blk-mq-debugfs.h   |  79 +++++
 block/blk-mq-sched.c     |  24 +-
 block/blk-mq-sysfs.c     |  10 -
 block/blk-mq.c           |   7 +
 block/blk-mq.h           |  28 --
 block/blk-sysfs.c        |   3 +
 block/kyber-iosched.c    | 130 +++++++
 block/mq-deadline.c      | 123 +++++++
 include/linux/blk-mq.h   |   5 +
 include/linux/blkdev.h   |   2 +-
 include/linux/elevator.h |   7 +
 13 files changed, 764 insertions(+), 532 deletions(-)
 create mode 100644 block/blk-mq-debugfs.h

-- 
2.12.2

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2017-05-04 23:17 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04  7:31 [PATCH v2 00/12] blk-mq-sched: scheduler support and cleanups Omar Sandoval
2017-05-04  7:31 ` [PATCH v2 01/12] blk-mq-debugfs: separate flags with | Omar Sandoval
2017-05-04 11:19   ` Hannes Reinecke
2017-05-04  7:31 ` [PATCH v2 02/12] blk-mq-debugfs: clean up flag definitions Omar Sandoval
2017-05-04 11:20   ` Hannes Reinecke
2017-05-04  7:31 ` [PATCH v2 03/12] blk-mq-debugfs: error on long write to queue "state" file Omar Sandoval
2017-05-04 11:21   ` Hannes Reinecke
2017-05-04 23:06   ` Bart Van Assche
2017-05-04  7:31 ` [PATCH v2 04/12] blk-mq-debugfs: don't open code strstrip() Omar Sandoval
2017-05-04 11:22   ` Hannes Reinecke
2017-05-04 23:10   ` Bart Van Assche
2017-05-04  7:31 ` [PATCH v2 05/12] blk-mq-debugfs: rename hw queue directories from <n> to hctx<n> Omar Sandoval
2017-05-04 11:24   ` Hannes Reinecke
2017-05-04 14:11     ` Jens Axboe
2017-05-04  7:31 ` [PATCH v2 06/12] blk-mq-debugfs: get rid of a bunch of boilerplate Omar Sandoval
2017-05-04 11:25   ` Hannes Reinecke
2017-05-04 23:13   ` Bart Van Assche
2017-05-04  7:31 ` [PATCH v2 07/12] blk-mq: Do not invoke queue operations on a dead queue Omar Sandoval
2017-05-04 11:25   ` Hannes Reinecke
2017-05-04  7:31 ` [PATCH v2 08/12] blk-mq: move debugfs declarations to a separate header file Omar Sandoval
2017-05-04 11:26   ` Hannes Reinecke
2017-05-04  7:31 ` [PATCH v2 09/12] blk-mq: untangle debugfs and sysfs Omar Sandoval
2017-05-04 11:28   ` Hannes Reinecke
2017-05-04  7:31 ` [PATCH v2 10/12] blk-mq-debugfs: allow schedulers to register debugfs attributes Omar Sandoval
2017-05-04 11:28   ` Hannes Reinecke
2017-05-04 14:22   ` Jens Axboe
2017-05-04  7:31 ` [PATCH v2 11/12] kyber: add " Omar Sandoval
2017-05-04 11:29   ` Hannes Reinecke
2017-05-04 23:17   ` Bart Van Assche
2017-05-04  7:31 ` [PATCH v2 12/12] mq-deadline: " Omar Sandoval
2017-05-04 11:29   ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).