| To: | xfs@xxxxxxxxxxx, linux-mm@xxxxxxxxx |
|---|---|
| Subject: | fput under mmap_sem |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Wed, 18 Mar 2009 03:13:13 -0400 |
| In-reply-to: | <20090315221921.GY26138@disturbed> |
| References: | <200903151459.01320.denys@xxxxxxxxxxx> <20090315221921.GY26138@disturbed> |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Mon, Mar 16, 2009 at 09:19:21AM +1100, Dave Chinner wrote: > This is a VM problem where it calls fput() with the mmap_sem() held > in remove_vma(). It makes the incorrect assumption that filesystems > will never use the same lock in the IO path and the inode release path. > > This can deadlock if you are really unlucky. I really wonder why other filesystems haven't hit this yet. Any chance we can get the fput moved out of mmap_sem to get rid of this class of problems? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | xfs: properly truncate blocks outsize i_size on write_begin failure, Christoph Hellwig |
|---|---|
| Next by Date: | RE: Lost files + indentical Foldernames on XFS Partition, Sebastian Brings |
| Previous by Thread: | Re: XFS lock warning, 2.6.29-rc8, Dave Chinner |
| Next by Thread: | Re: fput under mmap_sem, Nick Piggin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |