Russell Coker wrote (ao):
> The current defragmentation options seem to only support defragmenting
> named files/directories or a recursive defragmentation of files and
> directories.
>
> I'd like to recursively defragment directories.
find / -xdev -type d -execdir btrfs filesystem defrag -c {} +
Would that work for you?
Sander
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html