Re: [Gluster-devel] Suggestion to optimize posix_getxattr call

2017-05-17 Thread Pranith Kumar Karampuri
yeah +1 from me too. On Mon, May 15, 2017 at 2:56 PM, Mohit Agrawal wrote: > Hi, > > I was just checking of posix_getxattr code to debug of my one problem.I > have found scope of improvement in > this function to execute system call in better way.As of now >

Re: [Gluster-devel] Suggestion to optimize posix_getxattr call

2017-05-15 Thread Shyam
On 05/15/2017 05:26 AM, Mohit Agrawal wrote: Hi, I was just checking of posix_getxattr code to debug of my one problem.I have found scope of improvement in this function to execute system call in better way.As of now function(posix_getxattr) is calling system calls (sys_lgetxattr) two

Re: [Gluster-devel] Suggestion to optimize posix_getxattr call

2017-05-15 Thread Amar Tumballi
On Mon, May 15, 2017 at 2:56 PM, Mohit Agrawal wrote: > Hi, > > I was just checking of posix_getxattr code to debug of my one problem.I > have found scope of improvement in > this function to execute system call in better way.As of now > function(posix_getxattr) is

[Gluster-devel] Suggestion to optimize posix_getxattr call

2017-05-15 Thread Mohit Agrawal
Hi, I was just checking of posix_getxattr code to debug of my one problem.I have found scope of improvement in this function to execute system call in better way.As of now function(posix_getxattr) is calling system calls (sys_lgetxattr) two times to get the value of xattr or in case of list