Re: [Gluster-devel] pluggability of some aspects in afr/nsr/ec

2015-10-30 Thread Pranith Kumar Karampuri
On 10/29/2015 06:11 PM, Jeff Darcy wrote: I want to understand if there is a possibility of exposing these as different modules that we can mix and match, using options. It’s not only possible, but it’s easier than you might think. If an option is set (cluster.nsr IIRC) then we replace

Re: [Gluster-devel] pluggability of some aspects in afr/nsr/ec

2015-10-29 Thread Jeff Darcy
> >> I want to understand if there is a possibility of exposing these as > >> different modules that we can mix and match, using options. It’s not only possible, but it’s easier than you might think.  If an option is set (cluster.nsr IIRC) then we replace cluster/afr with cluster/nsr-client and

Re: [Gluster-devel] pluggability of some aspects in afr/nsr/ec

2015-10-29 Thread Shyam
On 10/29/2015 02:06 AM, Pranith Kumar Karampuri wrote: hi, I want to understand how are you guys planning to integrate NSR volumes to the existing CLIs. Here are some thoughts I had, wanted to know your thoughts: At the heart of both the replication/ec schemes we have 1)

[Gluster-devel] pluggability of some aspects in afr/nsr/ec

2015-10-29 Thread Pranith Kumar Karampuri
hi, I want to understand how are you guys planning to integrate NSR volumes to the existing CLIs. Here are some thoughts I had, wanted to know your thoughts: At the heart of both the replication/ec schemes we have 1) synchronization mechanisms a) afr,ec does it using locks

Re: [Gluster-devel] pluggability of some aspects in afr/nsr/ec

2015-10-29 Thread Venky Shankar
On Thu, Oct 29, 2015 at 11:36 AM, Pranith Kumar Karampuri wrote: > hi, > I want to understand how are you guys planning to integrate NSR > volumes to the existing CLIs. Here are some thoughts I had, wanted to know > your thoughts: > At the heart of both the

Re: [Gluster-devel] pluggability of some aspects in afr/nsr/ec

2015-10-29 Thread Pranith Kumar Karampuri
On 10/29/2015 12:18 PM, Venky Shankar wrote: On Thu, Oct 29, 2015 at 11:36 AM, Pranith Kumar Karampuri wrote: hi, I want to understand how are you guys planning to integrate NSR volumes to the existing CLIs. Here are some thoughts I had, wanted to know your