summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/mem-pool.h
diff options
context:
space:
mode:
authorPeter Portante <peter.portante@redhat.com>2012-10-12 15:06:26 -0400
committerAnand Avati <avati@redhat.com>2012-10-13 10:44:50 -0700
commit3c05477e69ad61eb744948a7e921ae53665f97e5 (patch)
treea0cf4e9c3b5a6570bb93451f6b4dc788dcbfd3e2 /libglusterfs/src/mem-pool.h
parent5b5453c3d6da0af8f2104c201d85ea4e795b6f17 (diff)
Fix BZ 865858: remove unnecessary system calls around xattr ops
The following is a simple refactoring of the read and write metadata methods to just make calls to get/set/remove xattr operations instead of trying to stat/open/close the file. For a single GET operation, this brings down the number of system calls made from 13 to 3 for a file object with no significantly sized metadata (meaning, only 1 xattr key/value pair is needed to store the metadata). Change-Id: I698f5886d63d5203f130c8eac1536a3ee4b0dbfb BUG: 865858 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/4078 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/mem-pool.h')
0 files changed, 0 insertions, 0 deletions