]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test_sync_io.c: add error handling 59/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 12 Feb 2013 15:48:15 +0000 (16:48 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 15 Feb 2013 09:22:49 +0000 (10:22 +0100)
commit6f3f17397ae77dac049288a4e819367d271d3e51
treebf2ded2eb1cbf5d396940355a7e9312a50211714
parent26cdb6a61b7a85e2c78825ce088861d97e8b3d4b
test_sync_io.c: add error handling

Add error handling for open(), posix_memalign() and malloc().
Reuse code for read_* and write_* functions.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
qa/workunits/direct_io/test_sync_io.c