Prashanth Pai c6d7ddc4bc Improve logging and raising DiskFileNoSpace
This commit only improves logging whenever ENOSPC (No space on disk)
or EDQUOT (Quota limit exceeded) is returned by glusterfs

Also, added methods to:
- get filename from file descriptor
- log with rate limit

Caveat: Although raising DiskFileNoSpace results in object-server
returning HTTPInsufficientStorage[507] correctly, the swift proxy-server
invokes "best_response" method that returns [503] to the user.

When write-behind translator is turned on in glusterfs, it may set
errno to EIO instead of ENOSPC/EDQUOT. This is documented in BZ 986812

BUG: 985862, 985253, 1020724
Change-Id: Ib0c5e41c11a8cdccc2077f71c31d8a23229452bb
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Reviewed-on: http://review.gluster.org/6199
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
Reviewed-on: http://review.gluster.org/6269
2013-11-15 09:06:21 -08:00
2013-11-10 17:14:18 -08:00
2013-08-13 12:43:54 -07:00
2013-11-14 15:14:35 -08:00
2013-10-15 16:26:59 -07:00
2013-09-13 06:21:29 -07:00
2013-11-14 15:14:35 -08:00
2013-11-04 13:46:25 -08:00

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. Quick Start Guide
  2. Developer Guide
Description
Swift Object Server implementation that enables objects created using the Swift API to be accessed as files on a POSIX filesystem.
Readme 1.8 MiB
Languages
Python 98.9%
Shell 0.8%
RPM Spec 0.3%