]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoobjecter: show osds in laggy debug output
Sage Weil [Fri, 30 Apr 2010 17:11:16 +0000 (10:11 -0700)]
objecter: show osds in laggy debug output

15 years agomds: fix trim_dentry on dentry under unlinked dir
Sage Weil [Fri, 30 Apr 2010 18:05:39 +0000 (11:05 -0700)]
mds: fix trim_dentry on dentry under unlinked dir

We can get a dentry that is trimmable (e.g. null) under a new unlinked dir,
which has no subtree.  This will only happen on the auth.  In that case,
having no container is harmless--it's only needed for replicas.

This fixes the following crash:

mds/MDCache.cc: In function 'void MDCache::trim_dentry(CDentry*, std::map<int, MCacheExpire*, std::less<int>, std::allocator<std::pair<const int, MCacheExpire*> > >&)':
mds/MDCache.cc:4797: FAILED assert(con)
 1: (MDCache::trim(int)+0x214) [0x4ffbc4]
 2: (MDS::tick()+0x4c1) [0x48f3b1]
 3: (SafeTimer::EventWrapper::finish(int)+0x269) [0x683a89]
 4: (Timer::timer_entry()+0x819) [0x685909]
 5: (Timer::TimerThread::entry()+0xd) [0x47528d]
 6: (Thread::_entry_func(void*)+0x7) [0x48a8a7]
 7: /lib/libpthread.so.0 [0x7ffe62356fc7]
 8: (clone()+0x6d) [0x7ffe615835ad]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: fix pg_to_acting_osds() calculation to consider pg_temp
Sage Weil [Fri, 30 Apr 2010 17:46:17 +0000 (10:46 -0700)]
osd: fix pg_to_acting_osds() calculation to consider pg_temp

The OSD was using pg_to_up_acting, the client uses pg_to_acting, and their
calculations of 'acting' weren't consistent because the latter did not
consider pg_temp.

Use new helpers to clean this up.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agofilestore: fail to mount if journal open fails
Sage Weil [Fri, 30 Apr 2010 04:43:07 +0000 (21:43 -0700)]
filestore: fail to mount if journal open fails

Clean up error reporting too.

15 years agomsgr: fix sigint/term signal handler to actually quit (by chaining)
Sage Weil [Fri, 30 Apr 2010 04:12:16 +0000 (21:12 -0700)]
msgr: fix sigint/term signal handler to actually quit (by chaining)

15 years agolibrados: fix blank pool stats
Sage Weil [Thu, 29 Apr 2010 22:05:39 +0000 (15:05 -0700)]
librados: fix blank pool stats

15 years agoqa: make pjd clean up
Sage Weil [Thu, 29 Apr 2010 21:26:46 +0000 (14:26 -0700)]
qa: make pjd clean up

15 years agomds: clean up MIN/MAX, client_ranges
Sage Weil [Wed, 28 Apr 2010 20:42:50 +0000 (13:42 -0700)]
mds: clean up MIN/MAX, client_ranges

Avoid double evaluation via macros...

15 years agomsgr: remove pid file on SIGINT, SIGTERM
Sage Weil [Thu, 29 Apr 2010 19:50:34 +0000 (12:50 -0700)]
msgr: remove pid file on SIGINT, SIGTERM

15 years agoconfig: post-process default config options too
Sage Weil [Thu, 29 Apr 2010 18:56:49 +0000 (11:56 -0700)]
config: post-process default config options too

Previously we were only doing the ones we read out of the .conf.

15 years agomon: use (robust) buffer::list::write_fd() to write to disk
Sage Weil [Thu, 29 Apr 2010 17:43:24 +0000 (10:43 -0700)]
mon: use (robust) buffer::list::write_fd() to write to disk

15 years agomon: m->get_session() may return null if session has closed
Sage Weil [Thu, 29 Apr 2010 17:27:02 +0000 (10:27 -0700)]
mon: m->get_session() may return null if session has closed

because the session close clears connection->priv.  We need to check at
each site anyway, either for null session, or for session->closed.  So
check for null session.

