diff options
author | Josef Bacik <josef@redhat.com> | 2011-06-30 22:42:28 +0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-07-27 20:46:25 +0400 |
commit | bab39bf998133510f2dad08158006197ec0dabea (patch) | |
tree | 0ea50b2b07a9f75988829de6c42b6936e2355545 /fs/proc | |
parent | df98b6e2c52f65665eaf0fc23e647fb64335b289 (diff) | |
download | linux-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