Jan Kara 9b4c0ff32c ocfs2: Fix deadlock when allocating page
We cannot call grab_cache_page() when holding filesystem locks or with
a transaction started as grab_cache_page() calls page allocation with
GFP_KERNEL flag and thus page reclaim can recurse back into the filesystem
causing deadlocks or various assertion failures. We have to use
find_or_create_page() instead and pass it GFP_NOFS as we do with other
allocations.

Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Tao Ma <tao.ma@oracle.com>
2010-09-08 14:25:57 +08:00
..
2009-10-28 23:05:57 -07:00
2010-08-09 16:47:29 -04:00
2009-09-22 20:09:36 -07:00
2010-09-08 14:25:53 +08:00
2009-10-28 23:05:57 -07:00
2010-05-05 18:17:30 -07:00
2010-05-05 18:18:07 -07:00
2010-05-05 18:17:30 -07:00
2010-05-21 18:31:20 -04:00