On Fri, Jan 06, 2012 at 04:31:04PM +0200, Ilya Dryomov wrote:
+static int restriper_kthread(void *data)
you've changed restripe -> balance in some places, I'm not sure if you
want to distinguish them sometimes, like the kthread worker name here
+{
...
+}
+
+int btrfs_recover_balance(struct btrfs_root *tree_root)
+{
...
+ btrfs_balance_data(leaf, item, &disk_bargs);
+ btrfs_disk_balance_args_to_cpu(&bctl->data, &disk_bargs);
+ btrfs_balance_meta(leaf, item, &disk_bargs);
+ btrfs_disk_balance_args_to_cpu(&bctl->meta, &disk_bargs);
+ btrfs_balance_sys(leaf, item, &disk_bargs);
+ btrfs_disk_balance_args_to_cpu(&bctl->sys, &disk_bargs);
+
+ tsk = kthread_run(restriper_kthread, bctl, "btrfs-restriper");
or process name here.
Nothing serious, I noticed this while diffing the previous version.
david