@@ -135,7 +135,7 @@ struct btrfs_scrub_progress {
135135 __u64 tree_bytes_scrubbed ; /* # of tree bytes scrubbed */
136136 __u64 read_errors ; /* # of read errors encountered (EIO) */
137137 __u64 csum_errors ; /* # of failed csum checks */
138- __u64 verify_errors ; /* # of occurrences , where the metadata
138+ __u64 verify_errors ; /* # of occurences , where the metadata
139139 * of a tree block did not match the
140140 * expected values, like generation or
141141 * logical */
@@ -155,7 +155,7 @@ struct btrfs_scrub_progress {
155155 __u64 last_physical ; /* last physical address scrubbed. In
156156 * case a scrub was aborted, this can
157157 * be used to restart the scrub */
158- __u64 unverified_errors ; /* # of occurrences where a read for a
158+ __u64 unverified_errors ; /* # of occurences where a read for a
159159 * full (64k) bio failed, but the re-
160160 * check succeeded for each 4k piece.
161161 * Intermittent error. */
@@ -837,6 +837,8 @@ enum btrfs_err_code {
837837 struct btrfs_ioctl_vol_args)
838838#define BTRFS_IOC_SCAN_DEV _IOW(BTRFS_IOCTL_MAGIC, 4, \
839839 struct btrfs_ioctl_vol_args)
840+ #define BTRFS_IOC_FORGET_DEV _IOW(BTRFS_IOCTL_MAGIC, 5, \
841+ struct btrfs_ioctl_vol_args)
840842/* trans start and trans end are dangerous, and only for
841843 * use by applications that know how to avoid the
842844 * resulting deadlocks
0 commit comments