From 32ce873516af0baf76cfb9fea831434b672f3516 Mon Sep 17 00:00:00 2001 From: Chetan Risbud Date: Wed, 31 Jul 2013 19:36:32 +0530 Subject: Gluster to handle ENOSPC (Error 28) correctly A gluster volume could yield an ENOSPC condition seeing that a volume is full. This needed to handled correctly. Added error handling. BUG: 985253 https://bugzilla.redhat.com/show_bug.cgi?id=985253 Change-Id: I85472c0a81a354a2796327fead606da3a938d4bf Signed-off-by: Chetan Risbud Reviewed-on: http://review.gluster.org/5362 Reviewed-by: Peter Portante Reviewed-by: Luis Pabon Tested-by: Luis Pabon Reviewed-on: http://review.gluster.org/5570 --- gluster/swift/common/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gluster/swift/common/exceptions.py') diff --git a/gluster/swift/common/exceptions.py b/gluster/swift/common/exceptions.py index 010ea24..ba2364e 100644 --- a/gluster/swift/common/exceptions.py +++ b/gluster/swift/common/exceptions.py @@ -44,3 +44,7 @@ class AlreadyExistsAsDir(GlusterfsException): class AlreadyExistsAsFile(GlusterfsException): pass + + +class DiskFileNoSpace(GlusterfsException): + pass -- cgit