summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-06-30 22:42:28 +0400
committerChris Mason <chris.mason@oracle.com>2011-07-27 20:46:25 +0400
commitbab39bf998133510f2dad08158006197ec0dabea (patch)
tree0ea50b2b07a9f75988829de6c42b6936e2355545 /fs/proc
parentdf98b6e2c52f65665eaf0fc23e647fb64335b289 (diff)
downloadlinux-bab39bf998133510f2dad08158006197ec0dabea.tar.xz
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 <rm@romanrm.ru> Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions