Re: [Nfs-ganesha-devel] md-cache (setattr2) optimization

2016-08-29 Thread Daniel Gryniewicz
On 08/29/2016 01:35 PM, Soumya Koduri wrote: > Hi Dan/Frank, > > I was looking at mdcache code a bit for performance optimizations > possible. I have a couple of queries. Please let me know your inputs - > > * In ex setattr2(), we have support for FSAL to update the attributes in > the obj handle.

[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: FSAL_GPFS: more fixes and cleanup for multi-fd

2016-08-29 Thread GerritHub
>From : es...@us.ibm.com has uploaded a new change for review. https://review.gerrithub.io/289448 Change subject: FSAL_GPFS: more fixes and cleanup for multi-fd .. FSAL_GPFS: more fixes and cleanup for

Re: [Nfs-ganesha-devel] md-cache (setattr2) optimization

2016-08-29 Thread Frank Filz
> On 08/29/2016 01:35 PM, Soumya Koduri wrote: > > Hi Dan/Frank, > > > > I was looking at mdcache code a bit for performance optimizations > > possible. I have a couple of queries. Please let me know your inputs - > > > > * In ex setattr2(), we have support for FSAL to update the attributes > > in

[Nfs-ganesha-devel] NLM async locking

2016-08-29 Thread Marc Eshel
Hi Frank, I see the following failure: 1. Get conflicting locks from 3 clients cli 1 gets 0-100 cli 2 is blocked on 0-1000 cli 3 is blocked on 0-1 2. cli 1 unlocks up-call for cli 2 and 3 to retry cli 2 gets 0-1000 cli 3 is blocked on 0-1000 3. cli 2 unlocks

Re: [Nfs-ganesha-devel] NLM async locking

2016-08-29 Thread Frank Filz
> I see the following failure: > 1. Get conflicting locks from 3 clients > cli 1 gets 0-100 > cli 2 is blocked on 0-1000 > cli 3 is blocked on 0-1 > 2. cli 1 unlocks > up-call for cli 2 and 3 to retry > cli 2 gets 0-1000 > cli 3 is blocked on 0-1000 > 3. cli 2 unlocks >

Re: [Nfs-ganesha-devel] NLM async locking

2016-08-29 Thread Malahal Naineni
Marc, there is a known issue with that failure message but I thought client needs a cancel request. See if my hack fixes it but I never got a chance to fix it properly, so is not in upstream yet. See 924e7464f in ganltc repo and see that helps. Regards, Malahal. On Mon, Aug 29, 2016 at 3:50 PM,

Re: [Nfs-ganesha-devel] NLM async locking

2016-08-29 Thread Marc Eshel
I can look at your fix but the problem here has nothing to do with cancel. This locks should work without client involvement. Can you point me again to ganltc. Marc. From: Malahal Naineni To: Marc Eshel/Almaden/IBM@IBMUS Cc: Frank Filz ,

[Nfs-ganesha-devel] md-cache (setattr2) optimization

2016-08-29 Thread Soumya Koduri
Hi Dan/Frank, I was looking at mdcache code a bit for performance optimizations possible. I have a couple of queries. Please let me know your inputs - * In ex setattr2(), we have support for FSAL to update the attributes in the obj handle. Can we make use of them and get away with getattrs()