Bug 1317790
Summary: | Cache swift xattrs | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Prashanth Pai <ppai> | ||||
Component: | fuse | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> | ||||
Status: | CLOSED ERRATA | QA Contact: | surabhi <sbhaloth> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | high | ||||||
Version: | rhgs-3.1 | CC: | asrivast, bugs, chrisw, csaba, ndevos, nlevinki, rcyriac, rhinduja, sasundar | ||||
Target Milestone: | --- | Keywords: | ZStream | ||||
Target Release: | RHGS 3.1.3 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | glusterfs-3.7.9-2 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1317788 | Environment: | |||||
Last Closed: | 2016-06-23 05:10:59 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1317785, 1317788 | ||||||
Bug Blocks: | 1299184, 1314171, 1328444 | ||||||
Attachments: |
|
Description
Prashanth Pai
2016-03-15 08:40:25 UTC
Upstream change on review: http://review.gluster.org/13735 This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Performed GET,PUT and DELETE operations and saw only one getxattr calls happening for the specific operations which may improve the performance. Currently verified on the basis os reduced xattr calls. Will take up the basic perf in regression cycle. marking the BZ verified. [pid 19074] open("/mnt/gluster-object/test/c1/o1", O_RDONLY|O_CLOEXEC) = 10 [pid 19074] fstat(10, {st_mode=S_IFREG|0755, st_size=8, ...}) = 0 [pid 19074] fgetxattr(10, "user.swift.metadata", 0x0, 0) = 178 [pid 19074] fgetxattr(10, "user.swift.metadata", "{"Content-Length":8,"ETag":"15fe514867dd5b4a1abf91ea35ff9e22","X-Object-Type":"file","X-Timestamp":"1462801876.06361","X-Type":"Object","Content-Type":"application/octet-stream"}", 178) = 178 [pid 19074] close(10) = 0 [pid 19074] setxattr("/mnt/gluster-object/test/c1/o1", "user.swift.metadata", "{"Content-Length":8,"ETag":"15fe514867dd5b4a1abf91ea35ff9e22","X-Timestamp":"1462802038.60981","X-Object-Type":"file","X-Type":"Object","Content-Type":"application/octet-stream","X-Object-Meta-Hello":"World"}", 208, 0) = 0 [pid 19074] poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP}, {fd=13, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 0) = 0 (Timeout) [pid 19074] sendto(6, "HTTP/1.1 202 Accepted\r\nContent-L"..., 217, 0, NULL, 0) = 217 [pid 19074] shutdown(6, SHUT_RDWR) = 0 [pid 19074] close(6) = 0 [pid 19074] poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP}, {fd=13, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 60000 Created attachment 1155681 [details]
pcap to show the reduced xattr calls while PUT and Delete
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1240 |