sf...@users.sourceforge.net:
> Exactly.
> At the same time, I noticed that I made a mistake on my git-work. I
> thought there is something wrong with the commit
>       e14748e 2017-02-19 UBUNTU: SAUCE: Import aufs driver
> in zesty because it doesn't match the commit
>       6c73f3b 2017-02-04 aufs4.x-rcN 20170206
> in aufs4-standalone.
> But it perfectly matches. I think I made some changes in zesty tree
> unwillingly during investigating this problem.
> Sorry for the confusion.
>
> But the conclusion doesn't change.
> I think you found a AB-BA deadlock problem in aufs, and I am working on
> it.

I might be confused again.
I cannot see the deadclok now which I thought I could find.
But I have a suggestion for you.

1. upgrade your aufs to the latest aufs4.10.
   This is my very best recommendation.

2. pick some commits from the latest aufs4.10.
   They *may* be related to your problem (but I am not sure).

   - a2e2715 2017-04-03 aufs: fine-grained xino lock 2/2, caller
   - 2356cdf 2017-04-03 aufs: fine-grained xino lock 1/2, callee
     These two commits are the first candidates I guessed at first. But
     I could not confirm that they could solve your problem. Anyway I
     believe it is worth to try.
     I am afraid that individual git-cherry-pick won't be enough since
     some other commits will be necessary (so my recommendation is
     upgrade the latest aufs4.10).

   - f1fa217 2017-09-05 aufs: bugfix, fanotify
     The caused stack trace by this fixed bug looks very similar to
     yours. But this bug is triggered by fanotify, and I don't think you
     are using it.

Here is all aufs4.10 commits after your version.
Obviously the base version of Ubuntu-4.10.0-34.38
        6c73f3b 2017-02-04 aufs4.x-rcN 20170206
shoule be between
        8b3d2df 2017-02-13 aufs: convert pid bitmap to a flag per task
        7d3e718 2017-01-31 aufs: for linux-v4.10-rc1, replace au_match_ull() by 
new match_u64()

But it doesn't appear in this list since 6c73f3b is a history of
aufs4.x-rcN branch instead of aufs4.10.

47e483c 2017-12-16 aufs4.10 20171218
b05d081 2017-12-16 aufs: remove a warning about the internal file-close
1a10303 2017-10-26 aufs4.10 20171030
9654464 2017-10-26 aufs: possible bugfix, always call destroy_work_on_stack()
ee6cf53 2017-10-26 aufs: missing path_noexec() call
dc2e3f5 2017-10-26 aufs: cosmetic changes in some header files
8650a46 2017-10-09 aufs: tiny optimization for !CONFIG_AUFS_BR_HFSPLUS
c7dc5c1 2017-09-28 aufs4.10 20171002
551d63f 2017-09-28 aufs: tiny, refine a header inclusion
b49ea77 2017-09-28 aufs: tiny, silence checkpatch.pl
394717b 2017-09-22 aufs4.10 20170925
2f04618 2017-09-19 aufs: minor, use the new func is_current_mnt_ns()
803b86d 2017-09-19 aufs: possible bugfix, deref RCU ptr, current->real_parent
2310344 2017-09-15 aufs4.10 20170918
12b1b36 2017-09-15 aufs standalone: tiny, DIRREN configuration
f18e761 2017-09-12 aufs: minor, for v4.10, force casting the type of be64
5b9899d 2017-09-12 aufs: dirren 6/6, mount options
f1581ed 2017-09-12 aufs: dirren 5/6, lookup and revalidate with loading the 
rename info
4962685 2017-09-12 aufs: dirren 4/6, rename with saving the rename info
652f3f9 2017-09-12 aufs: dirren 3/6, save the detailed info per a dir
f0a6841 2017-09-12 aufs: dirren 2/6, branch id as a filename of the info
d1f4e7e 2017-09-12 aufs standalone: tiny, conf.mk for dirren
ba93f60 2017-09-12 aufs: dirren 1/6, inum-list of the renamed dir in a branch
d0d523e 2017-09-11 aufs: dirren 0/6, documentation
a2614a2 2017-09-11 aufs: tiny, move a few vars into the internal struct
92564ef 2017-09-11 aufs: minor, warn about some mount options
9272692 2017-09-11 aufs: minor, convert sphl (spinlock+hlist) to hbl (hlist_bl)
5329065 2017-09-08 aufs4.10 20170911
f1fa217 2017-09-05 aufs: bugfix, fanotify
dd18998 2017-09-04 aufs: tiny, convert kzalloc into kcalloc
363512b 2017-09-04 aufs: tiny, wrap around a long line
8bab339 2017-09-04 aufs: tiny, wrap around a long line
1559f56 2017-09-04 aufs: tiny, add a comment for the memory barrier
f8d6f94 2017-09-04 aufs: tiny, remove a few unnecessary 'if's for kfree()
88c077e 2017-09-01 aufs4.10 20170904
b59f1a6 2017-08-28 aufs: minor, for v4.7, more inode_lock_shared()
8e360a8 2017-08-28 aufs: tiny, complment a few missing declarations
ff46f23 2017-08-28 aufs: tiny, add a pronunciation in the document "intro"
a19543b 2017-06-30 aufs4.10 20170703
32e544a 2017-06-30 aufs: tiny, update the document "intro"
846bbd0 2017-06-11 aufs4.10 20170612
e34c81f 2017-06-09 aufs: bugfix, for v4.10, copy-up on XFS branch
ce82d66 2017-06-07 aufs: cosmetic changes
2de56bb 2017-05-21 aufs4.10 20170522
2169726 2017-05-18 aufs: possible bugfix, fput after using inode
2f39a63 2017-05-18 aufs: tiny, simplify au_seq_path
a34799a 2017-05-18 aufs: remove an unnecessary EXECed check for dir
4383c11 2017-05-18 aufs: remove the delayed free
eef3b3e 2017-05-18 aufs: tiny, remove an unnecessary declaration
f7c5117 2017-04-09 aufs4.10 20170410
a2e2715 2017-04-03 aufs: fine-grained xino lock 2/2, caller
2356cdf 2017-04-03 aufs: fine-grained xino lock 1/2, callee
14d1526 2017-03-24 aufs4.10 20170327
dc0124c 2017-03-18 aufs: for v4.5, copy_file_range 3/3, body
bb736a2 2017-03-18 aufs: for v4.5, copy_file_range 2/3, lockdep subclass for 
finfo
c6da979 2017-03-18 aufs: for v4.5, copy_file_range 1/3, explicit order of two 
dinfos
b4d3dcc 2017-03-18 aufs: for v4.5, use vfs_clone_file_range() in copy-up
a5c2218 2017-03-16 aufs version 4.10
4aa8dd6 2017-03-08 aufs4.10 20170313
589d551 2017-02-13 aufs: tiny, update the copyright years
8b3d2df 2017-02-13 aufs: convert pid bitmap to a flag per task
7d3e718 2017-01-31 aufs: for linux-v4.10-rc1, replace au_match_ull() by new 
match_u64()


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