Commit Graph

15696 Commits

Author SHA1 Message Date
Colin Patrick McCabe
d8da2ce6e4 rados/librados.h: use rados_snap_t consistently
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 17:16:09 -07:00
Colin Patrick McCabe
80a094d254 test/rados-api/aio.cc: test RoundTripWriteFull
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 13:06:09 -07:00
Colin Patrick McCabe
9df460593a test/rados-api/aio.cc: implement FlushPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 12:59:40 -07:00
Colin Patrick McCabe
4d9dab04b1 test/rados-api/aio.cc: test ReturnValuePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 11:25:39 -07:00
Colin Patrick McCabe
8cc794b087 test/rados-api/aio.cc: test IsSafePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 11:10:53 -07:00
Colin Patrick McCabe
3b81656a59 test/rados-api/aio.cc: add IsCompletePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 10:49:34 -07:00
Colin Patrick McCabe
f4d7382932 test/rados-api/aio.cc: Add RoundTripAppendPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 10:40:25 -07:00
Colin Patrick McCabe
cc25266957 test/rados-api/aio.cc: add RoundTripPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-16 10:31:07 -07:00
Colin Patrick McCabe
e2d4462ad7 LibRadosAio: WaitForSafePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-12 14:55:07 -07:00
Colin Patrick McCabe
ffab58f7d7 test/rados-api/aio.cc: SimpleWritePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-12 14:46:20 -07:00
Colin Patrick McCabe
1d6224ef82 rados_setxattr: return 0 on success
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-12 11:13:16 -07:00
Colin Patrick McCabe
431e98a94a rados_write_full: remove offset parameter
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-12 11:07:19 -07:00
Colin Patrick McCabe
dc3058391f test/rados-api/snapshots.cc:RollbackPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 17:54:09 -07:00
Colin Patrick McCabe
8f2933f86d test/rados-api/snapshots.cc:SnapGetNamePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 17:50:27 -07:00
Colin Patrick McCabe
2a766bce9a test/rados-api/snapshots.cc:SelfManagedRollbackTest
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 17:45:44 -07:00
Colin Patrick McCabe
19ed6b652a SelfManagedSnapTest: test more
* test more snapshot functions in SelfManagedSnapTest

* rados_ioctx_selfmanaged_snap_set_write_ctx: fix name in C file to
conform to header file

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 17:30:52 -07:00
Colin Patrick McCabe
54810b6d60 test/rados-api/snapshots.cc: SelfManagedSnapTestPP
Also test SelfManagedSnapRollbackPP

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 17:09:02 -07:00
Colin Patrick McCabe
db36816156 test/rados-api/io.cc: test XattrListPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 14:43:33 -07:00
Colin Patrick McCabe
020f063c28 test/rados-api/io.cc: test RmXattrPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 14:06:07 -07:00
Colin Patrick McCabe
4781fa8695 test/rados-api/io.cc: test XattrsRoundTripPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 13:56:12 -07:00
Colin Patrick McCabe
529c4d5353 test/rados-api/io.cc: add RemoveTestPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 13:01:24 -07:00
Colin Patrick McCabe
ceb8cd1e8c test/rados-api/io.cc: AppendRoundTripPP,TruncPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 11:59:51 -07:00
Colin Patrick McCabe
a18957432f test/rados-api/io.cc: test WriteFullRoundTripPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 11:19:44 -07:00
Colin Patrick McCabe
fef049e1ce test/rados-api/io.cc: test RoundTripPP, etc.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 11:15:52 -07:00
Colin Patrick McCabe
05e7157c27 test/rados-api/io.cc: test SimpleWritePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 10:40:46 -07:00
Colin Patrick McCabe
a1d8013abc test/rados-api/test.cc: add create_one_pool_pp,etc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 10:40:29 -07:00
Colin Patrick McCabe
2c1ea4a68d librados: add IoCtx::close
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-11 10:40:03 -07:00
Colin Patrick McCabe
61a712dc6d Add test/rados-api/misc.cc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 17:06:13 -07:00
Colin Patrick McCabe
78f0f2d9f1 test/rados-api/snapshots: add SelfManagedSnapTest
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 15:55:27 -07:00
Colin Patrick McCabe
0e51231429 librados:fix name of rados_ioctx_snap_set_read/wr
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 15:54:43 -07:00
Colin Patrick McCabe
8caef7718b test/rados-api/snapshots.cc: test SnapGetName
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 15:27:53 -07:00
Colin Patrick McCabe
3f9c0d01db test/rados-api/snapshots.cc: test Rollback
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 15:05:02 -07:00
Colin Patrick McCabe
3dbf9d4ec7 test/rados-api/snapshots.cc: test SnapRemove
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 14:31:10 -07:00
Colin Patrick McCabe
4260a58e21 test/rados-api/snapshots.cc: test SnapList
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 12:01:15 -07:00
Colin Patrick McCabe
3841e06f28 Add test/rados-api/watch_notify.cc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 11:24:49 -07:00
Colin Patrick McCabe
5b6b5691cd test/rados-api: move TestAlarm into test.h
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 11:24:22 -07:00
Colin Patrick McCabe
d61f7ae144 test/rados-api/stat.cc: test ClusterStat,PoolStat
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 11:24:02 -07:00
Colin Patrick McCabe
5107813ccc Add test/rados-api/stat.cc: test rados_stat
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-10 10:04:15 -07:00
Colin Patrick McCabe
a3219c9ab8 test/rados-api/pool.cc:test PoolCreateWithCrushRule
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:20:26 -07:00
Colin Patrick McCabe
fd0d26d4eb test/rados-api/pool.cc: test rados_ioctx_get_id
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:07:26 -07:00
Colin Patrick McCabe
5a06f0c50f test/rados-api/pool.cc: add AuidTest1, AuidTest2
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
54b9441f54 test/rados-api/pool.cc: test PoolLookup,PoolDelete
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
9e8a8b2d60 .gitignore: add test_rados_api_*
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
9935e9fa2c create_one_pool: improve error reporting
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
b9348c20f4 Add test/rados-api/pool.cc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
0ad5500be6 Add test_rados_api_list
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
bb3114cd2e rados/librados.h: remove rados_aio_get_obj_ver
Remove the unused and unimplemented rados_aio_get_obj_ver from the
header file.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
571608d4ae test/rados-api/aio.cc: add RoundTripWriteFull
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
d0d7691811 test/rados-api/aio.cc: fix shadowed class variable
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00
Colin Patrick McCabe
3090322de4 test/rados-api/aio.cc: test Flush
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:53 -07:00