mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
Merge remote-tracking branch 'origin/wip-full-msg' into greg-fs-testing
https://github.com/ceph/ceph-qa-suite/pull/786 Reviewed-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
commit
afbc90b9a6
@ -314,7 +314,12 @@ class FullnessTestCase(CephFSTestCase):
|
||||
full = False
|
||||
|
||||
for n in range(0, {fill_mb} + 1):
|
||||
bytes += os.write(f, 'x' * 1024 * 1024)
|
||||
try:
|
||||
bytes += os.write(f, 'x' * 1024 * 1024)
|
||||
except OSError as e:
|
||||
print "Unexpected error %s from write() instead of fsync()" % e
|
||||
raise
|
||||
|
||||
try:
|
||||
os.fsync(f)
|
||||
except OSError as e:
|
||||
|
Loading…
Reference in New Issue
Block a user