Re: [Nfs-ganesha-devel] thread cleanup hook for FSAL

2015-09-21 Thread Matt Benjamin
(as to what already exists, please consult the "thread fridge" code) Matt -- Matt Benjamin Red Hat, Inc. 315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103 http://www.redhat.com/en/technologies/storage tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 - Original Message

Re: [Nfs-ganesha-devel] thread cleanup hook for FSAL

2015-09-21 Thread Frank Filz
I think this would be a good addition. Maybe it should be part of a general re-working of how we manage threads. It would be helpful if there was some fridge thread context stuff in Thread Local Storage so anyone could access it to do things like registering thread cancellation handlers and such.

[Nfs-ganesha-devel] thread cleanup hook for FSAL

2015-09-21 Thread Dirk Jagdmann
hello developers, I'm writing my FSAL which uses IPC to communicate with another process which is providing the storage. This works well for me. I am currently using one IPC "channel" for each NFS-Ganesha worker thread. With a thread local variable these channels are created on demand.

Re: [Nfs-ganesha-devel] thread cleanup hook for FSAL

2015-09-21 Thread Matt Benjamin
Hi Dirk, That sounds well motivated. You might start discussion on IRC about interfaces. Matt -- Matt Benjamin Red Hat, Inc. 315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103 http://www.redhat.com/en/technologies/storage tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309