]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
btrfs: reinitialize scrub workers
authorArne Jansen <sensille@gmx.net>
Fri, 10 Jun 2011 10:07:07 +0000 (12:07 +0200)
committerArne Jansen <sensille@gmx.net>
Fri, 10 Jun 2011 10:14:13 +0000 (12:14 +0200)
commit632dd772fcbde2ba37c0e8983bd38ef4a1eac906
tree6181590ab930fb20c3efb3f44f88901089b9618b
parent8c51032f978bac5bec5dae0c5de4f85db97c1cc9
btrfs: reinitialize scrub workers

Scrub starts the workers each time a scrub starts and stops them after it
finished. This patch adds an initialization for the workers before each
start, otherwise the workers behave strangely.

Signed-off-by: Arne Jansen <sensille@gmx.net>
fs/btrfs/disk-io.c
fs/btrfs/scrub.c