commit | f3bba03fd16e25a262323293e5a07dea173c89f7 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Tue Jul 11 09:50:54 2006 -0400 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Tue Jul 11 09:50:54 2006 -0400 |
tree | 1a31ba15db8a4134b1095bac438e02b2203f9cc6 | |
parent | 4340fe62531f7d1dafb6f5359ffe0378bdb0db80 [diff] |
[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>