Re: [PATCH 15/15] blk-cgroup: move the cgroup information to struct gendisk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/17/23 09:12, Christoph Hellwig wrote:
cgroup information only makes sense on a live gendisk that allows
file system I/O (which includes the raw block device).  So move over
the cgroup related members.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
  block/bfq-cgroup.c     |  4 ++--
  block/blk-cgroup.c     | 48 +++++++++++++++++++++---------------------
  block/blk-cgroup.h     |  2 +-
  block/blk-iolatency.c  |  2 +-
  block/blk-throttle.c   | 16 ++++++++------
  include/linux/blkdev.h | 10 ++++-----
  6 files changed, 43 insertions(+), 39 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
hare@xxxxxxx                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux