Hi, It is possible duplicate of http://www.spinics.net/lists/linux-xfs/msg00000.html ("XFS lock warning, 2.6.29-rc8"), but just in case, here is a full messages: [ 1.774710] ====================================================== [ 1.775797] [ INFO: possible circular locking dependency detected ] [ 1.776911] 3.14.0-rc2-00064-g41c2c6f #44 Tainted: G W [ 1.777701] ------------------------------------------------------- [ 1.777701] run-parts/1340 is trying to acquire lock: [ 1.777701] (&mm->mmap_sem){++++++}, at: [<ffffffff8112d343>] might_fault+0x40/0x8d [ 1.777701] [ 1.777701] but task is already holding lock: [ 1.777701] (&(&ip->i_lock)->mr_lock){++++..}, at: [<ffffffff81285f19>] xfs_ilock+0x110/0x146 [ 1.777701] [ 1.777701] which lock already depends on the new lock. [ 1.777701] [ 1.777701] [ 1.777701] the existing dependency chain (in reverse order) is: [ 1.777701] -> #1 (&(&ip->i_lock)->mr_lock){++++..}: [ 1.777701] [<ffffffff810aa4cf>] lock_acquire+0x99/0x106 [ 1.777701] [<ffffffff810a5bfc>] down_read_nested+0x43/0x76 [ 1.777701] [<ffffffff81285f19>] xfs_ilock+0x110/0x146 [ 1.777701] [<ffffffff81285f7e>] xfs_ilock_data_map_shared+0x2f/0x34 [ 1.777701] [<ffffffff81238952>] __xfs_get_blocks+0xe6/0x41f [ 1.777701] [<ffffffff81238c9c>] xfs_get_blocks+0x11/0x13 [ 1.777701] [<ffffffff8117b225>] do_mpage_readpage+0x181/0x48e [ 1.777701] [<ffffffff8117b606>] mpage_readpages+0xd4/0x119 [ 1.777701] [<ffffffff81236dc4>] xfs_vm_readpages+0x1d/0x1f [ 1.777701] [<ffffffff8111b87a>] __do_page_cache_readahead+0x16d/0x20b [ 1.777701] [<ffffffff8111bb4f>] ra_submit+0x21/0x25 [ 1.777701] [<ffffffff81114113>] filemap_fault+0x182/0x377 [ 1.777701] [<ffffffff8112d4fe>] __do_fault+0xa0/0x30b [ 1.777701] [<ffffffff811308a7>] handle_mm_fault+0x214/0x65d [ 1.777701] [<ffffffff8161556f>] __do_page_fault+0x2db/0x3c2 [ 1.777701] [<ffffffff8161568d>] do_page_fault+0x37/0x50 [ 1.777701] [<ffffffff816125a8>] page_fault+0x28/0x30 [ 1.777701] [<ffffffff813929de>] clear_user+0x2f/0x31 [ 1.777701] [<ffffffff8118b93c>] padzero+0x23/0x30 [ 1.777701] [<ffffffff8118d48b>] load_elf_binary+0x881/0x1660 [ 1.777701] [<ffffffff8114fe91>] search_binary_handler+0x7a/0x169 [ 1.777701] [<ffffffff81151224>] do_execve_common.isra.26+0x42a/0x5d7 [ 1.777701] [<ffffffff811513e9>] do_execve+0x18/0x1a [ 1.777701] [<ffffffff8100020d>] run_init_process+0x2b/0x2d [ 1.777701] [<ffffffff81000223>] try_to_run_init_process+0x14/0x39 [ 1.777701] [<ffffffff816031e8>] kernel_init+0x94/0xda [ 1.777701] [<ffffffff81618dfc>] ret_from_fork+0x7c/0xb0 [ 1.777701] -> #0 (&mm->mmap_sem){++++++}: [ 1.777701] [<ffffffff810a9efd>] __lock_acquire+0xace/0xd85 [ 1.777701] [<ffffffff810aa4cf>] lock_acquire+0x99/0x106 [ 1.777701] [<ffffffff8112d370>] might_fault+0x6d/0x8d [ 1.777701] [<ffffffff81159f04>] filldir+0x89/0xfa [ 1.777701] [<ffffffff8123f80e>] dir_emit+0x13/0x1a [ 1.777701] [<ffffffff8123f9db>] xfs_dir2_sf_getdents+0x178/0x2c8 [ 1.777701] [<ffffffff812404ed>] xfs_readdir+0xae/0x12a [ 1.777701] [<ffffffff81241e4a>] xfs_file_readdir+0x2b/0x3a [ 1.777701] [<ffffffff81159c58>] iterate_dir+0x6e/0xb1 [ 1.777701] [<ffffffff8115a081>] SyS_getdents+0x8a/0xe9 [ 1.777701] [<ffffffff816190d0>] tracesys+0xdd/0xe2 [ 1.777701] [ 1.777701] other info that might help us debug this: [ 1.777701] [ 1.777701] Possible unsafe locking scenario: [ 1.777701] [ 1.777701] CPU0 CPU1 [ 1.777701] ---- ---- [ 1.777701] lock(&(&ip->i_lock)->mr_lock); [ 1.777701] lock(&mm->mmap_sem); [ 1.777701] lock(&(&ip->i_lock)->mr_lock); [ 1.777701] lock(&mm->mmap_sem); [ 1.777701] [ 1.777701] *** DEADLOCK *** [ 1.777701] [ 1.777701] 2 locks held by run-parts/1340: [ 1.777701] #0: (&type->i_mutex_dir_key){+.+.+.}, at: [<ffffffff81159c2f>] iterate_dir+0x45/0xb1 [ 1.777701] #1: (&(&ip->i_lock)->mr_lock){++++..}, at: [<ffffffff81285f19>] xfs_ilock+0x110/0x146 [ 1.777701] [ 1.777701] stack backtrace: [ 1.777701] CPU: 0 PID: 1340 Comm: run-parts Tainted: G W 3.14.0-rc2-00064-g41c2c6f #44 [ 1.777701] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.777701] 0000000000000000 ffff88007b003c60 ffffffff8160c15d ffffffff823df1c0 [ 1.777701] ffff88007b003ca0 ffffffff816085e7 ffff88007b11a450 ffff88007b11a450 [ 1.777701] ffff88007b11ace8 0000000000000002 ffff88007b11ad20 0000000000000002 [ 1.777701] Call Trace: [ 1.777701] [<ffffffff8160c15d>] dump_stack+0x45/0x56 [ 1.777701] [<ffffffff816085e7>] print_circular_bug+0x1f6/0x204 [ 1.777701] [<ffffffff810a9efd>] __lock_acquire+0xace/0xd85 [ 1.777701] [<ffffffff810aa4cf>] lock_acquire+0x99/0x106 [ 1.777701] [<ffffffff8112d343>] ? might_fault+0x40/0x8d [ 1.777701] [<ffffffff8112d370>] might_fault+0x6d/0x8d [ 1.777701] [<ffffffff8112d343>] ? might_fault+0x40/0x8d [ 1.777701] [<ffffffff81159f04>] filldir+0x89/0xfa [ 1.777701] [<ffffffff8123f80e>] dir_emit+0x13/0x1a [ 1.777701] [<ffffffff8123f9db>] xfs_dir2_sf_getdents+0x178/0x2c8 [ 1.777701] [<ffffffff81285f19>] ? xfs_ilock+0x110/0x146 [ 1.777701] [<ffffffff812404ed>] xfs_readdir+0xae/0x12a [ 1.777701] [<ffffffff8134608f>] ? fsnotify_perm+0x63/0x6e [ 1.777701] [<ffffffff81241e4a>] xfs_file_readdir+0x2b/0x3a [ 1.777701] [<ffffffff81159c58>] iterate_dir+0x6e/0xb1 [ 1.777701] [<ffffffff8115a081>] SyS_getdents+0x8a/0xe9 [ 1.777701] [<ffffffff81159e7b>] ? fillonedir+0xda/0xda [ 1.777701] [<ffffffff816190d0>] tracesys+0xdd/0xe2 -- Respectfully Azat Khuzhin -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html