path: root/tools
diff options
authorPrashanth Pai <>2016-03-02 12:51:22 +0530
committerThiago da Silva <>2016-04-05 08:52:57 -0700
commit43da7927560811c55838a6a1c2d0ee1a52aada40 (patch)
treef89d34006cb063413c5f2f2acd8c5288054d624b /tools
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 <> Reviewed-on: Reviewed-by: Thiago da Silva <> Tested-by: Thiago da Silva <>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions