public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] blk-mq-debugfs: scheduler support and cleanups
@ 2017-05-03 19:18 Omar Sandoval
  2017-05-03 19:18 ` [PATCH 1/9] blk-mq-debugfs: separate flags with | Omar Sandoval
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Omar Sandoval @ 2017-05-03 19:18 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: Bart Van Assche, kernel-team

From: Omar Sandoval <osandov@fb.com>

Hi,

This series makes more enhancements to blk-mq-debugfs.

- Patch 1 is a subjective change.
- Patches 2 and 3 are cleanups.
- Patch 4 is Bart's patch from a couple of weeks ago, necessitated by
  patch 6.
- Patch 5 is another cleanup.
- Patch 6 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 7 allows schedulers to register debugfs attributes, implemented
  in patches 8 and 9 for kyber and mq-deadline, respectively.

Please take a look and give it a spin.

Thanks!

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

Omar Sandoval (8):
  blk-mq-debugfs: separate flags with |
  blk-mq-debugfs: clean up flag definitions
  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   | 851 +++++++++++++++++++++--------------------------
 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, 751 insertions(+), 526 deletions(-)
 create mode 100644 block/blk-mq-debugfs.h

-- 
2.12.2

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

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

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-03 19:18 [PATCH 0/9] blk-mq-debugfs: scheduler support and cleanups Omar Sandoval
2017-05-03 19:18 ` [PATCH 1/9] blk-mq-debugfs: separate flags with | Omar Sandoval
2017-05-03 19:18 ` [PATCH 2/9] blk-mq-debugfs: clean up flag definitions Omar Sandoval
2017-05-03 19:18 ` [PATCH 3/9] blk-mq-debugfs: get rid of a bunch of boilerplate Omar Sandoval
2017-05-03 20:51   ` Bart Van Assche
2017-05-03 23:22     ` Omar Sandoval
2017-05-03 19:18 ` [PATCH 4/9] blk-mq: Do not invoke queue operations on a dead queue Omar Sandoval
2017-05-03 19:18 ` [PATCH 5/9] blk-mq: move debugfs declarations to a separate header file Omar Sandoval
2017-05-03 19:18 ` [PATCH 6/9] blk-mq: untangle debugfs and sysfs Omar Sandoval
2017-05-03 19:19 ` [PATCH 7/9] blk-mq-debugfs: allow schedulers to register debugfs attributes Omar Sandoval
2017-05-03 19:19 ` [PATCH 8/9] kyber: add " Omar Sandoval
2017-05-03 19:19 ` [PATCH 9/9] mq-deadline: " Omar Sandoval
2017-05-03 19:57 ` [PATCH 10/9] blk-mq-debugfs: rename hw queue directories from <n> to hctx<n> Omar Sandoval

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox