Eddie Horng:
> I reproduced a hung case, maybe not exactly the same operation as original
> one but au_xino_delete_inode is appeared in call stake. Below dmesg log
> with lockdep enabled, please kindly check it.

Ok, I think I can find the AB-BA deadlock problem.
I will try fixing it asap. Please wait for a while.


BTW I was really confused about your kernel version. You wrote in the
first mail,
> kernel version: 4.10.0-34-generic
> aufs version: 4.x-rcN-20170206

Is it ubuntu zesty?
I got git://kernel.ubuntu.com/ubuntu/ubuntu-zesty.git, and found
Ubuntu-4.10.0-34.38 tag. Is this the kernel you are using?

Anyway I checked it out and found these commits.

3eef97 2017-08-23 UBUNTU: SAUCE: aufs: bugfix, for v4.10, copy-up on XFS branch
bd1592e 2017-08-23 UBUNTU: SAUCE: aufs: for v4.5, use vfs_clone_file_range() in 
copy-up
e14748e 2017-02-19 UBUNTU: SAUCE: Import aufs driver
0815cfd 2017-02-19 Revert "UBUNTU: SAUCE: Import aufs driver"

It means
- 0815cfd removed all aufs files.
- e14748e added all aufs files, and the commit log says it is a copy of
        6c73f3b 2017-02-04 aufs4.x-rcN 20170206
  from aufs4-standalone.git repo.
- after half a year, they imported a bugfix.

Ok then, there shoule be no difference at all between zesty#e14748e and
aufs4#6c73f3b. But I found several diffs. Additionally those diffs are
releated to the mutex lock around your AB-BA problem!!
It is really enough to confuse me very much. But now I think I could get
it over.


J. R. Okajima

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Reply via email to