Lines Matching defs:btrfs_dev_replace
450 struct btrfs_dev_replace { struct
451 u64 replace_state; /* see #define above */
452 time64_t time_started; /* seconds since 1-Jan-1970 */
453 time64_t time_stopped; /* seconds since 1-Jan-1970 */
454 atomic64_t num_write_errors;
455 atomic64_t num_uncorrectable_read_errors;
457 u64 cursor_left;
458 u64 committed_cursor_left;
459 u64 cursor_left_last_write_of_item;
460 u64 cursor_right;
462 u64 cont_reading_from_srcdev_mode; /* see #define above */
464 int is_valid;
465 int item_needs_writeback;
466 struct btrfs_device *srcdev;
467 struct btrfs_device *tgtdev;
469 struct mutex lock_finishing_cancel_unmount;
470 struct rw_semaphore rwsem;
472 struct btrfs_scrub_progress scrub_progress;
474 struct percpu_counter bio_counter;
475 wait_queue_head_t replace_wait;