Bug 1460658 - Avoid one extra call of l(get|list)xattr system call after use buffer in posix_getxattr
Summary: Avoid one extra call of l(get|list)xattr system call after use buffer in posi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: posix
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Mohit Agrawal
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks: 1460659
TreeView+ depends on / blocked
 
Reported: 2017-06-12 10:58 UTC by Mohit Agrawal
Modified: 2023-09-14 03:59 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.12.2-18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1460659 (view as bug list)
Environment:
Last Closed: 2018-11-19 04:51:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Mohit Agrawal 2017-06-12 10:58:07 UTC
Description of problem:
In posix xlator posix_(f)getxattr is calling system call(sys_lgetxattr) two times to fetch the xattr value, after use the buffer for first time calling we can avoid second attempt of calling system call(sys_lgetxattr) in posix_getxattr. 

Version-Release number of selected component (if applicable):

All version
How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Atin Mukherjee 2017-06-12 11:38:43 UTC
Isn't this an enhancement? If so, please mark it as RFE is the summary and move it to 3.3.0-beyond.

Comment 3 Atin Mukherjee 2017-06-13 08:50:19 UTC
Given this is an enhancement, the bug is deferred from rhgs-3.3.0

Comment 6 Red Hat Bugzilla 2023-09-14 03:59:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.