Lines Matching full:replace

18 #include "dev-replace.h"
27 * Device replace overview
39 * if replace gets canceled, sources device still contains up-to-date data.
55 * Due to the content difference, we need to avoid nocow write when dev-replace
59 * After replace is done, the finishing part is done by swapping the target and
98 * We don't have a replace item or it's corrupted. If there is in btrfs_init_dev_replace()
99 * a replace target, fail the mount. in btrfs_init_dev_replace()
103 "found replace target device without a valid replace item"); in btrfs_init_dev_replace()
158 * We don't have an active replace item but if there is a in btrfs_init_dev_replace()
159 * replace target, fail the mount. in btrfs_init_dev_replace()
163 "replace without active item, run 'device scan --forget' on the target device"); in btrfs_init_dev_replace()
183 "cannot mount because device replace operation is ongoing and"); in btrfs_init_dev_replace()
191 "cannot mount because device replace operation is ongoing and"); in btrfs_init_dev_replace()
227 * Initialize a new device for device replace target from a given source dev
260 "dev-replace: zoned type of target device mismatch with filesystem"); in btrfs_init_dev_replace_tgtdev()
333 * called from commit_transaction. Writes changed device replace state to
602 "cannot replace device %s (devid %llu) due to active swapfile", in btrfs_dev_replace_start()
638 DEBUG_WARN("unexpected STARTED or SUSPENDED dev-replace state"); in btrfs_dev_replace_start()
679 * groups that are allocated after we started the device replace, and in btrfs_dev_replace_start()
680 * must be done after setting up the device replace state. in btrfs_dev_replace_start()
779 * When finishing the device replace, before swapping the source device with the
781 * as it is empty because replace works by directly copying the chunks and not
932 * Update allocation state in the new device and replace the old device in btrfs_dev_replace_finishing()
1008 /* replace the sysfs entry */ in btrfs_dev_replace_finishing()
1027 * Read progress of device replace status according to the state and last
1118 * Scrub doing the replace isn't running so we need to do the in btrfs_dev_replace_cancel()
1133 /* Scrub for replace must not be running in suspended state */ in btrfs_dev_replace_cancel()
1223 * dev-replace to start anyway. in btrfs_resume_dev_replace_async()
1231 "cannot resume dev-replace, other exclusive operation running"); in btrfs_resume_dev_replace_async()