summaryrefslogtreecommitdiffstats
path: root/glusterfs-openstack-swift.spec
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-03-02 12:51:22 +0530
committerThiago da Silva <thiago@redhat.com>2016-04-05 08:52:57 -0700
commit43da7927560811c55838a6a1c2d0ee1a52aada40 (patch)
treef89d34006cb063413c5f2f2acd8c5288054d624b /glusterfs-openstack-swift.spec
parent789f1a150c87f05905b02dfdd8ad77ac6c1ba46f (diff)
Don't fetch metadata for plain object listing
Fetch metadata (xattr) for objects in a container ONLY when the client asks for it (using content-type indicating JSON or XML response). This avoids a lot of unnecessarry stat() and getxattr() calls whose results would anyways be unused. The performance gain is obvious in this case. Change-Id: I4c8b0516dedd04553a5ed450bc855cafbfabada9 Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/13573 Reviewed-by: Thiago da Silva <thiago@redhat.com> Tested-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'glusterfs-openstack-swift.spec')
0 files changed, 0 insertions, 0 deletions