Re: [RFC v2] btrfs-progs: Add recursive defrag using -r option

2013-09-23 Thread David Sterba
On Tue, Sep 17, 2013 at 11:30:52AM -0400, Frank Holton wrote: Thanks for that hint to use ftw. I've updated the code to use it and tried to make sure that I caught all of the styling errors. Dunno what caused that, but the whitespace is completely messed up and squasthed into a single space

Re: [RFC v2] btrfs-progs: Add recursive defrag using -r option

2013-09-17 Thread Frank Holton
Thanks for that hint to use ftw. I've updated the code to use it and tried to make sure that I caught all of the styling errors. Since the ftw callback doesn't take any additional options I had to add several global variables to pass the fancy_ioctl and range parameters. Should I replace all of