Swift Object Server implementation that enables objects created using the Swift API to be accessed as files on a POSIX filesystem.
Go to file
Peter Portante bd62696fa9 Fix infinite loop for temp file renames on ENOENT
This is a port from master branch fix
http://review.gluster.org/5670 to grizzly branch.

For whatever reason, it appears that GlusterFS, or perhaps FUSE can
continuously return ENOENT on a rename system call even when we have
double checked that there is no reason to do so. That is a bug for
that sub system. However, our response to that bug can result in an
infinite loop, which is bad.

This code reduces that to 10 attempts.

In addition, we restructed the open retry loop to match, providing
module constants for the upper bounds of both retry loops.

BUG: 1005379 (https://bugzilla.redhat.com/show_bug.cgi?id=1005379)

Change-Id: Ia2d6dd427daba3ea0461863c5ffe3aef27c88f9b
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/5670
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
Signed-off-by: Luis Pabon <lpabon@redhat.com>
Reviewed-on: http://review.gluster.org/5848
Reviewed-by: Peter Portante <pportant@redhat.com>
Tested-by: Peter Portante <pportant@redhat.com>
2013-09-08 12:31:16 -07:00
bin gluster-swift-gen-builders behaviour changes 2013-08-20 07:12:01 -07:00
doc/markdown Finish the doc for developers 2013-08-01 11:18:33 -07:00
etc Removed conf file sections which are not needed 2013-07-31 14:02:10 -07:00
extras/hook-scripts Updating copyrights with current year 2013-08-01 10:52:08 -07:00
gluster Fix infinite loop for temp file renames on ENOENT 2013-09-08 12:31:16 -07:00
test Fix infinite loop for temp file renames on ENOENT 2013-09-08 12:31:16 -07:00
tools Fix spec file to support source rpms 2013-08-21 12:08:06 -07:00
.gitignore Generate coverage HTML reports by default. 2013-05-17 12:53:40 -07:00
.gitreview Git review to point to grizzly branch 2013-08-21 14:16:47 -07:00
HISTORY Remove "ufo" directory, promoting contents to top-level 2013-05-10 07:12:08 -07:00
README.md Re-worded table contents portion of Readme.md 2013-07-05 08:15:12 -07:00
functests.sh Add simple script for running func tests 2013-07-08 12:10:30 -07:00
glusterfs-openstack-swift.spec Fix spec file to support source rpms 2013-08-21 12:08:06 -07:00
makerpm.sh Fix spec file to support source rpms 2013-08-21 12:08:06 -07:00
pkgconfig.py rpm: Enable creation of RPMs 2013-05-17 04:36:41 -07:00
setup.py Remove filter for non-existent middleware. 2013-08-26 09:06:02 -07:00
tox.ini Add branch coverage, HTML pages, verbosity 2013-06-03 14:02:30 -07:00
unittests.sh Updating copyrights with current year 2013-08-01 10:52:08 -07:00

README.md

Gluster For Swift

Integrating GlusterFS as the back-end to OpenStack Swift implementation. This is a component of the Unified File and Object (UFO) story for GlusterFS, which allows files and directories created via gluster-native/nfs/samba mount(s) to be accessed as objects via the Swift API.

Table of Contents

  1. Overview and Concepts
  2. User Guide
  3. Developer Guide