From 69e74432ee1ab29ba7caf483450997a95920b729 Mon Sep 17 00:00:00 2001 From: Xavier Hernandez Date: Wed, 22 Jul 2015 17:08:02 +0200 Subject: cluster/ec: Allow read fops to be processed in parallel Currently ec only sends a single read request at a time for a given inode. Since reads do not interfere between them, this patch allows multiple concurrent read requests to be sent in parallel. This is a backport of these patches: > Change-Id: If853430482a71767823f39ea70ff89797019d46b > BUG: 1245689 > Signed-off-by: Xavier Hernandez > Reviewed-on: http://review.gluster.org/11742 > Tested-by: NetBSD Build System > Reviewed-by: Pranith Kumar Karampuri > Tested-by: Gluster Build System > > Change-Id: I6042129f09082497b80782b5704a52c35c78f44d > BUG: 1276031 > Signed-off-by: Xavier Hernandez Change-Id: I1b1146d1fd1828b12bfc566cd76e5ea110f8909b BUG: 1251467 Signed-off-by: Xavier Hernandez Reviewed-on: http://review.gluster.org/12447 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Pranith Kumar Karampuri --- libglusterfs/src/fd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs/src/fd.h') diff --git a/libglusterfs/src/fd.h b/libglusterfs/src/fd.h index c1b9157d882..412fcc5d6a4 100644 --- a/libglusterfs/src/fd.h +++ b/libglusterfs/src/fd.h @@ -118,6 +118,9 @@ fd_t * fd_ref (fd_t *fd); +fd_t * +__fd_unref (fd_t *fd); + void fd_unref (fd_t *fd); -- cgit