diff options
Diffstat (limited to 'fs/btrfs/ioctl.h')
-rw-r--r-- | fs/btrfs/ioctl.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/fs/btrfs/ioctl.h b/fs/btrfs/ioctl.h index e5e0ee2cad4e..ad1ea789fcb4 100644 --- a/fs/btrfs/ioctl.h +++ b/fs/btrfs/ioctl.h | |||
@@ -181,37 +181,6 @@ struct btrfs_ioctl_clone_range_args { | |||
181 | #define BTRFS_DEFRAG_RANGE_COMPRESS 1 | 181 | #define BTRFS_DEFRAG_RANGE_COMPRESS 1 |
182 | #define BTRFS_DEFRAG_RANGE_START_IO 2 | 182 | #define BTRFS_DEFRAG_RANGE_START_IO 2 |
183 | 183 | ||
184 | struct btrfs_ioctl_defrag_range_args { | ||
185 | /* start of the defrag operation */ | ||
186 | __u64 start; | ||
187 | |||
188 | /* number of bytes to defrag, use (u64)-1 to say all */ | ||
189 | __u64 len; | ||
190 | |||
191 | /* | ||
192 | * flags for the operation, which can include turning | ||
193 | * on compression for this one defrag | ||
194 | */ | ||
195 | __u64 flags; | ||
196 | |||
197 | /* | ||
198 | * any extent bigger than this will be considered | ||
199 | * already defragged. Use 0 to take the kernel default | ||
200 | * Use 1 to say every single extent must be rewritten | ||
201 | */ | ||
202 | __u32 extent_thresh; | ||
203 | |||
204 | /* | ||
205 | * which compression method to use if turning on compression | ||
206 | * for this defrag operation. If unspecified, zlib will | ||
207 | * be used | ||
208 | */ | ||
209 | __u32 compress_type; | ||
210 | |||
211 | /* spare for later */ | ||
212 | __u32 unused[4]; | ||
213 | }; | ||
214 | |||
215 | struct btrfs_ioctl_space_info { | 184 | struct btrfs_ioctl_space_info { |
216 | __u64 flags; | 185 | __u64 flags; |
217 | __u64 total_bytes; | 186 | __u64 total_bytes; |