Lines Matching defs:scrub_ctx
152 struct scrub_ctx { struct
153 struct scrub_bio *bios[SCRUB_BIOS_PER_SCTX];
154 struct btrfs_fs_info *fs_info;
155 int first_free;
156 int curr;
157 atomic_t bios_in_flight;
158 atomic_t workers_pending;
159 spinlock_t list_lock;
160 wait_queue_head_t list_wait;
161 u16 csum_size;
162 struct list_head csum_list;
163 atomic_t cancel_req;
164 int readonly;
165 int pages_per_rd_bio;
167 int is_dev_replace;
169 struct scrub_bio *wr_curr_bio;
170 struct mutex wr_lock;
171 int pages_per_wr_bio; /* <= SCRUB_PAGES_PER_WR_BIO */
172 struct btrfs_device *wr_tgtdev;
173 bool flush_all_writes;
178 struct btrfs_scrub_progress stat;
179 spinlock_t stat_lock;
207 static void scrub_pending_bio_inc(struct scrub_ctx *sctx); argument