vfs_glusterfs changes to get rid of mutex use.
Volker.Lendecke at SerNet.DE
Tue Jan 20 00:55:40 MST 2015
On Mon, Jan 19, 2015 at 11:17:08PM -0500, Ira Cooper wrote:
> This patch removes all of the posix mutexes used in the previous GlusterFS
> AIO patch in favor of using a standard POSIX pipe. This also simplifies
> the actual code, and makes our fork safety issues more apparent.
This looks much better, thanks a lot!
One thing just struck me: If a pipe is much more expensive
than an eventfd, can't we use an eventfd as the indicator?
Per eventfd we might have 64 outstanding requests, each bit
representing one request?
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical