Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-20 Thread Pranith Kumar Karampuri
On Thu, Jun 21, 2018 at 7:14 AM, Raghavendra Gowdappa wrote: > > > On Thu, Jun 21, 2018 at 6:55 AM, Raghavendra Gowdappa > wrote: > >> >> >> On Wed, Jun 20, 2018 at 9:09 PM, Xavi Hernandez >> wrote: >> >>> On Wed, Jun 20, 2018 at 4:29 PM Raghavendra Gowdappa < >>> rgowd...@redhat.com> wrote:

Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-20 Thread Raghavendra Gowdappa
On Thu, Jun 21, 2018 at 6:55 AM, Raghavendra Gowdappa wrote: > > > On Wed, Jun 20, 2018 at 9:09 PM, Xavi Hernandez > wrote: > >> On Wed, Jun 20, 2018 at 4:29 PM Raghavendra Gowdappa >> wrote: >> >>> Krutika, >>> >>> This patch doesn't seem to be getting counts per domain, like number of >>>

Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-20 Thread Raghavendra Gowdappa
On Wed, Jun 20, 2018 at 9:09 PM, Xavi Hernandez wrote: > On Wed, Jun 20, 2018 at 4:29 PM Raghavendra Gowdappa > wrote: > >> Krutika, >> >> This patch doesn't seem to be getting counts per domain, like number of >> inodelks or entrylks acquired in a domain "xyz". Am I right? If per domain >>

Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-20 Thread Xavi Hernandez
On Wed, Jun 20, 2018 at 4:29 PM Raghavendra Gowdappa wrote: > Krutika, > > This patch doesn't seem to be getting counts per domain, like number of > inodelks or entrylks acquired in a domain "xyz". Am I right? If per domain > stats are not available, passing interested domains in xdata_req would

Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-20 Thread Raghavendra Gowdappa
Krutika, This patch doesn't seem to be getting counts per domain, like number of inodelks or entrylks acquired in a domain "xyz". Am I right? If per domain stats are not available, passing interested domains in xdata_req would be needed. Any suggestions on that? regards, Raghavendra On Wed, Jun

Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-20 Thread Raghavendra Gowdappa
On Wed, Jun 20, 2018 at 12:06 PM, Krutika Dhananjay wrote: > We do already have a way to get inodelk and entrylk count from a bunch of > fops, introduced in http://review.gluster.org/10880. > Can you check if you can make use of this feature? > Thanks Krutika. Yes, this feature meets DHT's

Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-20 Thread Krutika Dhananjay
We do already have a way to get inodelk and entrylk count from a bunch of fops, introduced in http://review.gluster.org/10880. Can you check if you can make use of this feature? -Krutika On Wed, Jun 20, 2018 at 9:17 AM, Amar Tumballi wrote: > > > On Wed, Jun 20, 2018 at 9:06 AM, Raghavendra

Re: [Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-19 Thread Amar Tumballi
On Wed, Jun 20, 2018 at 9:06 AM, Raghavendra Gowdappa wrote: > All, > > We've a requirement in DHT [1] to query the number of locks granted on an > inode in lookup fop. I am planning to use xdata_req in lookup to pass down > the relevant arguments for this query. I am proposing following

[Gluster-devel] [features/locks] Fetching lock info in lookup

2018-06-19 Thread Raghavendra Gowdappa
All, We've a requirement in DHT [1] to query the number of locks granted on an inode in lookup fop. I am planning to use xdata_req in lookup to pass down the relevant arguments for this query. I am proposing following signature: In lookup request path following key value pairs will be passed in