Since the log isn't very helpful, here's an explanation:

Friday's dev.9 has my patch to fix a shutdown timing issue.  There
was a list of connections per [e]poll, as well as an overall list of
connections; both used on shutdown.  There were multiple paths for
deleting the polling structures.  This was old code.

So I'd removed the list of connections per poll, and moved the code
for deletion into the polling task itself, ensuring only one path.
"There can be only one."

The lock for the removed list was now hardly needed, but still in
place.  It locked only 5 "channel" objects with significant
potential for transaction contention.

I've been able to reproduce a hang during shutdown (while running
pynfs under gdb with both debug and address sanitizer).

Now I've removed that lock entirely (using atomics), and Frank
kindly pushed a version so that nobody else would be harmed.

Because this was an old lock in the fast polling connection and
per transaction call path, that path should be a mite faster.

The only remaining lock is per connection/transport, so should be
better distributed and have much less contention.

On 9/19/17 3:16 PM, Frank Filz wrote:
Branch next

Tag:V2.6-dev.10

NOTE: This release contains an ntirpc pullup, please update your submodules

Release Highlights

* ntirpc pullup

Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>

Contents:

2a86360 Frank S. Filz V2.6-dev.10
32db433 William Allen Simpson Pull up NTIRPC #75


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to