diff options
author | Mohammed Junaid <junaid@redhat.com> | 2012-12-18 10:55:24 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-01-22 19:14:30 -0800 |
commit | 16d2801f072f5eb1d2ddb56a2ab5eecd3a42010a (patch) | |
tree | 23629bbc03ed925200745cc84e75cb8dfbb48f47 /ufo/gluster/swift/common/Glusterfs.py | |
parent | 2f60c8a4776a6052cfba43605263dd32c616cfa2 (diff) |
object-storage: use temp file optimization
A file name '.<FILENAME>.<RANDOM>' will hash to the same GlusterFS node
as a file named '<FILENAME>', thus avoiding creation/deletion of linkfiles on a rename.
This is part of the work needed to address BZ 876660
(https://bugzilla.redhat.com/show_bug.cgi?id=876660).
Change-Id: I6f18c14b8eaa7a35c96f7e455ef3a19bee7dbde5
BUG: 876660
Signed-off-by: Mohammed Junaid <junaid@redhat.com>
Reviewed-on: http://review.gluster.org/4325
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Peter Portante <pportant@redhat.com>
Diffstat (limited to 'ufo/gluster/swift/common/Glusterfs.py')
0 files changed, 0 insertions, 0 deletions