[Bugs] [Bug 1460659] Avoid one extra call of l(get|list) xattr system call after use buffer in posix_getxattr
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 3 11:08:07 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1460659
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17520 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit 89faa4661d1ef66a9f8fe3b79e26bf4505ab6c61
Author: Mohit Agrawal <moagrawa at redhat.com>
Date: Mon Jun 12 16:30:20 2017 +0530
posix: Avoid one extra call of l(get|list)xattr call after use buffer in
posix_getxattr
Problem: In posix xlator posix_(f)getxattr is calling system
call(sys_lgetxattr)
two times to fetch the xattr value.
Solution: After use the extra buffer for first time calling we can avoid
second
attempt of system call(sys_lgetxattr) calling in posix_getxattr
for most
of the xattrs.
BUG: 1460659
Change-Id: I0d8da776c5bc86653d874a4629a73bbf65c621b8
Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>
Reviewed-on: https://review.gluster.org/17520
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Amar Tumballi <amarts at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Kinglong Mee
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=gqkkdMYEpm&a=cc_unsubscribe
More information about the Bugs
mailing list