Re: [libvirt] [PATCH v4 4/4] gluster: cache glfs connection object per volume

2016-12-14 Thread Prasanna Kalever
On Mon, Dec 12, 2016 at 8:02 PM, Prasanna Kalever wrote: > On Wed, Dec 7, 2016 at 10:38 PM, Peter Krempa wrote: >> On Tue, Dec 06, 2016 at 22:52:01 +0530, Prasanna Kumar Kalever wrote: >>> Currently, in case if we have 4 extra attached disks, then for

Re: [libvirt] [PATCH v4 4/4] gluster: cache glfs connection object per volume

2016-12-12 Thread Prasanna Kalever
On Wed, Dec 7, 2016 at 10:38 PM, Peter Krempa wrote: > On Tue, Dec 06, 2016 at 22:52:01 +0530, Prasanna Kumar Kalever wrote: >> Currently, in case if we have 4 extra attached disks, then for each disk >> we need to call 'glfs_init' (over network) and friends which could be

Re: [libvirt] [PATCH v4 4/4] gluster: cache glfs connection object per volume

2016-12-07 Thread Peter Krempa
On Tue, Dec 06, 2016 at 22:52:01 +0530, Prasanna Kumar Kalever wrote: > Currently, in case if we have 4 extra attached disks, then for each disk > we need to call 'glfs_init' (over network) and friends which could be costly. > > Additionally snapshot(external) scenario will further complex the

[libvirt] [PATCH v4 4/4] gluster: cache glfs connection object per volume

2016-12-06 Thread Prasanna Kumar Kalever
Currently, in case if we have 4 extra attached disks, then for each disk we need to call 'glfs_init' (over network) and friends which could be costly. Additionally snapshot(external) scenario will further complex the situation. This patch maintain a cache of glfs objects per volume, hence the