]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years ago.gitignore: py-compile
Sage Weil [Fri, 11 Feb 2011 23:38:40 +0000 (15:38 -0800)]
.gitignore: py-compile

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoMerge branch 'pybind'
Colin Patrick McCabe [Fri, 11 Feb 2011 15:50:13 +0000 (07:50 -0800)]
Merge branch 'pybind'

14 years agolibrados: include headers in dist tarball
Sage Weil [Fri, 11 Feb 2011 22:36:21 +0000 (14:36 -0800)]
librados: include headers in dist tarball

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoceph.spec.in: add librbd
Josh Durgin [Fri, 11 Feb 2011 21:46:04 +0000 (13:46 -0800)]
ceph.spec.in: add librbd

14 years agoMake git ignore librbd tests.
Tommi Virtanen [Fri, 11 Feb 2011 21:50:42 +0000 (13:50 -0800)]
Make git ignore librbd tests.

14 years agoceph: add --concise flag
Sage Weil [Fri, 11 Feb 2011 21:42:51 +0000 (13:42 -0800)]
ceph: add --concise flag

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoMerge branch 'stable'
Sage Weil [Fri, 11 Feb 2011 21:41:56 +0000 (13:41 -0800)]
Merge branch 'stable'

Conflicts:
configure.ac

14 years agoMerge remote branch 'origin/librbd'
Sage Weil [Fri, 11 Feb 2011 21:29:32 +0000 (13:29 -0800)]
Merge remote branch 'origin/librbd'

14 years agoobjecter: set linger op target pg when a linger is resent
Josh Durgin [Fri, 11 Feb 2011 21:21:05 +0000 (13:21 -0800)]
objecter: set linger op target pg when a linger is resent

send_linger always creates a new Op, but op_submit does not fill in
the target pg if an existing session is passed in, so when a linger
was resent, it had the wrong pg set.

This caused a crash in cosd with debugging turned on when running
testlibrbd twice. This occurred because the object context for the
linger in the wrong pg had no object name set.

14 years agomonclient: fix weirdness when we explicitly start with non-master mon
Sage Weil [Fri, 11 Feb 2011 20:53:49 +0000 (12:53 -0800)]
monclient: fix weirdness when we explicitly start with non-master mon

Fix

$ ./ceph -m 10.0.1.252:6790 health
2011-02-11 12:30:38.132728 mon <- [health]
2011-02-11 12:30:38.133243 mon <- [health]
2011-02-11 12:30:38.133697 mon0 -> 'Access denied' (-13)

when the IP we specify is, e.g., for mon.b.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoconfig: Remove g_conf.num_osd, num_mds, num_mon
Colin Patrick McCabe [Fri, 11 Feb 2011 13:58:21 +0000 (05:58 -0800)]
config: Remove g_conf.num_osd, num_mds, num_mon

These configuration options don't serve any use and were confusing.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoMake git ignore qa/workunits/direct_io_test.
Tommi Virtanen [Fri, 11 Feb 2011 20:58:06 +0000 (12:58 -0800)]
Make git ignore qa/workunits/direct_io_test.

14 years agoMonitorStore: check for ENOENT, not EEXIST
Colin Patrick McCabe [Fri, 11 Feb 2011 12:03:30 +0000 (04:03 -0800)]
MonitorStore: check for ENOENT, not EEXIST

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon: bufferlist::read_file: use safe_read
Colin Patrick McCabe [Fri, 11 Feb 2011 11:51:05 +0000 (03:51 -0800)]
common: bufferlist::read_file: use safe_read

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoauth/Crypto.cc: use safe_read_exact
Colin Patrick McCabe [Fri, 11 Feb 2011 11:31:31 +0000 (03:31 -0800)]
auth/Crypto.cc: use safe_read_exact

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoos/FileStore: remove unused variable
Colin Patrick McCabe [Fri, 11 Feb 2011 10:55:41 +0000 (02:55 -0800)]
os/FileStore: remove unused variable

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agov0.24.3 v0.24.3
Sage Weil [Thu, 10 Feb 2011 17:14:34 +0000 (09:14 -0800)]
v0.24.3