Conflicts:

src/mon/Monitor.cc
src/mon/OSDMonitor.cc
src/mon/PGMonitor.cc

15 years agomds: fix snaprealm split on capless inode
Sage Weil [Mon, 26 Apr 2010 17:14:58 +0000 (10:14 -0700)]
mds: fix snaprealm split on capless inode

15 years agov0.20
Sage Weil [Fri, 23 Apr 2010 19:10:24 +0000 (12:10 -0700)]
v0.20

15 years agomds: skip client snap notification on unlink
Sage Weil [Fri, 23 Apr 2010 18:07:16 +0000 (11:07 -0700)]
mds: skip client snap notification on unlink

This is cheating a bit, but should be harmless.  Basically, we spit off the
snaprealm when we unlink to keep the hierarchy vs snaprealm invariants
intact.  But we don't really care if the client does so, so we skip the
client_snap notifications.

That means the client will leave unlinked inodes in the realm they were
in at the time of unlink.  I'm pretty sure that won't cause problems
later.

15 years agoosd: more useful debugging on repop version, out of order completion
Sage Weil [Thu, 22 Apr 2010 22:05:55 +0000 (15:05 -0700)]
osd: more useful debugging on repop version, out of order completion

15 years agoosd: print a bit more debug info about compat problems
Sage Weil [Thu, 22 Apr 2010 21:09:51 +0000 (14:09 -0700)]
osd: print a bit more debug info about compat problems

15 years agomds: verify mdsmap compatset on startup
Sage Weil [Thu, 22 Apr 2010 20:41:17 +0000 (13:41 -0700)]
mds: verify mdsmap compatset on startup

15 years agomds: add CompatSet to mdsmap
Sage Weil [Thu, 22 Apr 2010 20:41:02 +0000 (13:41 -0700)]
mds: add CompatSet to mdsmap

15 years agorbd: change rbd header disk format, update protocol version
Yehuda Sadeh [Thu, 22 Apr 2010 21:40:09 +0000 (14:40 -0700)]
rbd: change rbd header disk format, update protocol version

15 years agomdsmap: add separate struct version for extended portion of mdsmap
Sage Weil [Thu, 22 Apr 2010 19:04:01 +0000 (12:04 -0700)]
mdsmap: add separate struct version for extended portion of mdsmap

15 years agocauthtool: add --gen-print-key
Sage Weil [Thu, 22 Apr 2010 18:43:37 +0000 (11:43 -0700)]
cauthtool: add --gen-print-key

Just generate a random cryptokey and print it out.

15 years agoauth: take key or file containing key on command line
Sage Weil [Thu, 22 Apr 2010 18:39:40 +0000 (11:39 -0700)]
auth: take key or file containing key on command line

e.g.

ceph --key AQBggdBLCJwLABAAuPVK/qJ3/ySbRvEnJHNJ8w== -s

ceph --keyfile file_with_key -s
ceph -K file_with_key -s

ceph -k keyring.bin -s

15 years agocauthtool: always print entire encoded CryptoKey
Sage Weil [Thu, 22 Apr 2010 18:27:00 +0000 (11:27 -0700)]
cauthtool: always print entire encoded CryptoKey

Make cauthtool -l output consistent with what you need to feed to
mount.ceph(8).

15 years agomsgr: increment connect_seq when STANDBY->CONNECTING
Sage Weil [Thu, 22 Apr 2010 14:37:13 +0000 (07:37 -0700)]
msgr: increment connect_seq when STANDBY->CONNECTING

Otherwise we get this on the peer:

msg/SimpleMessenger.cc: In function 'int SimpleMessenger::Pipe::accept()':
msg/SimpleMessenger.cc:767: FAILED assert(existing->state == STATE_CONNECTING)
 1: (SimpleMessenger::Pipe::accept()+0x14b2) [0x654888]
 2: (SimpleMessenger::Pipe::reader()+0x32) [0x65538c]
 3: (SimpleMessenger::Pipe::Reader::entry()+0x19) [0x649493]
 4: (Thread::_entry_func(void*)+0x20) [0x659b06]
 5: /lib/libpthread.so.0 [0x7fcdc782f73a]
 6: (clone()+0x6d) [0x7fcdc6a5969d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

15 years agoMerge remote branch 'origin/mdssnaps' into unstable
Sage Weil [Wed, 21 Apr 2010 22:28:48 +0000 (15:28 -0700)]
Merge remote branch 'origin/mdssnaps' into unstable

15 years agofilestore: default to writeahead journal, and no btrfs snaps
Sage Weil [Wed, 21 Apr 2010 22:23:46 +0000 (15:23 -0700)]
filestore: default to writeahead journal, and no btrfs snaps

At least until btrfs snap deletion doesn't require a full commit (i.e. each
commit cycle doesn't do a commit for the snap creation AND another for the
old snap deletion).

15 years agorbdtool: add, use prettybyte_t type
Sage Weil [Wed, 21 Apr 2010 21:56:35 +0000 (14:56 -0700)]
rbdtool: add, use prettybyte_t type

15 years agorbdtool: add --info, --resize commands
Sage Weil [Wed, 21 Apr 2010 21:52:29 +0000 (14:52 -0700)]
rbdtool: add --info, --resize commands

15 years agoauth: make 'admin' the default user
Sage Weil [Wed, 21 Apr 2010 21:52:15 +0000 (14:52 -0700)]
auth: make 'admin' the default user

We don't create a 'guest' user anyway.

15 years agolibrados: adjust C++ aio completion creation api
Sage Weil [Wed, 21 Apr 2010 21:23:52 +0000 (14:23 -0700)]
librados: adjust C++ aio completion creation api

15 years agosample.ceph.conf: add example on writeahead (vs parallel) journal
Sage Weil [Wed, 21 Apr 2010 19:18:19 +0000 (12:18 -0700)]
sample.ceph.conf: add example on writeahead (vs parallel) journal

15 years agoosd: create 'rbd' pool
Sage Weil [Wed, 21 Apr 2010 19:08:59 +0000 (12:08 -0700)]
osd: create 'rbd' pool

15 years agodebian: require hdparm, recommend btrfs-tools
Sage Weil [Wed, 21 Apr 2010 17:58:29 +0000 (10:58 -0700)]
debian: require hdparm, recommend btrfs-tools

15 years agodebian: require hdparm, recommend btrfs-tools
Sage Weil [Wed, 21 Apr 2010 17:58:29 +0000 (10:58 -0700)]
debian: require hdparm, recommend btrfs-tools

15 years agomds: always use get_newest_seq (not snap) when doing cow
Sage Weil [Tue, 20 Apr 2010 23:06:21 +0000 (16:06 -0700)]
mds: always use get_newest_seq (not snap) when doing cow

15 years agomds: rename move_to_realm(), add debugging (cleanup)
Sage Weil [Tue, 20 Apr 2010 19:40:11 +0000 (12:40 -0700)]
mds: rename move_to_realm(), add debugging (cleanup)

15 years agomds: don't cow already cowed dentry
Sage Weil [Tue, 20 Apr 2010 19:39:23 +0000 (12:39 -0700)]
mds: don't cow already cowed dentry

15 years agosample.ceph.conf: updated
Sage Weil [Tue, 20 Apr 2010 23:20:11 +0000 (16:20 -0700)]
sample.ceph.conf: updated

15 years agofetch_config: enable fetching ceph.conf from a remote location
Sage Weil [Tue, 20 Apr 2010 22:25:00 +0000 (15:25 -0700)]
fetch_config: enable fetching ceph.conf from a remote location

fetch_config: always fetch if script exists and is executable

fetch_config: make /etc/ceph/sample.fetch_config +x

Makefile: fix whitespace

15 years agoosd: don't capture SIGINT/SIGTERM; journal and/or btrfs snaps are sufficient.
Sage Weil [Tue, 20 Apr 2010 17:47:10 +0000 (10:47 -0700)]
osd: don't capture SIGINT/SIGTERM; journal and/or btrfs snaps are sufficient.

We used to do this to avoid corrupting the filestore, but since we can now
either roll forward with the writeahead journal OR roll back using btrfs
snaps, this is useless.  It wasn't a full solution anyway.

15 years agoauth: less noisy debug
Sage Weil [Tue, 20 Apr 2010 17:39:23 +0000 (10:39 -0700)]
auth: less noisy debug

15 years agomds: drop mutation locks
Sage Weil [Tue, 20 Apr 2010 16:59:16 +0000 (09:59 -0700)]
mds: drop mutation locks

Saw this one, but fixed others that appear broken as well:

mds/MDCache.h: In function 'virtual Mutation::~Mutation()':
mds/MDCache.h:115: FAILED assert(pins.empty())
 1: (Mutation::~Mutation()+0x46) [0x791716]
 2: (MDCache::truncate_inode_logged(CInode*, Mutation*)+0x7b) [0x7bd6b7]
 3: (C_MDC_TruncateLogged::finish(int)+0x2c) [0x84100e]
 4: (finish_contexts(std::list<Context*, std::allocator<Context*> >&, int)+0x1af) [0x74a807]
 5: (Journaler::_finish_flush(int, long, utime_t, bool)+0x873) [0x92ea71]
 6: (Journaler::C_Flush::finish(int)+0x43) [0x936503]
 7: (Objecter::handle_osd_op_reply(MOSDOpReply*)+0xcf5) [0x8ff00f]
 8: (MDS::_dispatch(Message*)+0x1ee0) [0x726372]
 9: (MDS::ms_dispatch(Message*)+0x2f) [0x7274b9]
 10: (Messenger::ms_deliver_dispatch(Message*)+0x55) [0x719949]
 11: (SimpleMessenger::dispatch_entry()+0x4f4) [0x7074b2]
 12: (SimpleMessenger::DispatchThread::entry()+0x29) [0x7039d1]
 13: (Thread::_entry_func(void*)+0x20) [0x71412e]
 14: /lib/libpthread.so.0 [0x7f25474e073a]
 15: (clone()+0x6d) [0x7f254670a69d]

15 years agoosd: fix snapset loading from _snapdir
Sage Weil [Tue, 20 Apr 2010 03:43:22 +0000 (20:43 -0700)]
osd: fix snapset loading from _snapdir

Another masked variable!  In the same block as the last one!  Aie.

15 years agomds: clone dentry for multiversion dir if linkage is changing...
Sage Weil [Tue, 20 Apr 2010 03:29:14 +0000 (20:29 -0700)]
mds: clone dentry for multiversion dir if linkage is changing...

...even if the inode itself doesn't need to be cowed.  In particular, we
do the pre_cow_old_inode() thing, so it frequently doesn't need to be cowed,
but the dentry does when we are say unlinking a directory or some such.

15 years agomds: avoid null deref when hiding .ceph dir
Sage Weil [Mon, 19 Apr 2010 23:38:53 +0000 (16:38 -0700)]
mds: avoid null deref when hiding .ceph dir

15 years agoautoconf: Fix detection of sync_file_range.
Jim Schutt [Fri, 16 Apr 2010 22:25:49 +0000 (16:25 -0600)]
autoconf: Fix detection of sync_file_range.

Without this patch, on CentOS 5.4 ./configure reports that
sync_file_range is missing, but HAVE_SYNC_FILE_RANGE ends
up being defined in src/acconfig.h anyway.

Compile tested on CentOS 5.4 (which does not have sync_file_range(2)
in distro glibc) and Fedora 11 (which does).

Signed-off-by: Jim Schutt <jaschut@sandia.gov>
15 years agoremove references to [group] and [mount] in sample.ceph.conf
Greg Farnum [Fri, 16 Apr 2010 22:51:55 +0000 (15:51 -0700)]
remove references to [group] and [mount] in sample.ceph.conf

15 years agoadd executables to .gitignore
Greg Farnum [Fri, 16 Apr 2010 22:18:26 +0000 (15:18 -0700)]
add executables to .gitignore

15 years agomds: xlock versionlock on rename if witnesses
Sage Weil [Fri, 16 Apr 2010 20:51:58 +0000 (13:51 -0700)]
mds: xlock versionlock on rename if witnesses

This ensures that we don't pipeline dentry linkage updates when there
are witnesses.  That can cause problems because replicas don't see
projected dentry linkage info, and will get confused when they look at
the replica of the srcdn and it's, say, NULL and not srci.

15 years agorados: aio, reorder callback completion handler creation
Yehuda Sadeh [Fri, 16 Apr 2010 00:04:43 +0000 (17:04 -0700)]
rados: aio, reorder callback completion handler creation

15 years agofilestore: be thorough about wiping out old osd data content during mkfs
Sage Weil [Thu, 15 Apr 2010 21:44:17 +0000 (14:44 -0700)]
filestore: be thorough about wiping out old osd data content during mkfs

Delete any subvols or directories that we fine.

15 years agofilestore: log snap_create error before asserting success
Sage Weil [Thu, 15 Apr 2010 17:12:40 +0000 (10:12 -0700)]
filestore: log snap_create error before asserting success

15 years agomon: do not build mon to mon authorizer if cephx is disabled
Sage Weil [Thu, 15 Apr 2010 17:09:42 +0000 (10:09 -0700)]
mon: do not build mon to mon authorizer if cephx is disabled

15 years agoosd: fix source type checks (osd, mon)
Sage Weil [Wed, 14 Apr 2010 22:18:52 +0000 (15:18 -0700)]
osd: fix source type checks (osd, mon)

The peer type is on the connection, no need to look at Session.  Also, we
don't currently have Sessions for outgoing connections.

15 years agoosd: don't ->put() a null session in _share_map_incoming
Sage Weil [Wed, 14 Apr 2010 22:08:47 +0000 (15:08 -0700)]
osd: don't ->put() a null session in _share_map_incoming

15 years agoosd: queue pg update under pg sequencer
Sage Weil [Wed, 14 Apr 2010 21:47:44 +0000 (14:47 -0700)]
osd: queue pg update under pg sequencer

15 years agoosd: queue pg creation under pg sequencer
Sage Weil [Wed, 14 Apr 2010 21:47:05 +0000 (14:47 -0700)]
osd: queue pg creation under pg sequencer

Avoids pg log, metadata writes from being reordered.  Had to refactor
try_create_pg to be less annoying.

15 years agomds: not dout(0) request latency
Sage Weil [Wed, 14 Apr 2010 17:08:57 +0000 (10:08 -0700)]
mds: not dout(0) request latency

15 years agoqa: set -e in workunits
Sage Weil [Wed, 14 Apr 2010 17:08:42 +0000 (10:08 -0700)]
qa: set -e in workunits

15 years agomds: fix broken snaprealm split optimization for (unlinked) files
Sage Weil [Wed, 14 Apr 2010 18:08:38 +0000 (11:08 -0700)]
mds: fix broken snaprealm split optimization for (unlinked) files

Splitting a file is trivial; do it.  No special case for 'stray'.

15 years agorgw: don't crash if HTTP_HOST isn't set
Greg Farnum [Tue, 13 Apr 2010 22:47:31 +0000 (15:47 -0700)]
rgw: don't crash if HTTP_HOST isn't set

15 years agoosd: avoid PGPool lookup in inner loop
Sage Weil [Tue, 13 Apr 2010 19:26:32 +0000 (12:26 -0700)]
osd: avoid PGPool lookup in inner loop

Each PG already has a PGPool *.

15 years agoosd: fix loading of snapset from _snapdir object attr
Sage Weil [Tue, 13 Apr 2010 19:23:36 +0000 (12:23 -0700)]
osd: fix loading of snapset from _snapdir object attr

This happens when the head is deleted but we still have snaps.  A nested
bufferlist declaration was masking things.

15 years agoosd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions.
Greg Farnum [Tue, 13 Apr 2010 18:39:30 +0000 (11:39 -0700)]
osd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions.

Now with less null pointer exception! Code checks for session
before dereferencing it.

15 years agoosd: add a message_from_mon function
Greg Farnum [Tue, 13 Apr 2010 18:49:24 +0000 (11:49 -0700)]
osd: add a message_from_mon function

15 years agoRevert "osd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions"
Greg Farnum [Tue, 13 Apr 2010 18:03:07 +0000 (11:03 -0700)]
Revert "osd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions"

This reverts commit 9ceb3be9a62f7b777b23a4d65b1cc302ec834e6b.
This will be coming back in another form shortly, but apparently we have
more connections without sessions on the OSD.

15 years agomds: only recover files from stale clients when auth
Sage Weil [Tue, 13 Apr 2010 17:38:48 +0000 (10:38 -0700)]
mds: only recover files from stale clients when auth

Replicas have client_ranges defined too, but only the auth MDS should do
the file size/mtime recovery.

Also rename clear_client_caps_after_export() for clarity, and assert inode
is_auth throughout file recover code.

15 years agoosd: add some put()s of Session * that weren't being used properly.
Greg Farnum [Mon, 12 Apr 2010 22:31:06 +0000 (15:31 -0700)]
osd: add some put()s of Session * that weren't being used properly.

This fixes a memory leak that could have caused problems in the future.

15 years agoosd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions
Greg Farnum [Mon, 12 Apr 2010 22:16:52 +0000 (15:16 -0700)]
osd: replace the ALLOW_MESSAGES_FROM macro with use of OSDCaps functions

15 years agoosd: Add is_X functions to OSDCaps (where X is mon, osd, mds).
Greg Farnum [Mon, 12 Apr 2010 21:37:47 +0000 (14:37 -0700)]
osd: Add is_X functions to OSDCaps (where X is mon, osd, mds).

15 years agorados: check that given pool name actually exists when deleting
Greg Farnum [Mon, 12 Apr 2010 18:13:46 +0000 (11:13 -0700)]
rados: check that given pool name actually exists when deleting

15 years agomon: OSDMonitor makes sure pool ID is good, preventing crashiness
Greg Farnum [Mon, 12 Apr 2010 18:09:51 +0000 (11:09 -0700)]
mon: OSDMonitor makes sure pool ID is good, preventing crashiness

15 years agoosdmap: move pool names into first part of encoding; add version to second part
Sage Weil [Fri, 9 Apr 2010 22:44:50 +0000 (15:44 -0700)]
osdmap: move pool names into first part of encoding; add version to second part

This gives the kclient access to pool names while still ignoring the
osd_info_t crap.  And also will make adding more stuff to the second half
later possible without breaking the kclient.

15 years agolibrados: add lookup_pool()
Sage Weil [Fri, 9 Apr 2010 22:13:37 +0000 (15:13 -0700)]
librados: add lookup_pool()

15 years agolibrados: no need to include linux/types.h
Sage Weil [Fri, 9 Apr 2010 19:40:51 +0000 (12:40 -0700)]
librados: no need to include linux/types.h

15 years agodebian: more librados1-dev deps
Sage Weil [Fri, 9 Apr 2010 19:00:53 +0000 (12:00 -0700)]
debian: more librados1-dev deps

15 years agospinlock: clean up #include deps
Sage Weil [Fri, 9 Apr 2010 18:59:26 +0000 (11:59 -0700)]
spinlock: clean up #include deps

15 years agomonclient: seed RNG so we pick a random monitor
Sage Weil [Fri, 9 Apr 2010 21:50:12 +0000 (14:50 -0700)]
monclient: seed RNG so we pick a random monitor

15 years agotodo: move bugs to tracker
Sage Weil [Fri, 9 Apr 2010 21:03:47 +0000 (14:03 -0700)]
todo: move bugs to tracker

15 years agoauth: cauthtool now identifies itself properly to common_init
Greg Farnum [Tue, 6 Apr 2010 18:08:45 +0000 (11:08 -0700)]
auth: cauthtool now identifies itself properly to common_init

15 years agomon: add 'get' command to AuthMon, letting you retrive one entity's keyring data
Greg Farnum [Tue, 6 Apr 2010 17:44:06 +0000 (10:44 -0700)]
mon: add 'get' command to AuthMon, letting you retrive one entity's keyring data

15 years agofilestore: fix weird references for clone/clone_range
Sage Weil [Fri, 9 Apr 2010 18:13:03 +0000 (11:13 -0700)]
filestore: fix weird references for clone/clone_range

Not sure why that was legal to begin with?

15 years agoobjectstore: fix clone_range() transaction encoding
Sage Weil [Fri, 9 Apr 2010 18:29:09 +0000 (11:29 -0700)]
objectstore: fix clone_range() transaction encoding

15 years agolibrados: clean up object listing api
Sage Weil [Fri, 9 Apr 2010 04:49:17 +0000 (21:49 -0700)]
librados: clean up object listing api

15 years agoosd: clear initial interval_set in build_removed_snaps
Sage Weil [Fri, 9 Apr 2010 04:21:36 +0000 (21:21 -0700)]
osd: clear initial interval_set in build_removed_snaps

Caller may pass a non-empty set, in which case we crashed or returned a bad
result.

15 years agotestrados: create/use own pool
Sage Weil [Fri, 9 Apr 2010 03:55:36 +0000 (20:55 -0700)]
testrados: create/use own pool

15 years agocrc32c: ifdef out dead code to shut up warning
Sage Weil [Thu, 8 Apr 2010 23:42:59 +0000 (16:42 -0700)]
crc32c: ifdef out dead code to shut up warning

15 years agoMerge branch 'ns' into unstable
Sage Weil [Thu, 8 Apr 2010 23:42:15 +0000 (16:42 -0700)]
Merge branch 'ns' into unstable

15 years agofilestore: more informative error on current/ rename failure
Sage Weil [Thu, 8 Apr 2010 16:35:43 +0000 (09:35 -0700)]
filestore: more informative error on current/ rename failure

15 years agoinit-ceph: include 'noatime' btrfs mount option by default
Sage Weil [Thu, 8 Apr 2010 16:26:54 +0000 (09:26 -0700)]
init-ceph: include 'noatime' btrfs mount option by default

15 years agotestrados: test more stuff
Sage Weil [Thu, 8 Apr 2010 22:52:40 +0000 (15:52 -0700)]
testrados: test more stuff

15 years agoobjecter: cleanup
Sage Weil [Thu, 8 Apr 2010 22:52:34 +0000 (15:52 -0700)]
objecter: cleanup

15 years agolibrados: clean up c header
Sage Weil [Thu, 8 Apr 2010 22:52:28 +0000 (15:52 -0700)]
librados: clean up c header

15 years agodebian: fix up librados1-dev with all necessary headers
Sage Weil [Thu, 8 Apr 2010 22:23:03 +0000 (15:23 -0700)]
debian: fix up librados1-dev with all necessary headers

15 years agolibrados: move c++ api into librados.hpp; more type cleanup
Sage Weil [Thu, 8 Apr 2010 22:22:50 +0000 (15:22 -0700)]
librados: move c++ api into librados.hpp; more type cleanup

15 years agolibrados: use std::string, not nstring, in c++ api
Sage Weil [Thu, 8 Apr 2010 21:19:01 +0000 (14:19 -0700)]
librados: use std::string, not nstring, in c++ api

15 years agolibrados: avoid snapid_t type, types.h
Sage Weil [Thu, 8 Apr 2010 20:00:29 +0000 (13:00 -0700)]
librados: avoid snapid_t type, types.h

15 years agorbdtool: fix man warnings
Sage Weil [Thu, 8 Apr 2010 19:57:46 +0000 (12:57 -0700)]
rbdtool: fix man warnings

15 years agofilestore: check for SNAP_DESTROY ioctl, and file if not present
Sage Weil [Thu, 8 Apr 2010 17:36:03 +0000 (10:36 -0700)]
filestore: check for SNAP_DESTROY ioctl, and file if not present