From: Josef Bacik Date: Thu, 30 Jun 2011 18:42:28 +0000 (-0400) Subject: Btrfs: use a worker thread to do caching X-Git-Tag: v3.1-rc1~134^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bab39bf998133510f2dad08158006197ec0dabea;p=pandora-kernel.git Btrfs: use a worker thread to do caching A user reported a deadlock when copying a bunch of files. This is because they were low on memory and kthreadd got hung up trying to migrate pages for an allocation when starting the caching kthread. The page was locked by the person starting the caching kthread. To fix this we just need to use the async thread stuff so that the threads are already created and we don't have to worry about deadlocks. Thanks, Reported-by: Roman Mamedov Signed-off-by: Josef Bacik --- Reading git-diff-tree failed