14 years agomake:add messages/MOSDRepScrub.h to NOINST_HEADERS
Colin Patrick McCabe [Tue, 8 Feb 2011 17:38:50 +0000 (09:38 -0800)]
make:add messages/MOSDRepScrub.h to NOINST_HEADERS

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocephtool: get_indata should use safe_read_exact
Colin Patrick McCabe [Thu, 10 Feb 2011 16:33:47 +0000 (08:33 -0800)]
cephtool: get_indata should use safe_read_exact

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agomon/MonitorStore.cc: use safe_read
Colin Patrick McCabe [Thu, 10 Feb 2011 16:24:43 +0000 (08:24 -0800)]
mon/MonitorStore.cc: use safe_read

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agorados.cc: use fwrite to output data to stdout
Colin Patrick McCabe [Thu, 10 Feb 2011 16:24:25 +0000 (08:24 -0800)]
rados.cc: use fwrite to output data to stdout

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon/common_init: use safe_read
Colin Patrick McCabe [Thu, 10 Feb 2011 16:24:08 +0000 (08:24 -0800)]
common/common_init: use safe_read

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoos/FileStore: fix error handling
Colin Patrick McCabe [Thu, 10 Feb 2011 16:23:41 +0000 (08:23 -0800)]
os/FileStore: fix error handling

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agos3.sh: simple bug fix
Wesley Spikes [Thu, 10 Feb 2011 23:43:30 +0000 (15:43 -0800)]
s3.sh: simple bug fix

14 years agorados: add create op
Yehuda Sadeh [Thu, 10 Feb 2011 23:41:06 +0000 (15:41 -0800)]
rados: add create op

14 years agocommon/DoutStreambuf: use safe_io.h
Colin Patrick McCabe [Thu, 10 Feb 2011 16:00:34 +0000 (08:00 -0800)]
common/DoutStreambuf: use safe_io.h

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agotools/common: use fwrite to write stdout
Colin Patrick McCabe [Thu, 10 Feb 2011 15:09:24 +0000 (07:09 -0800)]
tools/common: use fwrite to write stdout

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoosd: write_meta/read_meta: fix error handling
Colin Patrick McCabe [Thu, 10 Feb 2011 15:08:46 +0000 (07:08 -0800)]
osd: write_meta/read_meta: fix error handling

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agomsgr: better error checking for write_pid_file
Colin Patrick McCabe [Thu, 10 Feb 2011 14:44:03 +0000 (06:44 -0800)]
msgr: better error checking for write_pid_file

Use safe_write. Check error code of close.

Fix what looks like a "lack of braces around multi-statement block"
error where we always complain that we're unable to write the pid file,
even if we succeed.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoos/FileStore.cc: use safe_write
Colin Patrick McCabe [Thu, 10 Feb 2011 14:43:35 +0000 (06:43 -0800)]
os/FileStore.cc: use safe_write

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon/buffer.cc: kill deadcode
Colin Patrick McCabe [Thu, 10 Feb 2011 14:43:10 +0000 (06:43 -0800)]
common/buffer.cc: kill deadcode

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon/ConfUtils.cc: use safe_write
Colin Patrick McCabe [Thu, 10 Feb 2011 14:42:53 +0000 (06:42 -0800)]
common/ConfUtils.cc: use safe_write

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoMonitorStore::put_int: handle I/O errors
Colin Patrick McCabe [Thu, 10 Feb 2011 14:19:10 +0000 (06:19 -0800)]
MonitorStore::put_int: handle I/O errors

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon/safe_io.h: warn about unchecked returns
Colin Patrick McCabe [Thu, 10 Feb 2011 14:02:46 +0000 (06:02 -0800)]
common/safe_io.h: warn about unchecked returns

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocfuse.cc: use safe_write
Colin Patrick McCabe [Thu, 10 Feb 2011 13:52:44 +0000 (05:52 -0800)]
cfuse.cc: use safe_write

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agomds/Dumper: use safe_write
Colin Patrick McCabe [Thu, 10 Feb 2011 13:49:49 +0000 (05:49 -0800)]
mds/Dumper: use safe_write

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agobtrfs_ioc_test.c: use safe_write
Colin Patrick McCabe [Thu, 10 Feb 2011 13:49:31 +0000 (05:49 -0800)]
btrfs_ioc_test.c: use safe_write

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agotest_disk_bw.cc: use safe_write
Colin Patrick McCabe [Thu, 10 Feb 2011 13:49:10 +0000 (05:49 -0800)]
test_disk_bw.cc: use safe_write

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon: safe_io: allow C files to include safe_io
Colin Patrick McCabe [Thu, 10 Feb 2011 13:47:08 +0000 (05:47 -0800)]
common: safe_io: allow C files to include safe_io

Don't use extern C unless we're compiling with C++.
This allows C files to include safe_io.h

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoclient/fuse_ll: use safe_write
Colin Patrick McCabe [Thu, 10 Feb 2011 13:13:04 +0000 (05:13 -0800)]
client/fuse_ll: use safe_write

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoos: convert some read/write uses to safe variants
Colin Patrick McCabe [Thu, 10 Feb 2011 11:55:38 +0000 (03:55 -0800)]
os: convert some read/write uses to safe variants

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon:safe_io: create exact and non-exact variant
Colin Patrick McCabe [Thu, 10 Feb 2011 11:53:25 +0000 (03:53 -0800)]
common:safe_io: create exact and non-exact variant

Create safe_read_exact, which fails with -EDOM unless it reads exactly
the requested number of bytes. More often, what we want is the
semantics of safe_read, which returns the number of bytes it read, or
negative on error. Likewise for pread.

Write doesn't need variants because failing to write all the bytes is
always an error.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon: safe_io: handle EOF on read
Colin Patrick McCabe [Thu, 10 Feb 2011 11:27:40 +0000 (03:27 -0800)]
common: safe_io: handle EOF on read

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agorbd: fix signed/unsigned comp on i386
Sage Weil [Thu, 10 Feb 2011 17:01:09 +0000 (09:01 -0800)]
rbd: fix signed/unsigned comp on i386

We -D_FILE_OFFSET_BITS=64, so off_t is off64_t.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoRemoving files that look completely unused.
Tommi Virtanen [Tue, 8 Feb 2011 17:39:12 +0000 (09:39 -0800)]
Removing files that look completely unused.

14 years agoosd: avoid message leak in error path
Sage Weil [Thu, 10 Feb 2011 16:52:12 +0000 (08:52 -0800)]
osd: avoid message leak in error path

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoconfig: fix -f option settings.
Greg Farnum [Thu, 10 Feb 2011 01:01:06 +0000 (17:01 -0800)]
config: fix -f option settings.

We don't want to force foreground logging just because we run in the
foreground -- use no-daemon for that!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
14 years agofilestore: fix fiemap
Yehuda Sadeh [Thu, 10 Feb 2011 00:19:37 +0000 (16:19 -0800)]
filestore: fix fiemap

14 years agotestlibrbd: change strcmp to memcmp, other stuff
Yehuda Sadeh [Thu, 10 Feb 2011 00:19:16 +0000 (16:19 -0800)]
testlibrbd: change strcmp to memcmp, other stuff

14 years agolibrbd: use watch/notify internally to keep ImageCtx updated
Josh Durgin [Tue, 8 Feb 2011 19:21:53 +0000 (11:21 -0800)]
librbd: use watch/notify internally to keep ImageCtx updated

14 years agolibrbd: add C++ interface tests
Josh Durgin [Wed, 9 Feb 2011 20:36:50 +0000 (12:36 -0800)]
librbd: add C++ interface tests

14 years agolibrbd: fully specify std::string in list function
Josh Durgin [Wed, 9 Feb 2011 20:35:36 +0000 (12:35 -0800)]
librbd: fully specify std::string in list function

