As Raghavendra Gowdappa have said, when the preload (a readdir request not initiated by application, but instead triggered by readdir-ahead in an attempt to pre-emptively fill the read-ahead buffer) is in progress, a readdir request from application waits for its completion. In the code, when the preload is in progress,it locks the ctx. For applications, the readdir-ahead's request processing is synchronous, is it possible that the preload handles request asynchronously by reducing lock granularity?
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel