Lines Matching defs:btrfs_dev_replace
403 struct btrfs_dev_replace { struct
404 u64 replace_state; /* see #define above */
405 time64_t time_started; /* seconds since 1-Jan-1970 */
406 time64_t time_stopped; /* seconds since 1-Jan-1970 */
407 atomic64_t num_write_errors;
408 atomic64_t num_uncorrectable_read_errors;
410 u64 cursor_left;
411 u64 committed_cursor_left;
412 u64 cursor_left_last_write_of_item;
413 u64 cursor_right;
415 u64 cont_reading_from_srcdev_mode; /* see #define above */
417 int is_valid;
418 int item_needs_writeback;
419 struct btrfs_device *srcdev;
420 struct btrfs_device *tgtdev;
422 struct mutex lock_finishing_cancel_unmount;
423 struct rw_semaphore rwsem;
425 struct btrfs_scrub_progress scrub_progress;
427 struct percpu_counter bio_counter;
428 wait_queue_head_t replace_wait;