Add a call to find the queue-length so we can see how many I/O we have in flight...
[deb_libnfs.git] / lib / libnfs.c
index 1f64bd0fef4acfb16afb19feabc6657ddfea33bb..8c408b2cd3394a63f6c5af13664f36f3fbd3f55f 100644 (file)
@@ -121,6 +121,11 @@ int nfs_get_fd(struct nfs_context *nfs)
        return rpc_get_fd(nfs->rpc);
 }
 
+int nfs_queue_length(struct nfs_context *nfs)
+{
+       return rpc_queue_length(nfs->rpc);
+}
+
 int nfs_which_events(struct nfs_context *nfs)
 {
        return rpc_which_events(nfs->rpc);