2018-04-17 22:24 GMT+08:00 Tony Lewis <t...@lewistribe.com>: > On 17/04/18 15:07, sf...@users.sourceforge.net wrote: >> >> Tony Lewis: >>> >>> Thanks. If you notify the mailing list when it's available, I'll give >>> it a go. I have a slight preference for staying on the stable repo. >> >> If you can, could you try testing the previous fix on your system? >> >> $ cd /your/aufs4-standalone.git >> $ git checkout origin/aufs4.9 >> $ git cherry-pick -x f2474d8 >> - build aufs > > This fixes it, at least for my simple 'find' test. > > And I confirmed again by undoing the cherry pick, recompiling, reinserting > the module and doing the find again, and verifying the problem still > persists. > > So, to integrate this properly into my kernel (and not being a git guru) > should I leave that cherry pick in place, or wait for your release into the > 4.9 kernel next week? > > Tony >
Hello Okajima-san, I also tested "find" with the kernel version(4.10.0-34-generic) I reported f2474d8 case, after 1~3 ctrl-c to find, it does blocked, but the difference is in this case, dmesg doesn't report any process "blocked for more than 120 seconds", nothing printed in dmesg after find is blocked several minus until umount the merged dir, as Tony reported. Then I switch to kernel with aufs 4.10 plus f2474d8, the case is not reproduceable. log for blocked umount, FYR: [ 1692.569405] INFO: task lim:3238 blocked for more than 120 seconds. [ 1692.569406] Tainted: G OE 4.10.0-34-generic #38-Ubuntu [ 1692.569406] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 1692.569407] lim D 0 3238 1 0x00000000 [ 1692.569408] Call Trace: [ 1692.569409] __schedule+0x233/0x6f0 [ 1692.569410] schedule+0x36/0x80 [ 1692.569411] rwsem_down_read_failed+0xfa/0x150 [ 1692.569412] call_rwsem_down_read_failed+0x18/0x30 [ 1692.569413] down_read+0x20/0x40 [ 1692.569416] aufs_show_options+0x49/0x580 [aufs] [ 1692.569417] ? seq_puts+0x4d/0x60 [ 1692.569418] show_vfsmnt+0x11a/0x160 [ 1692.569419] m_show+0x14/0x20 [ 1692.569419] seq_read+0x2fa/0x3d0 [ 1692.569420] __vfs_read+0x18/0x40 [ 1692.569421] vfs_read+0x96/0x130 [ 1692.569422] SyS_read+0x55/0xc0 [ 1692.569423] entry_SYSCALL_64_fastpath+0x1e/0xad [ 1692.569423] RIP: 0033:0x7f69f37d9330 [ 1692.569424] RSP: 002b:00007ffd40671f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 1692.569424] RAX: ffffffffffffffda RBX: 00007ffd40672420 RCX: 00007f69f37d9330 [ 1692.569425] RDX: 0000000000000400 RSI: 00007f69f4a35000 RDI: 0000000000000005 [ 1692.569425] RBP: 0000000000000000 R08: 5f7672732f3a3166 R09: 0000000000000000 [ 1692.569426] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000098 [ 1692.569426] R13: 00007f69f4a35160 R14: 0000000002016c00 R15: 00000000000001ff [ 1692.569434] INFO: task lsof:6594 blocked for more than 120 seconds. [ 1692.569435] Tainted: G OE 4.10.0-34-generic #38-Ubuntu [ 1692.569436] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 1692.569436] lsof D 0 6594 6591 0x00000000 [ 1692.569437] Call Trace: [ 1692.569438] __schedule+0x233/0x6f0 [ 1692.569439] schedule+0x36/0x80 [ 1692.569440] rwsem_down_write_failed+0x21d/0x3a0 [ 1692.569441] call_rwsem_down_write_failed+0x17/0x30 [ 1692.569442] down_write+0x2d/0x40 [ 1692.569446] di_write_lock+0x1f/0x40 [aufs] [ 1692.569449] aufs_read_lock+0x98/0xc0 [aufs] [ 1692.569451] ? lockref_put_or_lock+0x5e/0x90 [ 1692.569455] aufs_d_revalidate+0x3b/0x500 [aufs] [ 1692.569456] ? mntput+0x24/0x40 [ 1692.569458] ? walk_component+0x1a4/0x350 [ 1692.569459] complete_walk+0x6a/0x80 [ 1692.569460] path_lookupat+0x86/0x100 [ 1692.569461] filename_lookup+0xb1/0x180 [ 1692.569464] ? __check_object_size+0x100/0x1d7 [ 1692.569466] ? strncpy_from_user+0x4d/0x170 [ 1692.569468] user_path_at_empty+0x36/0x40 [ 1692.569469] vfs_fstatat+0x66/0xc0 [ 1692.569470] SYSC_newstat+0x2e/0x60 [ 1692.569471] ? vfs_read+0x11b/0x130 [ 1692.569472] ? SyS_read+0x55/0xc0 [ 1692.569473] SyS_newstat+0xe/0x10 [ 1692.569474] entry_SYSCALL_64_fastpath+0x1e/0xad [ 1692.569475] RIP: 0033:0x7f7d86c76cc5 [ 1692.569475] RSP: 002b:00007fff0e974cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 1692.569476] RAX: ffffffffffffffda RBX: 0000000000100000 RCX: 00007f7d86c76cc5 [ 1692.569477] RDX: 00007fff0e975d40 RSI: 00007fff0e975d40 RDI: 00007fff0e974d30 [ 1692.569477] RBP: 0000000000100000 R08: 0000000000000000 R09: 00007f7d8714d740 [ 1692.569478] R10: 00007f7d8714da10 R11: 0000000000000246 R12: 00007fff0e976d80 [ 1692.569478] R13: 0000000000000000 R14: 00007fff0e97af60 R15: 00007fff0e97af60 [ 1692.569480] INFO: task umount.aufs:6606 blocked for more than 120 seconds. [ 1692.569481] Tainted: G OE 4.10.0-34-generic #38-Ubuntu [ 1692.569481] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 1692.569482] umount.aufs D 0 6606 6605 0x00000000 [ 1692.569483] Call Trace: [ 1692.569484] __schedule+0x233/0x6f0 [ 1692.569485] schedule+0x36/0x80 [ 1692.569486] rwsem_down_write_failed+0x21d/0x3a0 [ 1692.569487] ? path_openat+0x738/0x14f0 [ 1692.569488] call_rwsem_down_write_failed+0x17/0x30 [ 1692.569489] down_write+0x2d/0x40 [ 1692.569492] si_write_lock+0x3e/0x140 [aufs] [ 1692.569496] au_plink_maint_enter+0x27/0xf0 [aufs] [ 1692.569500] au_procfs_plm_write+0x175/0x210 [aufs] [ 1692.569502] proc_reg_write+0x42/0x70 [ 1692.569502] __vfs_write+0x18/0x40 [ 1692.569503] vfs_write+0xb5/0x1a0 [ 1692.569504] SyS_write+0x55/0xc0 [ 1692.569505] entry_SYSCALL_64_fastpath+0x1e/0xad [ 1692.569506] RIP: 0033:0x7f44a051a390 [ 1692.569506] RSP: 002b:00007ffd18ec7f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1692.569507] RAX: ffffffffffffffda RBX: 00000000024de010 RCX: 00007f44a051a390 [ 1692.569507] RDX: 0000000000000013 RSI: 00007ffd18ec7ff0 RDI: 0000000000000003 [ 1692.569508] RBP: 0000000000000000 R08: 0000c0c000000000 R09: 0000c0ff00000000 [ 1692.569508] R10: 00007ffd18ec7cf0 R11: 0000000000000246 R12: 0000000000000000 [ 1692.569509] R13: 00007ffd18ec7fc0 R14: 0000000000000001 R15: 00000fffa31d900a ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot