diff options
author | Prashanth Pai <ppai@redhat.com> | 2016-03-02 12:51:22 +0530 |
---|---|---|
committer | Thiago da Silva <thiago@redhat.com> | 2016-04-05 08:52:57 -0700 |
commit | 43da7927560811c55838a6a1c2d0ee1a52aada40 (patch) | |
tree | f89d34006cb063413c5f2f2acd8c5288054d624b /test/object_expirer_functional | |
parent | 789f1a150c87f05905b02dfdd8ad77ac6c1ba46f (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 'test/object_expirer_functional')
0 files changed, 0 insertions, 0 deletions