[Gluster-devel] Can readdir-ahead be asynchronous?

Keiviw keiviw at 163.com
Thu Feb 25 12:56:49 UTC 2016


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160225/d98a73f2/attachment.html>


More information about the Gluster-devel mailing list