Re: [Gluster-devel] Regards to taking lock in dictionary

2019-10-24 Thread Xavi Hernandez
Hi Mohit, On Thu, Oct 24, 2019 at 5:19 AM Mohit Agrawal wrote: > > I have a query why do we take a lock at the time of doing an operation in > a dictionary.I have observed in testing it seems there is no codepath where > we are using the dictionary parallel. In theory, the dictionary flow is

[Gluster-devel] Regards to taking lock in dictionary

2019-10-23 Thread Mohit Agrawal
I have a query why do we take a lock at the time of doing an operation in a dictionary.I have observed in testing it seems there is no codepath where we are using the dictionary parallel. In theory, the dictionary flow is like one xlator put some data in a dictionary and pass to the next xlator