Lines Matching defs:btrfs_dev_replace
369 struct btrfs_dev_replace { struct
370 u64 replace_state; /* see #define above */
371 time64_t time_started; /* seconds since 1-Jan-1970 */
372 time64_t time_stopped; /* seconds since 1-Jan-1970 */
373 atomic64_t num_write_errors;
374 atomic64_t num_uncorrectable_read_errors;
376 u64 cursor_left;
377 u64 committed_cursor_left;
378 u64 cursor_left_last_write_of_item;
379 u64 cursor_right;
381 u64 cont_reading_from_srcdev_mode; /* see #define above */
383 int is_valid;
384 int item_needs_writeback;
385 struct btrfs_device *srcdev;
386 struct btrfs_device *tgtdev;
388 struct mutex lock_finishing_cancel_unmount;
389 struct rw_semaphore rwsem;
391 struct btrfs_scrub_progress scrub_progress;
393 struct percpu_counter bio_counter;
394 wait_queue_head_t replace_wait;