14 years agodout: don't print time to syslog
Colin Patrick McCabe [Wed, 9 Feb 2011 18:53:46 +0000 (10:53 -0800)]
dout: don't print time to syslog

Syslog itself prepends a time to messages, so don't duplicate that.
Use a faster snprintf-based method to generate the time string rather
than streams.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agopybind/rados: expand on error handling a bit
Colin Patrick McCabe [Wed, 9 Feb 2011 17:39:45 +0000 (09:39 -0800)]
pybind/rados: expand on error handling a bit

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoAdd python bindings for rados
Hannu Valtonen [Wed, 9 Feb 2011 16:47:56 +0000 (08:47 -0800)]
Add python bindings for rados

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoMerge branch 'fix32'
Colin Patrick McCabe [Wed, 9 Feb 2011 14:48:14 +0000 (06:48 -0800)]
Merge branch 'fix32'

14 years agoOn i386, pthread ids are 8 hexdigits. Adjust cli tests.
Tommi Virtanen [Wed, 9 Feb 2011 18:07:44 +0000 (10:07 -0800)]
On i386, pthread ids are 8 hexdigits. Adjust cli tests.

14 years agomsg/SimpleMessenger.c: fix signed/unsigned compare
Colin Patrick McCabe [Wed, 9 Feb 2011 14:39:33 +0000 (06:39 -0800)]
msg/SimpleMessenger.c: fix signed/unsigned compare

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoos/FileStore: fix signed/unsigned comparison warn
Colin Patrick McCabe [Wed, 9 Feb 2011 14:32:44 +0000 (06:32 -0800)]
os/FileStore: fix signed/unsigned comparison warn

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoos/FileJournal: compare like types in MAX()
Colin Patrick McCabe [Wed, 9 Feb 2011 14:28:41 +0000 (06:28 -0800)]
os/FileJournal: compare like types in MAX()

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agotools/gui.cc: fix signed/unsigned comparison
Colin Patrick McCabe [Wed, 9 Feb 2011 13:32:20 +0000 (05:32 -0800)]
tools/gui.cc: fix signed/unsigned comparison

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoMerge remote branch 'origin/rep_scrub_wq' into stable
Sage Weil [Wed, 9 Feb 2011 00:22:01 +0000 (16:22 -0800)]
Merge remote branch 'origin/rep_scrub_wq' into stable

14 years agorbd: fix watch tool
Yehuda Sadeh [Tue, 8 Feb 2011 22:04:47 +0000 (14:04 -0800)]
rbd: fix watch tool

14 years agorbd: modify watch
Yehuda Sadeh [Tue, 8 Feb 2011 21:39:30 +0000 (13:39 -0800)]
rbd: modify watch

14 years agolibrbd: fix completion cb mixup
Yehuda Sadeh [Tue, 8 Feb 2011 19:50:56 +0000 (11:50 -0800)]
librbd: fix completion cb mixup

14 years agomake:add messages/MOSDRepScrub.h to NOINST_HEADERS
Colin Patrick McCabe [Tue, 8 Feb 2011 17:38:50 +0000 (09:38 -0800)]
make:add messages/MOSDRepScrub.h to NOINST_HEADERS

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agoMerge branch 'stable'
Sage Weil [Wed, 9 Feb 2011 00:22:47 +0000 (16:22 -0800)]
Merge branch 'stable'

Conflicts:
src/osd/OSD.cc

14 years agoosd: discard scrub reply if pg changed
Sage Weil [Tue, 8 Feb 2011 16:41:52 +0000 (08:41 -0800)]
osd: discard scrub reply if pg changed

build_scrub_map will bail out if the pg changed.  Discard the result in
that case since the primary will ignore it anyway.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoosd: avoid map_lock for scrub_map reply
Sage Weil [Tue, 8 Feb 2011 16:41:14 +0000 (08:41 -0800)]
osd: avoid map_lock for scrub_map reply

Using osd->osdmap->epoch without map_lock is dangerous.  We can avoid it
entirely by replying on the same connection as the request.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoosd: never rewrite log after {advance,activate}_map
Sage Weil [Tue, 8 Feb 2011 16:21:31 +0000 (08:21 -0800)]
osd: never rewrite log after {advance,activate}_map

pg->dirty_log is never true, so this is dead code.  And nothing in either
of those two methods updates the pg log.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoosd: always write backlog after creation
Sage Weil [Tue, 8 Feb 2011 16:20:19 +0000 (08:20 -0800)]
osd: always write backlog after creation

dirty_log is never set to true, so we would set the log.backlog flag but
not write it to disk.  If we restarted the OSD, we would think we had the
backlog in the log but in reality we would not.  clean_up_local() could
then erase almost every object in the PG.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoosd: fix no missing inferance
Sage Weil [Tue, 8 Feb 2011 15:54:17 +0000 (07:54 -0800)]
osd: fix no missing inferance

Add missing continue in last_update==last_complete (no missing) case.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agocommon_init: don't force profiling_logger = true
Colin Patrick McCabe [Tue, 8 Feb 2011 16:07:34 +0000 (08:07 -0800)]
common_init: don't force profiling_logger = true

common_init: don't force profiling_logger = true for daemons. Users can
always set "profiling logger = true" when they want to activate it.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon: Rename Logger to ProfilingLogger
Colin Patrick McCabe [Mon, 7 Feb 2011 18:10:06 +0000 (10:10 -0800)]
common: Rename Logger to ProfilingLogger

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agocommon: combine set_fg_logging into common_init
Colin Patrick McCabe [Tue, 8 Feb 2011 11:22:21 +0000 (03:22 -0800)]
common: combine set_fg_logging into common_init

Combine set_fg_logging into common_init. This eliminates the problem
where we briefly try to apply the logging settings from the config file
even in a program that needs to set foreground logging.

TestTimers, TestSignalHandlers, TestDoutStreambuf: don't initialize ceph
authentication. These applications don't need it.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
14 years agogitignore: ignore massif.out.*
Sage Weil [Fri, 28 Jan 2011 20:40:41 +0000 (12:40 -0800)]
gitignore: ignore massif.out.*

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoconfig: kill more unused options
Sage Weil [Tue, 8 Feb 2011 15:48:32 +0000 (07:48 -0800)]
config: kill more unused options

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agocfuse: remove high level fuse interface
Sage Weil [Tue, 8 Feb 2011 15:43:00 +0000 (07:43 -0800)]
cfuse: remove high level fuse interface

Untested, unused, and inferior to the lowlevel implementation.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
14 years agoPG: remove sub_op_scrub
Samuel Just [Sat, 5 Feb 2011 01:23:15 +0000 (17:23 -0800)]
PG: remove sub_op_scrub

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoPG: switch _request_scrub_map to send MOSDRepScrub
Samuel Just [Fri, 4 Feb 2011 01:02:17 +0000 (17:02 -0800)]
PG: switch _request_scrub_map to send MOSDRepScrub

Also switches sub_op_scrub_reply to sub_op_scrub_map to handle the
OSD_OP_SCRUB_MAP response.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoOSD: Adds handler for MOSDRepScrub
Samuel Just [Sat, 5 Feb 2011 01:00:58 +0000 (17:00 -0800)]
OSD: Adds handler for MOSDRepScrub

handle_rep_scrub enqueues the message in rep_scrub_wq.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoPG: added replica_scrub
Samuel Just [Sat, 5 Feb 2011 00:59:58 +0000 (16:59 -0800)]
PG: added replica_scrub

Adds handler in PG for MOSDRepScrub messages.  replica_scrub will
replace sub_op_scrub.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoOSD: Add rep_scrub_wq
Samuel Just [Sat, 5 Feb 2011 00:58:06 +0000 (16:58 -0800)]
OSD: Add rep_scrub_wq

