Thread (31 messages) 31 messages, 4 authors, 2012-02-14

Re: [PATCH 16/21] Btrfs: recover balance on mount

From: David Sterba <hidden>
Date: 2012-01-12 14:00:31

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help