lkml.org 
[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: deadlocks caused by ext3/reiser dirty_inode calls during do_mmap_pgoff
Chris Mason <mason@suse.com> wrote:
>
> Hmmm, reiserfs_file_write does fault_in_pages_readable after the
> transaction is started.

That nests down_read(mmap_sem) inside transaction start, vastly increasing
the deadlock probability.

> I can at least make the window smaller for now
> by moving that before the transaction is started.

Much smaller.

We need to decide what the ranking is and stick with it. I think that's
"transaction start nests inside mmap_sem", agree?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.137 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site