Hi Junjiro,

With aufs20081020 and Debian kernel Linux 2.6.25, an aufs mount exported by NFS,
I got a deadlock when using udba=inotify to copy a file under an aufs branch,
while several NFS clients were accessing the server simultaneously.

/proc/mounts on the server:
/dev/sda10 /srv ext3 rw,errors=continue,data=ordered 0 0
/dev/ram14 /srv/.nfsroot64-scratch ext2 rw,errors=continue 0 0
none /srv/nfsroot64 aufs 
rw,si=fe5774f273e5041a,xino=/srv/.nfsroot64-scratch/.aufs.xino,noplink,udba=inotify,br:/srv/.nfsroot64-scratch=rw:/srv/.nfsroot64-base=ro
 0 0

The command using udba was something like this:

~louis$ cp foo /srv/.nfsroot64-base/lib/

SysRq infos:

[27089.777755] SysRq : Show Blocked State
[27089.777755]   task                        PC stack   pid father
[27089.777755] events/0      D ffff81006155f700     0     9      2
[27089.777755]  ffff81007f3f3d00 0000000000000046 0000000000000002 
0000000100000000
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff81007f3f04f0 ffff81007f3f0280 
ffff81002ad88940
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff8042ff59>] __down_write_nested+0x15/0x9e
[27089.777755]  [<ffffffff8042ffca>] __down_write_nested+0x86/0x9e
[27089.777755]  [<ffffffff8842bf58>] :aufs:postproc+0xea/0x78f
[27089.777755]  [<ffffffff8023065f>] hrtick_set+0x4a/0xf6
[27089.777755]  [<ffffffff884072c8>] :aufs:wkq_func+0x0/0xb6
[27089.777755]  [<ffffffff8840732f>] :aufs:wkq_func+0x67/0xb6
[27089.777755]  [<ffffffff884072c8>] :aufs:wkq_func+0x0/0xb6
[27089.777755]  [<ffffffff80244947>] run_workqueue+0xe3/0x1ec
[27089.777755]  [<ffffffff80245461>] worker_thread+0xdc/0xeb
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff80245385>] worker_thread+0x0/0xeb
[27089.777755]  [<ffffffff80247dae>] kthread+0x47/0x75
[27089.777755]  [<ffffffff804301a4>] trace_hardirqs_on_thunk+0x35/0x3a
[27089.777755]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777755]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777755]  [<ffffffff80247d67>] kthread+0x0/0x75
[27089.777755]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777755] 
[27089.777755] nfsd          D 0000000000000000     0 15670      2
[27089.777755]  ffff81007d8c7b30 0000000000000046 0000000000000002 
0000000000000046
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff81005982e870 ffff81005982e600 
ffff81007d180880
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff8842ee56>] :aufs:aufs_fh_to_dentry+0xe9/0x48b
[27089.777755]  [<ffffffff882be46e>] :sunrpc:sunrpc_cache_lookup+0x30/0x132
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff882aa593>] :exportfs:exportfs_decode_fh+0x30/0x1e1
[27089.777755]  [<ffffffff8830cc32>] :nfsd:nfsd_acceptable+0x0/0xd3
[27089.777755]  [<ffffffff80242023>] set_current_groups+0x15e/0x16a
[27089.777755]  [<ffffffff88312e96>] :nfsd:nfsd_setuser+0x11f/0x20d
[27089.777755]  [<ffffffff8830c7bb>] :nfsd:nfsd_setuser_and_check_port+0x52/0x57
[27089.777755]  [<ffffffff8830cf52>] :nfsd:fh_verify+0x24d/0x48f
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8830e149>] :nfsd:nfsd_open+0x1f/0x16f
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8830e2c5>] :nfsd:nfsd_readdir+0x2c/0xc4
[27089.777755]  [<ffffffff883158ca>] :nfsd:nfsd3_proc_readdirplus+0xf7/0x1f5
[27089.777755]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777755]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777755]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777755]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777755] 
[27089.777755] nfsd          D 0000000000000000     0 15671      2
[27089.777755]  ffff8100500e7b30 0000000000000046 0000000000000002 
0000000000000046
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff81007d066970 ffff81007d066700 
ffff810015d18840
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff8842ee56>] :aufs:aufs_fh_to_dentry+0xe9/0x48b
[27089.777755]  [<ffffffff882be46e>] :sunrpc:sunrpc_cache_lookup+0x30/0x132
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff882aa593>] :exportfs:exportfs_decode_fh+0x30/0x1e1
[27089.777755]  [<ffffffff8830cc32>] :nfsd:nfsd_acceptable+0x0/0xd3
[27089.777755]  [<ffffffff80242023>] set_current_groups+0x15e/0x16a
[27089.777755]  [<ffffffff88312e96>] :nfsd:nfsd_setuser+0x11f/0x20d
[27089.777755]  [<ffffffff8830c7bb>] :nfsd:nfsd_setuser_and_check_port+0x52/0x57
[27089.777755]  [<ffffffff8830cf52>] :nfsd:fh_verify+0x24d/0x48f
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8830e149>] :nfsd:nfsd_open+0x1f/0x16f
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8830e2c5>] :nfsd:nfsd_readdir+0x2c/0xc4
[27089.777755]  [<ffffffff883158ca>] :nfsd:nfsd3_proc_readdirplus+0xf7/0x1f5
[27089.777755]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777755]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777755]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777755]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777755] 
[27089.777755] nfsd          D 0000000000000000     0 15672      2
[27089.777755]  ffff81007d07dbc0 0000000000000046 0000000000000246 
0000000000000046
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff81007cc249b0 ffff81007cc24740 
ffff810072c407c0
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff8842ee56>] :aufs:aufs_fh_to_dentry+0xe9/0x48b
[27089.777755]  [<ffffffff882be46e>] :sunrpc:sunrpc_cache_lookup+0x30/0x132
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff882aa593>] :exportfs:exportfs_decode_fh+0x30/0x1e1
[27089.777755]  [<ffffffff8830cc32>] :nfsd:nfsd_acceptable+0x0/0xd3
[27089.777755]  [<ffffffff80242023>] set_current_groups+0x15e/0x16a
[27089.777755]  [<ffffffff88312e96>] :nfsd:nfsd_setuser+0x11f/0x20d
[27089.777755]  [<ffffffff8830c7bb>] :nfsd:nfsd_setuser_and_check_port+0x52/0x57
[27089.777755]  [<ffffffff8830cf52>] :nfsd:fh_verify+0x24d/0x48f
[27089.777755]  [<ffffffff882be497>] :sunrpc:sunrpc_cache_lookup+0x59/0x132
[27089.777755]  [<ffffffff88314ea3>] :nfsd:nfsd3_proc_getattr+0x7d/0xb5
[27089.777755]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777755]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777755]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777755]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777755] 
[27089.777755] nfsd          D 0000000000000000     0 15673      2
[27089.777755]  ffff81007d8c9770 0000000000000002 0000000000000000 
0000000000000001
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff810019c949f0 ffff810019c94780 
ffff81007f3a8240
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff883fe65b>] :aufs:aufs_read_lock+0x7e/0xd7
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff8842d993>] :aufs:au_nfsd_do_read_lock+0x12b/0x21d
[27089.777755]  [<ffffffff8842ea2e>] :aufs:aufs_encode_fh+0x133/0x472
[27089.777755]  [<ffffffff802c1b6d>] __getblk+0x32/0x23b
[27089.777755]  [<ffffffff8830c6a3>] :nfsd:_fh_update+0x45/0x5b
[27089.777755]  [<ffffffff8830cc10>] :nfsd:fh_compose+0x450/0x472
[27089.777755]  [<ffffffff8024b10f>] down_write_trylock+0xe/0x38
[27089.777755]  [<ffffffff88316449>] :nfsd:compose_entry_fh+0xed/0x117
[27089.777755]  [<ffffffff88316669>] :nfsd:encode_entry+0x181/0x39b
[27089.777755]  [<ffffffff8841b732>] :aufs:fillvdir+0x0/0x5f1
[27089.777755]  [<ffffffff88134bd9>] :ext3:call_filldir+0x75/0xa0
[27089.777755]  [<ffffffff88134ed1>] :ext3:ext3_readdir+0x1dc/0x53f
[27089.777755]  [<ffffffff8841b732>] :aufs:fillvdir+0x0/0x5f1
[27089.777755]  [<ffffffff88316893>] :nfsd:nfs3svc_encode_entry_plus+0x10/0x13
[27089.777755]  [<ffffffff8841c0e6>] :aufs:au_vdir_fill_de+0x3c3/0x47f
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8842e34f>] :aufs:au_nfsd_readdir_reg+0xc1/0xe4
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff884197f2>] :aufs:aufs_readdir+0x20c/0x345
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8042f622>] mutex_lock_killable_nested+0x2ec/0x2fd
[27089.777755]  [<ffffffff802a0a6c>] __dentry_open+0x114/0x1c0
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff802ae12a>] vfs_readdir+0x77/0xa9
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8830e306>] :nfsd:nfsd_readdir+0x6d/0xc4
[27089.777755]  [<ffffffff883158ca>] :nfsd:nfsd3_proc_readdirplus+0xf7/0x1f5
[27089.777755]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777755]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777755]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777755]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777755] 
[27089.777755] nfsd          D 0000000000000000     0 15674      2
[27089.777755]  ffff8100721e7b30 0000000000000046 0000000000000002 
0000000000000046
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff810072c40a30 ffff810072c407c0 
ffff810015c0e800
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff8842ee56>] :aufs:aufs_fh_to_dentry+0xe9/0x48b
[27089.777755]  [<ffffffff882be46e>] :sunrpc:sunrpc_cache_lookup+0x30/0x132
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff882aa593>] :exportfs:exportfs_decode_fh+0x30/0x1e1
[27089.777755]  [<ffffffff8830cc32>] :nfsd:nfsd_acceptable+0x0/0xd3
[27089.777755]  [<ffffffff80242023>] set_current_groups+0x15e/0x16a
[27089.777755]  [<ffffffff88312e96>] :nfsd:nfsd_setuser+0x11f/0x20d
[27089.777755]  [<ffffffff8830c7bb>] :nfsd:nfsd_setuser_and_check_port+0x52/0x57
[27089.777755]  [<ffffffff8830cf52>] :nfsd:fh_verify+0x24d/0x48f
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8830e149>] :nfsd:nfsd_open+0x1f/0x16f
[27089.777755]  [<ffffffff88316883>] :nfsd:nfs3svc_encode_entry_plus+0x0/0x13
[27089.777755]  [<ffffffff8830e2c5>] :nfsd:nfsd_readdir+0x2c/0xc4
[27089.777755]  [<ffffffff883158ca>] :nfsd:nfsd3_proc_readdirplus+0xf7/0x1f5
[27089.777755]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777755]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777755]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777755]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777755] 
[27089.777755] nfsd          D 0000000000000000     0 15675      2
[27089.777755]  ffff810019d71bc0 0000000000000046 0000000000000000 
0000000000000046
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff810015c0ea70 ffff810015c0e800 
ffff81007f3a8240
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff8842ee56>] :aufs:aufs_fh_to_dentry+0xe9/0x48b
[27089.777755]  [<ffffffff882be46e>] :sunrpc:sunrpc_cache_lookup+0x30/0x132
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff882aa593>] :exportfs:exportfs_decode_fh+0x30/0x1e1
[27089.777755]  [<ffffffff8830cc32>] :nfsd:nfsd_acceptable+0x0/0xd3
[27089.777755]  [<ffffffff80242023>] set_current_groups+0x15e/0x16a
[27089.777755]  [<ffffffff88312e96>] :nfsd:nfsd_setuser+0x11f/0x20d
[27089.777755]  [<ffffffff8830c7bb>] :nfsd:nfsd_setuser_and_check_port+0x52/0x57
[27089.777755]  [<ffffffff8830cf52>] :nfsd:fh_verify+0x24d/0x48f
[27089.777755]  [<ffffffff882be497>] :sunrpc:sunrpc_cache_lookup+0x59/0x132
[27089.777755]  [<ffffffff88314ea3>] :nfsd:nfsd3_proc_getattr+0x7d/0xb5
[27089.777755]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777755]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777755]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777755]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777755]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777755]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777755] 
[27089.777755] nfsd          D 0000000000000000     0 15676      2
[27089.777755]  ffff810015d1bbc0 0000000000000046 0000000000000000 
0000000000000046
[27089.777755]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777755]  ffffffff80650100 ffff810015d18ab0 ffff810015d18840 
ffffffff805545e0
[27089.777755] Call Trace:
[27089.777755]  [<ffffffff8842ee56>] :aufs:aufs_fh_to_dentry+0xe9/0x48b
[27089.777755]  [<ffffffff882be46e>] :sunrpc:sunrpc_cache_lookup+0x30/0x132
[27089.777755]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777755]  [<ffffffff882aa593>] :exportfs:exportfs_decode_fh+0x30/0x1e1
[27089.777755]  [<ffffffff8830cc32>] :nfsd:nfsd_acceptable+0x0/0xd3
[27089.777755]  [<ffffffff80242023>] set_current_groups+0x15e/0x16a
[27089.777755]  [<ffffffff88312e96>] :nfsd:nfsd_setuser+0x11f/0x20d
[27089.777755]  [<ffffffff8830c7bb>] :nfsd:nfsd_setuser_and_check_port+0x52/0x57
[27089.777755]  [<ffffffff8830cf52>] :nfsd:fh_verify+0x24d/0x48f
[27089.777755]  [<ffffffff882be497>] :sunrpc:sunrpc_cache_lookup+0x59/0x132
[27089.777756]  [<ffffffff88314ea3>] :nfsd:nfsd3_proc_getattr+0x7d/0xb5
[27089.777756]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777756]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777756]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777756]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777756]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777756]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777756]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777756]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777756] 
[27089.777756] nfsd          D 0000000000000000     0 15677      2
[27089.777756]  ffff81007d183bc0 0000000000000046 0000000000000246 
0000000000000046
[27089.777756]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777756]  ffffffff80650100 ffff81007d180af0 ffff81007d180880 
ffff81007d066700
[27089.777756] Call Trace:
[27089.777756]  [<ffffffff8842ee56>] :aufs:aufs_fh_to_dentry+0xe9/0x48b
[27089.777756]  [<ffffffff882be46e>] :sunrpc:sunrpc_cache_lookup+0x30/0x132
[27089.777756]  [<ffffffff80247ece>] autoremove_wake_function+0x0/0x2e
[27089.777756]  [<ffffffff882aa593>] :exportfs:exportfs_decode_fh+0x30/0x1e1
[27089.777756]  [<ffffffff8830cc32>] :nfsd:nfsd_acceptable+0x0/0xd3
[27089.777756]  [<ffffffff80242023>] set_current_groups+0x15e/0x16a
[27089.777756]  [<ffffffff88312e96>] :nfsd:nfsd_setuser+0x11f/0x20d
[27089.777756]  [<ffffffff8830c7bb>] :nfsd:nfsd_setuser_and_check_port+0x52/0x57
[27089.777756]  [<ffffffff8830cf52>] :nfsd:fh_verify+0x24d/0x48f
[27089.777756]  [<ffffffff882be497>] :sunrpc:sunrpc_cache_lookup+0x59/0x132
[27089.777756]  [<ffffffff88314ea3>] :nfsd:nfsd3_proc_getattr+0x7d/0xb5
[27089.777756]  [<ffffffff8830a249>] :nfsd:nfsd_dispatch+0xde/0x1b6
[27089.777756]  [<ffffffff882b7854>] :sunrpc:svc_process+0x3eb/0x707
[27089.777756]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777756]  [<ffffffff8830a818>] :nfsd:nfsd+0x1a0/0x2b4
[27089.777756]  [<ffffffff8020d028>] child_rip+0xa/0x12
[27089.777756]  [<ffffffff8020c5bc>] restore_args+0x0/0x30
[27089.777756]  [<ffffffff8830a678>] :nfsd:nfsd+0x0/0x2b4
[27089.777756]  [<ffffffff8020d01e>] child_rip+0x0/0x12
[27089.777756] 
[27089.777756] cp            D 0000000000000000     0  5504   5503
[27089.777756]  ffff810061507dd8 0000000000000046 0000000000000000 
0000000100000246
[27089.777756]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777756]  ffffffff80650100 ffff81002ad98e30 ffff81002ad98bc0 
ffff81007f3a8240
[27089.777756] Call Trace:
[27089.777756]  [<ffffffff8043006f>] __down_read+0x86/0x9e
[27089.777756]  [<ffffffff883fd70f>] :aufs:aufs_show_options+0x69/0x574
[27089.777756]  [<ffffffff802bae97>] seq_escape+0x3a/0xb8
[27089.777756]  [<ffffffff802b882d>] show_vfsmnt+0x158/0x172
[27089.777756]  [<ffffffff802bb5eb>] seq_read+0x1d7/0x2a8
[27089.777756]  [<ffffffff802a28c1>] vfs_read+0xaa/0x152
[27089.777756]  [<ffffffff802a2c9c>] sys_read+0x45/0x6e
[27089.777756]  [<ffffffff8020be8a>] system_call_after_swapgs+0x8a/0x8f
[27089.777756] 
[27089.777756] sudo          D 0000000000000000     0  5506   2786
[27089.777756]  ffff81006149bdd8 0000000000000046 0000000000000000 
0000000100000246
[27089.777756]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777756]  ffffffff80650100 ffff81006151c7f0 ffff81006151c580 
ffff81007f3a8240
[27089.777756] Call Trace:
[27089.777756]  [<ffffffff8043006f>] __down_read+0x86/0x9e
[27089.777756]  [<ffffffff883fd70f>] :aufs:aufs_show_options+0x69/0x574
[27089.777756]  [<ffffffff802bae97>] seq_escape+0x3a/0xb8
[27089.777756]  [<ffffffff802b882d>] show_vfsmnt+0x158/0x172
[27089.777756]  [<ffffffff802bb5eb>] seq_read+0x1d7/0x2a8
[27089.777756]  [<ffffffff802a28c1>] vfs_read+0xaa/0x152
[27089.777756]  [<ffffffff802a2c9c>] sys_read+0x45/0x6e
[27089.777756]  [<ffffffff8020be8a>] system_call_after_swapgs+0x8a/0x8f
[27089.777756] 
[27089.777756] usb_id        D 0000000000000000     0  5518   5517
[27089.777756]  ffff81005b735dd8 0000000000000046 0000000000000000 
0000000100000246
[27089.777756]  ffffffff80650100 ffffffff80650100 ffffffff80650100 
ffffffff8064d1c0
[27089.777756]  ffffffff80650100 ffff810042360870 ffff810042360600 
ffff81007f3a8240
[27089.777756] Call Trace:
[27089.777756]  [<ffffffff8043006f>] __down_read+0x86/0x9e
[27089.777756]  [<ffffffff883fd70f>] :aufs:aufs_show_options+0x69/0x574
[27089.777756]  [<ffffffff802bae97>] seq_escape+0x3a/0xb8
[27089.777756]  [<ffffffff802b882d>] show_vfsmnt+0x158/0x172
[27089.777756]  [<ffffffff802bb5eb>] seq_read+0x1d7/0x2a8
[27089.777756]  [<ffffffff802a28c1>] vfs_read+0xaa/0x152
[27089.777756]  [<ffffffff802a2c9c>] sys_read+0x45/0x6e
[27089.777756]  [<ffffffff8020be8a>] system_call_after_swapgs+0x8a/0x8f
[27089.777756] 

