Lines Matching defs:btrfs_dev_replace
381 struct btrfs_dev_replace { struct
382 u64 replace_state; /* see #define above */
383 time64_t time_started; /* seconds since 1-Jan-1970 */
384 time64_t time_stopped; /* seconds since 1-Jan-1970 */
385 atomic64_t num_write_errors;
386 atomic64_t num_uncorrectable_read_errors;
388 u64 cursor_left;
389 u64 committed_cursor_left;
390 u64 cursor_left_last_write_of_item;
391 u64 cursor_right;
393 u64 cont_reading_from_srcdev_mode; /* see #define above */
395 int is_valid;
396 int item_needs_writeback;
397 struct btrfs_device *srcdev;
398 struct btrfs_device *tgtdev;
400 struct mutex lock_finishing_cancel_unmount;
401 struct rw_semaphore rwsem;
403 struct btrfs_scrub_progress scrub_progress;
405 struct percpu_counter bio_counter;
406 wait_queue_head_t replace_wait;