Re: [PATCH 04/15] blk-cgroup: pin the gendisk in struct blkcg_gq

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

 



On 1/17/23 09:12, Christoph Hellwig wrote:
Currently each blkcg_gq holds a request_queue reference, which is what
is used in the policies.  But a lot of these interface will move over to
use a gendisk, so store a disk in strut blkcg_gq and hold a reference to
it.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
  block/bfq-cgroup.c        |  6 +++---
  block/blk-cgroup-rwstat.c |  2 +-
  block/blk-cgroup.c        | 29 +++++++++++++----------------
  block/blk-cgroup.h        | 11 +++++------
  block/blk-iocost.c        |  2 +-
  block/blk-iolatency.c     |  4 ++--
  block/blk-throttle.c      |  4 ++--
  7 files changed, 27 insertions(+), 31 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 RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux