]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Colin Patrick McCabe [Thu, 18 Aug 2011 22:06:54 +0000 (15:06 -0700)]
add WatchNotifyTimeoutTestPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 18 Aug 2011 19:55:12 +0000 (12:55 -0700)]
test/rados-api/misc.cc: test CloneRange
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 18 Aug 2011 19:41:10 +0000 (12:41 -0700)]
test/rados-api/misc.cc: test CloneRangePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 18 Aug 2011 19:32:08 +0000 (12:32 -0700)]
test/rados-api/misc.cc: test AioOperatePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 18 Aug 2011 18:15:37 +0000 (11:15 -0700)]
test/rados-api/misc.cc: test Operate2PP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 18 Aug 2011 18:08:10 +0000 (11:08 -0700)]
Operate1PP: test CEPH_OSD_CMPXATTR_OP_EQ
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 18 Aug 2011 17:03:02 +0000 (10:03 -0700)]
librados: remove unused operate param
The last parameter of operate, aio_operate was unused and unchecked.
Remove it.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 22:40:33 +0000 (15:40 -0700)]
test/rados-api/misc.cc: test Operate1PP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 20:52:14 +0000 (13:52 -0700)]
Test rados_exec, C and C++ version
* Test rados_exec, C and C++ version
* add test_exec action
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 20:18:05 +0000 (13:18 -0700)]
test/rados-api/misc.cc: test tmap_update
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 19:41:15 +0000 (12:41 -0700)]
qa/workunits/rados/test.sh:explicitly invoke tests
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 19:35:39 +0000 (12:35 -0700)]
Add qa/workunits/rados/test.sh
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 00:55:19 +0000 (17:55 -0700)]
test/rados-api/misc.cc: test Rados::version
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 00:53:48 +0000 (17:53 -0700)]
test/rados-api/list.cc: C++ version
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 00:48:04 +0000 (17:48 -0700)]
test/rados-api/snapshots.cc: C++ version
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 00:37:38 +0000 (17:37 -0700)]
test/rados-api/watch_notify.cc: implement C++ ver
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 00:30:34 +0000 (17:30 -0700)]
test/rados-api/stat.cc: implement C++ tests
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 17 Aug 2011 00:16:09 +0000 (17:16 -0700)]
rados/librados.h: use rados_snap_t consistently
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 16 Aug 2011 20:06:09 +0000 (13:06 -0700)]
test/rados-api/aio.cc: test RoundTripWriteFull
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 16 Aug 2011 19:59:40 +0000 (12:59 -0700)]
test/rados-api/aio.cc: implement FlushPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 16 Aug 2011 18:25:39 +0000 (11:25 -0700)]
test/rados-api/aio.cc: test ReturnValuePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 16 Aug 2011 18:10:53 +0000 (11:10 -0700)]
test/rados-api/aio.cc: test IsSafePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 16 Aug 2011 17:49:34 +0000 (10:49 -0700)]
test/rados-api/aio.cc: add IsCompletePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 16 Aug 2011 17:40:25 +0000 (10:40 -0700)]
test/rados-api/aio.cc: Add RoundTripAppendPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 16 Aug 2011 17:31:07 +0000 (10:31 -0700)]
test/rados-api/aio.cc: add RoundTripPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 21:55:07 +0000 (14:55 -0700)]
LibRadosAio: WaitForSafePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 21:50:58 +0000 (17:50 -0400)]
test/rados-api/aio.cc: SimpleWritePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 18:13:16 +0000 (11:13 -0700)]
rados_setxattr: return 0 on success
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 18:07:19 +0000 (11:07 -0700)]
rados_write_full: remove offset parameter
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 00:54:09 +0000 (17:54 -0700)]
test/rados-api/snapshots.cc:RollbackPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 00:50:27 +0000 (17:50 -0700)]
test/rados-api/snapshots.cc:SnapGetNamePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 00:45:44 +0000 (17:45 -0700)]
test/rados-api/snapshots.cc:SelfManagedRollbackTest
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 12 Aug 2011 00:30:52 +0000 (17:30 -0700)]
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>
Colin Patrick McCabe [Fri, 12 Aug 2011 00:05:01 +0000 (17:05 -0700)]
test/rados-api/snapshots.cc: SelfManagedSnapTestPP
Also test SelfManagedSnapRollbackPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 21:43:33 +0000 (14:43 -0700)]
test/rados-api/io.cc: test XattrListPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 21:06:07 +0000 (14:06 -0700)]
test/rados-api/io.cc: test RmXattrPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 20:56:12 +0000 (13:56 -0700)]
test/rados-api/io.cc: test XattrsRoundTripPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 20:01:24 +0000 (13:01 -0700)]
test/rados-api/io.cc: add RemoveTestPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 18:59:51 +0000 (11:59 -0700)]
test/rados-api/io.cc: AppendRoundTripPP,TruncPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 18:19:44 +0000 (11:19 -0700)]
test/rados-api/io.cc: test WriteFullRoundTripPP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 18:15:52 +0000 (11:15 -0700)]
test/rados-api/io.cc: test RoundTripPP, etc.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 17:40:46 +0000 (10:40 -0700)]
test/rados-api/io.cc: test SimpleWritePP
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 17:40:29 +0000 (10:40 -0700)]
test/rados-api/test.cc: add create_one_pool_pp,etc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 17:40:03 +0000 (10:40 -0700)]
librados: add IoCtx::close
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 11 Aug 2011 00:06:13 +0000 (17:06 -0700)]
Add test/rados-api/misc.cc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 22:55:27 +0000 (15:55 -0700)]
test/rados-api/snapshots: add SelfManagedSnapTest
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 22:54:43 +0000 (15:54 -0700)]
librados:fix name of rados_ioctx_snap_set_read/wr
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 22:27:53 +0000 (15:27 -0700)]
test/rados-api/snapshots.cc: test SnapGetName
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 22:05:02 +0000 (15:05 -0700)]
test/rados-api/snapshots.cc: test Rollback
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 21:31:10 +0000 (14:31 -0700)]
test/rados-api/snapshots.cc: test SnapRemove
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 19:01:15 +0000 (12:01 -0700)]
test/rados-api/snapshots.cc: test SnapList
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 18:24:49 +0000 (11:24 -0700)]
Add test/rados-api/watch_notify.cc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 18:24:22 +0000 (11:24 -0700)]
test/rados-api: move TestAlarm into test.h
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 17:46:33 +0000 (10:46 -0700)]
test/rados-api/stat.cc: test ClusterStat,PoolStat
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 10 Aug 2011 17:04:15 +0000 (10:04 -0700)]
Add test/rados-api/stat.cc: test rados_stat
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 23:20:26 +0000 (16:20 -0700)]
test/rados-api/pool.cc:test PoolCreateWithCrushRule
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 23:07:26 +0000 (16:07 -0700)]
test/rados-api/pool.cc: test rados_ioctx_get_id
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 23:01:47 +0000 (16:01 -0700)]
test/rados-api/pool.cc: add AuidTest1, AuidTest2
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 22:54:13 +0000 (15:54 -0700)]
test/rados-api/pool.cc: test PoolLookup,PoolDelete
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 22:45:56 +0000 (15:45 -0700)]
.gitignore: add test_rados_api_*
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 22:42:24 +0000 (15:42 -0700)]
create_one_pool: improve error reporting
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 22:35:59 +0000 (15:35 -0700)]
Add test/rados-api/pool.cc
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 21:41:26 +0000 (14:41 -0700)]
Add test_rados_api_list
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 21:06:48 +0000 (14:06 -0700)]
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>
Colin Patrick McCabe [Tue, 9 Aug 2011 21:04:02 +0000 (14:04 -0700)]
test/rados-api/aio.cc: add RoundTripWriteFull
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 19:47:39 +0000 (12:47 -0700)]
test/rados-api/aio.cc: fix shadowed class variable
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 19:47:23 +0000 (12:47 -0700)]
test/rados-api/aio.cc: test Flush
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 19:35:18 +0000 (12:35 -0700)]
test/rados-api/aio.cc: add ReturnValue
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 19:26:36 +0000 (12:26 -0700)]
test/rados-api/aio.cc: test IsSafe
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 19:22:55 +0000 (12:22 -0700)]
test/rados-api/aio.cc: test IsComplete
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 19:19:14 +0000 (12:19 -0700)]
test/rados-api/aio.cc: use rados_aio_release
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 19:15:47 +0000 (12:15 -0700)]
test/rados-api/aio.cc: add RoundTripAppend
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 18:17:16 +0000 (11:17 -0700)]
test/rados-api/aio: add WaitForSafe, RoundTrip
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 18:06:02 +0000 (11:06 -0700)]
Add test/rados-api/aio: SimpleWrite
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 01:06:13 +0000 (18:06 -0700)]
test/rados-api/io.cc: add RmXattr, XattrIter
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 00:11:28 +0000 (17:11 -0700)]
test/rados-api/io: add XattrsRoundTrip
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 8 Aug 2011 23:35:50 +0000 (16:35 -0700)]
test/rados-api/io: add RemoveTest
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 8 Aug 2011 23:13:05 +0000 (16:13 -0700)]
test/rados-api/io: add TruncTest
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 8 Aug 2011 23:09:03 +0000 (16:09 -0700)]
test/rados-api/io: add AppendRoundTrip
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 8 Aug 2011 23:04:59 +0000 (16:04 -0700)]
test/rados-api/io: add WriteFullRoundTrip
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 8 Aug 2011 22:51:16 +0000 (15:51 -0700)]
test/rados-api/io: add roundtrip, overlappingwrite
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 9 Aug 2011 22:21:53 +0000 (15:21 -0700)]
Makefile.am: build gtest in debug builds
Formerly, we only built gtest when doing 'make check'. However, the
librados-api tests, which are built in debug mode for the 'all' target,
also use gtest. So build it when needed.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 8 Aug 2011 22:08:28 +0000 (15:08 -0700)]
Add test-rados directory, I/O test
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 8 Aug 2011 16:55:49 +0000 (09:55 -0700)]
Merge branch 'wip-config'
Sage Weil [Mon, 8 Aug 2011 04:27:03 +0000 (21:27 -0700)]
osd: missing ! in ifs on bad map after osd boot
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sun, 31 Jul 2011 04:21:03 +0000 (21:21 -0700)]
mds: fix Migrator::audit() for IMPORT_ABORTING
Make audit match reality.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Yehuda Sadeh [Fri, 5 Aug 2011 23:32:55 +0000 (16:32 -0700)]
objecter: halt compound operation only if result < 0
Colin Patrick McCabe [Fri, 5 Aug 2011 22:49:30 +0000 (15:49 -0700)]
Remove unused dyn_sprintf
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 22:44:32 +0000 (15:44 -0700)]
config.cc: clean up includes
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Fri, 5 Aug 2011 21:28:29 +0000 (14:28 -0700)]
mds: chain rename subtree projections
We can have two renames for the same file in flight to the journal. Stack
them up in a list. The old project_subtree_rename() should have asserted
that the item wasn't already in the map before inserting it to catch this
at the front end. Now it doesn't matter; it's a list.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 5 Aug 2011 21:26:59 +0000 (14:26 -0700)]
client: whitespace cleanup
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Fri, 5 Aug 2011 21:26:52 +0000 (14:26 -0700)]
client: send renames to the correct node
AFAICS we got this wrong in
b794aeb39 , which is annoying given I remember
thinking reasonably carefully about it.
The current reasoning: the request operates on the dentry target
directory from the MDS's perspective; that's where the request needs to go.
Signed-off-by: Sage Weil <sage@newdream.net>
Colin Patrick McCabe [Fri, 5 Aug 2011 19:49:37 +0000 (12:49 -0700)]
config: more thread-safety stuff
* Don't allow parse_argv, parse_env, or parse_config_files to be used
after threads have been started.
* Don't allow set_val to be used to change unsafe variables after
threads have been started.
* Test
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 19:18:00 +0000 (12:18 -0700)]
injectargs: forbid unsafe string modifications
Don't allow string-valued configuration items to be changed using
injectargs unless they have observers. Otherwise, we could have
crashes, since one thread could be reading the std::string's internal
buffer after another thread frees that buffer during assignment.
Write a unit test to validate this behavior.
Also test that we can turn on and off the log_file using injectargs.
This is something that injectargs often gets used for in practice.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 18:25:11 +0000 (11:25 -0700)]
test/daemon_config: add injectargs test
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 18:20:24 +0000 (11:20 -0700)]
Add daemon_config, libceph_config, etc.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 18:04:08 +0000 (11:04 -0700)]
add config unit test
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 17:47:25 +0000 (10:47 -0700)]
librados.h: fix out-of-date comment
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 17:32:42 +0000 (10:32 -0700)]
config: more cleanup
* any place where we know a set_val can't fail should be set_val_or_die
* in private md_config_t functions that need the mutex, assert that the
mutex is locked
* make md_config_t::expand_meta private, since nobody uses it outside of
the class.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 5 Aug 2011 00:16:10 +0000 (17:16 -0700)]
libceph.h: fix C compilation
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>