diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-11 09:50:54 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-11 09:50:54 -0400 |
commit | f3bba03fd16e25a262323293e5a07dea173c89f7 (patch) | |
tree | 1a31ba15db8a4134b1095bac438e02b2203f9cc6 /fs/jffs2 | |
parent | 4340fe62531f7d1dafb6f5359ffe0378bdb0db80 (diff) | |
download | op-kernel-dev-f3bba03fd16e25a262323293e5a07dea173c89f7.zip op-kernel-dev-f3bba03fd16e25a262323293e5a07dea173c89f7.tar.gz |
[GFS2] Fix deadlock in memory allocation
We must not call GFP_KERNEL memory allocations while we
are holding the log lock (read or write) since that may
trigger a log flush resulting in a deadlock.
Eventually we need to fix the locking in log.c, for now
this solves the problem at the expense of freeing up memory
as fast as we would like to. This needs to be revisited
later on.
Cc: Kevin Anderson <kanderso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions