btrfs-progs: defrag: force using v2 defrag ioctl and make default 32M threshold actua...
authorDavid Sterba <dsterba@suse.com>
Thu, 12 Jan 2017 14:00:47 +0000 (15:00 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 25 Jan 2017 08:47:43 +0000 (09:47 +0100)
commit52f21fc76965b4c7b39bc5e3d0f6e044f1ddb693
tree4db0726a943385dfce4e8560f1635097d35499d4
parentb757cf4ba76b433769722622734c54b7c7e175a8
btrfs-progs: defrag: force using v2 defrag ioctl and make default 32M threshold actually work

A user reported on IRC that the new 32M default for target extent size
does not work. This happens because if there are no commandline options,
the v1 ioctl is used that does not do any fine grained defrag. As the v2
ioctl has been introduced 6 years ago (2010, kernel 2.6.33) we won't
keep backward compatibility anymore.

Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/btrfs-filesystem.asciidoc
cmds-filesystem.c