Previously, replica scrubs would be handled in sub_op_scrub in the op
queue.  Replica scrubs will now be processed by rep_scrub_wq using the
disk tp.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agorados: Adds CEPH_OSD_OP_SCRUB_MAP sub op
Samuel Just [Fri, 4 Feb 2011 23:46:27 +0000 (15:46 -0800)]
rados: Adds CEPH_OSD_OP_SCRUB_MAP sub op

Previously, maps were requested with a sub_op and sent with a
sub_op_reply.  As maps will now be requested using a different message,
replicas will transmit scrub maps requested via MOSDRepScrub messages by
sending a sub_op of type CEPH_OSD_OP_SCRUB_MAP.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoMOSDRepScrub: Adds a message for initiating a replica scrub
Samuel Just [Thu, 3 Feb 2011 22:29:43 +0000 (14:29 -0800)]
MOSDRepScrub: Adds a message for initiating a replica scrub

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agolibrbd: change tests to use new rbd_list and rbd_list_snaps interface
Josh Durgin [Mon, 7 Feb 2011 23:20:38 +0000 (15:20 -0800)]
librbd: change tests to use new rbd_list and rbd_list_snaps interface

14 years agolibrbd: depends on librados
Yehuda Sadeh [Tue, 8 Feb 2011 01:20:33 +0000 (17:20 -0800)]
librbd: depends on librados

14 years agolibrbd, librados: cleanup
Yehuda Sadeh [Mon, 7 Feb 2011 22:41:41 +0000 (14:41 -0800)]
librbd, librados: cleanup

14 years agolibrbd: modify rbd_list() interface
Yehuda Sadeh [Mon, 7 Feb 2011 21:40:14 +0000 (13:40 -0800)]
librbd: modify rbd_list() interface

14 years agolibrbd: modify list_snaps C interface
Yehuda Sadeh [Mon, 7 Feb 2011 19:34:36 +0000 (11:34 -0800)]
librbd: modify list_snaps C interface

14 years agolibrbd: check aio return values in tests
Josh Durgin [Fri, 4 Feb 2011 23:13:32 +0000 (15:13 -0800)]
librbd: check aio return values in tests

14 years agolibrbd: remove redundant casting in C aio completion functions
Josh Durgin [Fri, 4 Feb 2011 23:11:59 +0000 (15:11 -0800)]
librbd: remove redundant casting in C aio completion functions

14 years agolibrbd: add C api I/O tests
Josh Durgin [Fri, 4 Feb 2011 22:06:08 +0000 (14:06 -0800)]
librbd: add C api I/O tests

14 years agolibrbd: finish C I/O api
Josh Durgin [Fri, 4 Feb 2011 22:04:35 +0000 (14:04 -0800)]
librbd: finish C I/O api

14 years agolibrbd: change bufferlist namespace
Yehuda Sadeh [Fri, 4 Feb 2011 21:03:10 +0000 (13:03 -0800)]
librbd: change bufferlist namespace

14 years agorbd: revert to the old(er) export implementation
Yehuda Sadeh [Fri, 4 Feb 2011 20:45:06 +0000 (12:45 -0800)]
rbd: revert to the old(er) export implementation

the aio_write was just used for development

14 years agolibrbd: fix aio_read
Yehuda Sadeh [Fri, 4 Feb 2011 20:43:09 +0000 (12:43 -0800)]
librbd: fix aio_read

14 years agolibrbd: aio_read, still buggy
Yehuda Sadeh [Fri, 4 Feb 2011 19:19:19 +0000 (11:19 -0800)]
librbd: aio_read, still buggy

14 years agolibrbd: add C version of get_rados_pools
Josh Durgin [Fri, 4 Feb 2011 01:59:39 +0000 (17:59 -0800)]
librbd: add C version of get_rados_pools

14 years agolibrbd: add rbd prefix to C version of set_snap
Josh Durgin [Fri, 4 Feb 2011 01:52:44 +0000 (17:52 -0800)]
librbd: add rbd prefix to C version of set_snap