From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [PATCH v7 07/22] Replace the XIP page fault handler with the DAX page fault handler Date: Sat, 9 Aug 2014 07:00:00 -0400 Message-ID: <20140809110000.GA32313@linux.intel.com> References: <20140409102758.GM32103@quack.suse.cz> <20140409205111.GG5727@linux.intel.com> <20140409214331.GQ32103@quack.suse.cz> <20140729121259.GL6754@linux.intel.com> <20140729210457.GA17807@quack.suse.cz> <20140729212333.GO6754@linux.intel.com> <20140730095229.GA19205@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Matthew Wilcox , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org To: Jan Kara Return-path: Content-Disposition: inline In-Reply-To: <20140730095229.GA19205@quack.suse.cz> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Jul 30, 2014 at 11:52:29AM +0200, Jan Kara wrote: > I see the problem now. How about an attached patch? Do you see other > lockdep warnings with it? Hit another one :-( Same inversion between i_mmap_mutex and jbd2_handle: -> #1 (&mapping->i_mmap_mutex){+.+...}: [] lock_acquire+0xb2/0x1f0 [] mutex_lock_nested+0x75/0x420 [] rmap_walk+0x6f/0x390 [] page_mkclean+0x69/0x90 [] clear_page_dirty_for_io+0x60/0x120 [] mpage_submit_page+0x47/0x80 [ext4] [] mpage_process_page_bufs+0x110/0x120 [ext4] [] mpage_prepare_extent_to_map+0x1f0/0x2f0 [ext4] [] ext4_writepages+0x427/0x1060 [ext4] [] do_writepages+0x21/0x40 [] __filemap_fdatawrite_range+0x59/0x60 [] filemap_write_and_wait_range+0x2d/0x70 [] ext4_sync_file+0x118/0x490 [ext4] [] vfs_fsync_range+0x1b/0x30 [] SyS_msync+0x1ed/0x250 (ext4_writepages starts a transaction before calling mpage_prepare_extent_to_map) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org