The last 2 stacks are blocked because of the deadlock, but the tasks were
actually launched after the deadlock.

With the patch you sent me last week still applied, I could also get this:

[27130.716396] SysRq : Aufs
[27130.716396] si=649a1ea3c67032ed
[27130.716396] aufs: superblock
[27130.716396] s-1: {perm 0x0, cnt 0, wbr 0000000000000000}, aufs, dev 0x0016, 
flags 0x40000c00, cnt(BIAS) 0, active 2, xino 0
[27130.716396] dev 0x16
[27130.716396] gen 0
[27130.716396] s0: {perm 0x0, cnt 0, wbr ffff81007d461a80}, ext2, dev 0x010e, 
flags 0x40000000, cnt(BIAS) 0, active 1, xino 1
[27130.716396] s1: {perm 0x1, cnt 1, wbr 0000000000000000}, ext3, dev 0x080a, 
flags 0x40000000, cnt(BIAS) 0, active 22, xino 1
[27130.716396] aufs: root dentry
[27130.716396] d-1: /?//, aufs, cnt 35, flags 0x10, intent 0
[27130.716396] i-1: i2, aufs, cnt 1, nl 29, 040755, ntfy 0, sz 1024, blk 2, ct 
4608, np 0, st 0x0, f 0x0, g 0
[27130.716396] d-1: bstart 0, bend 1, bwh -1, bdiropq -1, gen 0
[27130.716396] d0: /?//, ext2, cnt 70, flags 0x10, intent 0
[27130.716396] i0: i2, ext2, cnt 3, nl 9, 040755, ntfy 1, sz 1024, blk 2, ct 
4608, np 1, st 0x0, f 0x0, g 0
[27130.716396] d1: /?/.nfsroot64-base, ext3, cnt 32, flags 0x0, intent 0
[27130.716396] i1: i667809, ext3, cnt 3, nl 22, 040755, ntfy 1, sz 4096, blk 8, 
ct 23040, np 0, st 0x0, f 0x0, g 8f3e6903
[27130.716396] aufs: root inode
[27130.716396] i-1: i2, aufs, cnt 1, nl 29, 040755, ntfy 0, sz 1024, blk 2, ct 
4608, np 0, st 0x0, f 0x0, g 0
[27130.716396] i-1: bstart 0, bend 1, gen 0
[27130.716396] i0: i2, ext2, cnt 3, nl 9, 040755, ntfy 1, sz 1024, blk 2, ct 
4608, np 1, st 0x0, f 0x0, g 0
[27130.716396] i1: i667809, ext3, cnt 3, nl 22, 040755, ntfy 1, sz 4096, blk 8, 
ct 23040, np 0, st 0x0, f 0x0, g 8f3e6903
[27130.716396] aufs: isolated inode
[27130.716396] aufs: locking di
[27130.716396] aufs: locked di
[27130.716396] pid: 15673
[27130.716396] d-1: local?/sbin, aufs, cnt 45, flags 0x8, intent 0
[27130.716396] i-1: i182, aufs, cnt 1, nl 2, 042775, ntfy 0, sz 4096, blk 8, ct 
32768, np 0, st 0x0, f 0x0, g ed101df8
[27130.716396] d-1: bstart 1, bend 1, bwh -1, bdiropq -1, gen 0
[27130.716396] d1: local?/sbin, ext3, cnt 43, flags 0x20, intent 0
[27130.716396] i1: i687004, ext3, cnt 3, nl 2, 042775, ntfy 1, sz 4096, blk 8, 
ct 32768, np 0, st 0x0, f 0x0, g 4c2285db
[27130.716396] aufs: locked ii

Thanks!

Louis

-- 
Dr Louis Rilling                        Kerlabs
Skype: louis.rilling                    Batiment Germanium
Phone: (+33|0) 6 80 89 08 23            80 avenue des Buttes de Coesmes
http://www.kerlabs.com/                 35700 Rennes

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to