blk-cgroup.h (3480373ebdf7625ee29bee6508c9fc4ae70c00bf) | blk-cgroup.h (2c275afeb61dab732353aae2c7de01b6a87dcefc) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BLK_CGROUP_PRIVATE_H 3#define _BLK_CGROUP_PRIVATE_H 4/* 5 * block cgroup private header 6 * 7 * Based on ideas and code from CFQ, CFS and BFQ: 8 * Copyright (C) 2003 Jens Axboe <axboe@kernel.dk> --- 58 unchanged lines hidden (view full) --- 67 68 /* is this blkg online? protected by both blkcg and q locks */ 69 bool online; 70 71 struct blkg_iostat_set __percpu *iostat_cpu; 72 struct blkg_iostat_set iostat; 73 74 struct blkg_policy_data *pd[BLKCG_MAX_POLS]; | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BLK_CGROUP_PRIVATE_H 3#define _BLK_CGROUP_PRIVATE_H 4/* 5 * block cgroup private header 6 * 7 * Based on ideas and code from CFQ, CFS and BFQ: 8 * Copyright (C) 2003 Jens Axboe <axboe@kernel.dk> --- 58 unchanged lines hidden (view full) --- 67 68 /* is this blkg online? protected by both blkcg and q locks */ 69 bool online; 70 71 struct blkg_iostat_set __percpu *iostat_cpu; 72 struct blkg_iostat_set iostat; 73 74 struct blkg_policy_data *pd[BLKCG_MAX_POLS]; |
75 | 75#ifdef CONFIG_BLK_CGROUP_PUNT_BIO |
76 spinlock_t async_bio_lock; 77 struct bio_list async_bios; | 76 spinlock_t async_bio_lock; 77 struct bio_list async_bios; |
78#endif |
|
78 union { 79 struct work_struct async_bio_work; 80 struct work_struct free_work; 81 }; 82 83 atomic_t use_delay; 84 atomic64_t delay_nsec; 85 atomic64_t delay_start; --- 423 unchanged lines hidden --- | 79 union { 80 struct work_struct async_bio_work; 81 struct work_struct free_work; 82 }; 83 84 atomic_t use_delay; 85 atomic64_t delay_nsec; 86 atomic64_t delay_start; --- 423 unchanged lines hidden --- |