Lines Matching defs:scrub_ctx
154 struct scrub_ctx { struct
155 struct scrub_bio *bios[SCRUB_BIOS_PER_SCTX];
156 struct btrfs_fs_info *fs_info;
157 int first_free;
158 int curr;
159 atomic_t bios_in_flight;
160 atomic_t workers_pending;
161 spinlock_t list_lock;
162 wait_queue_head_t list_wait;
163 struct list_head csum_list;
164 atomic_t cancel_req;
165 int readonly;
166 int pages_per_rd_bio;
169 ktime_t throttle_deadline;
170 u64 throttle_sent;
172 int is_dev_replace;
173 u64 write_pointer;
175 struct scrub_bio *wr_curr_bio;
176 struct mutex wr_lock;
177 int pages_per_wr_bio; /* <= SCRUB_PAGES_PER_WR_BIO */
178 struct btrfs_device *wr_tgtdev;
179 bool flush_all_writes;
184 struct btrfs_scrub_progress stat;
185 spinlock_t stat_lock;
194 refcount_t refs;