Lines Matching defs:btrfs_dev_replace
291 struct btrfs_dev_replace { struct
293 u64 replace_state;
295 time64_t time_started;
297 time64_t time_stopped;
298 atomic64_t num_write_errors;
299 atomic64_t num_uncorrectable_read_errors;
301 u64 cursor_left;
302 u64 committed_cursor_left;
303 u64 cursor_left_last_write_of_item;
304 u64 cursor_right;
307 u64 cont_reading_from_srcdev_mode;
309 int is_valid;
310 int item_needs_writeback;
311 struct btrfs_device *srcdev;
312 struct btrfs_device *tgtdev;
314 struct mutex lock_finishing_cancel_unmount;
315 struct rw_semaphore rwsem;
317 struct btrfs_scrub_progress scrub_progress;
319 struct percpu_counter bio_counter;
320 wait_queue_head_t replace_wait;
322 struct task_struct *replace_task;