]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years agoconfig: fix address list parsing
Sage Weil [Tue, 5 Oct 2010 22:37:39 +0000 (15:37 -0700)]
config: fix address list parsing

Skip past comma, whitespace.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoosd: fix recovery_primary loop on local clone
Sage Weil [Fri, 1 Oct 2010 05:00:06 +0000 (22:00 -0700)]
osd: fix recovery_primary loop on local clone

When we take the clone branch, we update the missing map.  This invalidates
our current iterator, which can cause badness.  Instead, increment the
iterator near the top of the loop so we don't have to worry about it.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorgw: fix meta attr setting when doing copy operation
Yehuda Sadeh [Sun, 26 Sep 2010 01:12:59 +0000 (18:12 -0700)]
rgw: fix meta attr setting when doing copy operation

14 years agoosd: remove assertion
Yehuda Sadeh [Fri, 24 Sep 2010 17:46:38 +0000 (10:46 -0700)]
osd: remove assertion

14 years agomds: always pass pick_inode_snap the head
Sage Weil [Fri, 17 Sep 2010 16:10:46 +0000 (09:10 -0700)]
mds: always pass pick_inode_snap the head

This fixes a possible infinite loop in handle_client_caps().  We need to
_always_ pass the head inode in.

14 years agomon: return errors (not 0) from MonitorStore::get_bl_ss()
Sage Weil [Wed, 22 Sep 2010 20:32:11 +0000 (13:32 -0700)]
mon: return errors (not 0) from MonitorStore::get_bl_ss()

Checked callers, should be fine.

14 years agomsgr: do no open connection when policy indicates we are lossy server
Sage Weil [Wed, 22 Sep 2010 16:25:22 +0000 (09:25 -0700)]
msgr: do no open connection when policy indicates we are lossy server

We should not initiate a connection if we are a lossy server; just drop
the message.

14 years agorgw: url_decode url prefix
Yehuda Sadeh [Tue, 21 Sep 2010 22:05:29 +0000 (15:05 -0700)]
rgw: url_decode url prefix

14 years agorgw: url_decode delimiter
Yehuda Sadeh [Tue, 21 Sep 2010 19:46:02 +0000 (12:46 -0700)]
rgw: url_decode delimiter

14 years agomds: do full pre_dirty()/mark_dirty() on cowed dentries
Sage Weil [Tue, 21 Sep 2010 20:44:02 +0000 (13:44 -0700)]
mds: do full pre_dirty()/mark_dirty() on cowed dentries

The dir commit/fetch and LogSegment::try_to_expire() rely on any new or
items in the directory getting new versions that correspond to a bump in
the dirfrag version.  This must include dentries/inodes that are created
by the cow process, or else we have problems during dir commit/fetch or
segment expire.

Change the dirty list in the Mutation to include the pv so that we can
properly mark them dirty later.

Leave the inode one alone.  We could theoretically do the same for the
dirty inodes, but this way we avoid projecting them and copying stuff
around.  Any dirty cowed inode will also have a dirty dentry, so it will
still get saved regardless.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: only return pdnvec for full path_traverse
Sage Weil [Tue, 21 Sep 2010 20:54:00 +0000 (13:54 -0700)]
mds: only return pdnvec for full path_traverse

We should only return the pdnvec for a full traverse.  i.e., either a
success, or a failure in which we instantiate a null dn for the trailing
entry.  This makes pdnvec well defined, and allows callers like
rdlock_path_pin_ref() to reply with a null lease when appropriate.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: don't instantiate null dentries for snapped namespace
Sage Weil [Tue, 21 Sep 2010 02:59:00 +0000 (19:59 -0700)]
mds: don't instantiate null dentries for snapped namespace

The dentry needs a [first,last] range and we don't know what first is when
we miss a lookup.  And part of the point of instantiating null dentires is
to issue leases against them, which we don't do.  The client will cache
the null result.

14 years agov0.21.3 v0.21.3
Sage Weil [Fri, 17 Sep 2010 22:47:52 +0000 (15:47 -0700)]
v0.21.3

14 years agoclient: increase default cache size to 16K dentries and lru insertion point .25
Sage Weil [Sat, 18 Sep 2010 03:30:55 +0000 (20:30 -0700)]
client: increase default cache size to 16K dentries and lru insertion point .25

14 years agodebian: allow builddebs.sh build a specific dist
Sage Weil [Sat, 18 Sep 2010 03:19:59 +0000 (20:19 -0700)]
debian: allow builddebs.sh build a specific dist

14 years agorgw: get_data should not be initialized after being set
Yehuda Sadeh [Sat, 18 Sep 2010 01:26:48 +0000 (18:26 -0700)]
rgw: get_data should not be initialized after being set

14 years agorgw: make gateway dns name configurable
Yehuda Sadeh [Fri, 6 Aug 2010 21:13:21 +0000 (14:13 -0700)]
rgw: make gateway dns name configurable

14 years agomds: drop x/wrlocks before, rdlocks after sending reply
Sage Weil [Tue, 17 Aug 2010 19:16:02 +0000 (12:16 -0700)]
mds: drop x/wrlocks before, rdlocks after sending reply

This lets us issue the most leases/caps possible.  It also ensure we can
issue caps in the snapped namespace when we are still on the head inode
(previously, releasing the rdlock twiddled the state, the client didn't
get say Frc, and hung indefinitely).

14 years agomds: touch missed dentry when fetching dir on path traverse
Sage Weil [Fri, 17 Sep 2010 16:46:29 +0000 (09:46 -0700)]
mds: touch missed dentry when fetching dir on path traverse

We can get into a loop when doing a path traverse if we miss on a large
directory and then end up trimming the result we need before handling the
original request.  To avoid this, we simply put the wanted dentry at the
top of the LRU (instead of midpoint).

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoclient: Make truncation work properly
Greg Farnum [Thu, 26 Aug 2010 21:04:45 +0000 (14:04 -0700)]
client: Make truncation work properly
The previous if block didn't work because inode->size was usually
changed well before handle_cap_trunc was ever invoked, so it never
did the truncation in the objectcacher! This was okay if you just truncated
a file and then closed it, but if you wrote a file, truncated part of it out,
and then wrote past the (new) end you would get reads that returned
the previously-truncated data out of what should have been a hole.

Now, we do the actual objectcacher truncation in update_inode_file_bits,
because all methods of truncation will move through there and this maintains
proper ordering.

14 years agoosd: copy truncate_seq et al to clone oi
Sage Weil [Thu, 16 Sep 2010 23:15:30 +0000 (16:15 -0700)]
osd: copy truncate_seq et al to clone oi

These fields are logically object attributes that should be preserved
across the clone COW process.  (Not copying truncate_seq in particular
corrupts snapshot file data, depending on the order of arrival of racing
trimtrunc and writes.

14 years agoosd: fix is_pool_snaps_mode() for empty pools
Sage Weil [Thu, 16 Sep 2010 22:50:50 +0000 (15:50 -0700)]
osd: fix is_pool_snaps_mode() for empty pools

The data pool in particular has seq 0 and (initially) no removed snaps.  We
must not return true for that case, or else the OSD will use an empty
pool snap context and not the user/mds provided one.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorgw: fix cleanup for certain ops
Yehuda Sadeh [Wed, 15 Sep 2010 23:22:29 +0000 (16:22 -0700)]
rgw: fix cleanup for certain ops

This fixes bug #412

14 years agoconfig: fix buffer overrun in env_to_{vec,deq}()
Sage Weil [Mon, 13 Sep 2010 03:38:05 +0000 (20:38 -0700)]
config: fix buffer overrun in env_to_{vec,deq}()

14 years agoosd: fix osdcaps parsing negative return value
Sage Weil [Mon, 13 Sep 2010 03:26:57 +0000 (20:26 -0700)]
osd: fix osdcaps parsing negative return value

14 years agofilestore: handle error opening fsid on mkjournal
Sage Weil [Mon, 13 Sep 2010 03:26:16 +0000 (20:26 -0700)]
filestore: handle error opening fsid on mkjournal

14 years agofilestore: handle error reading current_op_seq_fn
Sage Weil [Mon, 13 Sep 2010 03:24:53 +0000 (20:24 -0700)]
filestore: handle error reading current_op_seq_fn

14 years agofilestore: return on error creating fsid file
Sage Weil [Mon, 13 Sep 2010 03:22:41 +0000 (20:22 -0700)]
filestore: return on error creating fsid file

14 years agofilestore: fix error paths for _clone()
Sage Weil [Sun, 12 Sep 2010 16:19:35 +0000 (09:19 -0700)]
filestore: fix error paths for _clone()

14 years agomoncaps: fix array out of bounds in parsing
Sage Weil [Sun, 12 Sep 2010 16:18:13 +0000 (09:18 -0700)]
moncaps: fix array out of bounds in parsing

14 years agoosd: handle nonexistant file in ager
Sage Weil [Sun, 12 Sep 2010 04:00:06 +0000 (21:00 -0700)]
osd: handle nonexistant file in ager

14 years agoosd: check for errors in open, write in write_meta()
Sage Weil [Sun, 12 Sep 2010 03:59:08 +0000 (20:59 -0700)]
osd: check for errors in open, write in write_meta()

14 years agostr_list: fix buffer index when start<0
Sage Weil [Sun, 12 Sep 2010 03:57:23 +0000 (20:57 -0700)]
str_list: fix buffer index when start<0

find_first_no_of() can return a negative value.

14 years agomon: less log noise
Sage Weil [Fri, 10 Sep 2010 20:54:58 +0000 (13:54 -0700)]
mon: less log noise

14 years agoosdmap: allow blacklist of an entire ip
Sage Weil [Thu, 9 Sep 2010 22:37:09 +0000 (15:37 -0700)]
osdmap: allow blacklist of an entire ip

We can backlist either a specific instance (1.2.3.4:1234/5678) or an
entire IP, in which case the table has something like "1.2.3.4:0/0" (a port
and nonce of 0).

14 years agomon: add 'osd blacklist ls'
Sage Weil [Thu, 9 Sep 2010 22:26:11 +0000 (15:26 -0700)]
mon: add 'osd blacklist ls'

14 years agocommon: close fd after parsed config file
Henry C Chang [Mon, 23 Aug 2010 10:23:39 +0000 (18:23 +0800)]
common: close fd after parsed config file

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomount.ceph: exit with error code from mount
Paul Chiang [Tue, 13 Jul 2010 05:50:23 +0000 (13:50 +0800)]
mount.ceph: exit with error code from mount

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomon: 'osd blacklist (add|rm) addr [duration]'
Sage Weil [Thu, 9 Sep 2010 22:18:02 +0000 (15:18 -0700)]
mon: 'osd blacklist (add|rm) addr [duration]'

Manipulate the OSDMap blacklist.

14 years agomon: fix up variable names to be more clear this is an inclusive range
Sage Weil [Thu, 9 Sep 2010 18:09:57 +0000 (11:09 -0700)]
mon: fix up variable names to be more clear this is an inclusive range

14 years agomon: fix osdmap subscribe range
Sage Weil [Thu, 9 Sep 2010 18:04:27 +0000 (11:04 -0700)]
mon: fix osdmap subscribe range

Send incremental starting with the next map they want, not the one they
already have.

14 years agomon: fix send_incremental ranges; behave when sending just 1 inc.
Sage Weil [Thu, 9 Sep 2010 18:03:46 +0000 (11:03 -0700)]
mon: fix send_incremental ranges; behave when sending just 1 inc.

The build_incremental range is inclusive.  And we should behave when
sending a single inc map to get up to date.

14 years agomon: handle subscribe to osdmap=1
Sage Weil [Thu, 9 Sep 2010 17:56:22 +0000 (10:56 -0700)]
mon: handle subscribe to osdmap=1

We would send an incremental for anything >1, or the latest map, but not
osdmap e1 itself.  Fix the condition, and make send_incremental() smart
about starting with the full map at 1 as needed.

14 years agomds: fix journal replay of session close->open after reconnect
Sage Weil [Thu, 9 Sep 2010 17:01:24 +0000 (10:01 -0700)]
mds: fix journal replay of session close->open after reconnect

If the client reconnects, the journal 'close' replay doesn't remove the
session, which leaves the session state intact.  It needs to reset it in
that case, or else we get problems if the session is reopened and the
state doesn't match up.

Reported-by: Nat N <phenisha@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoobjectcacher: fix use-after-free atomic_sync_readx
Sage Weil [Wed, 8 Sep 2010 22:42:08 +0000 (15:42 -0700)]
objectcacher: fix use-after-free atomic_sync_readx

readx() releases rd; copy snapid so we can use it later.

14 years agomds: fix use-after-free
Sage Weil [Wed, 8 Sep 2010 22:38:11 +0000 (15:38 -0700)]
mds: fix use-after-free

We copied the name, but forgot to use it.

14 years agomds: fix use-after-free in snaprealm_create_finish
Sage Weil [Wed, 8 Sep 2010 22:36:37 +0000 (15:36 -0700)]
mds: fix use-after-free in snaprealm_create_finish

We pass mut's log segment to snapclient->commit().

14 years agoobjectcacher: cleanup release(), just to be clear
Sage Weil [Wed, 8 Sep 2010 22:33:42 +0000 (15:33 -0700)]
objectcacher: cleanup release(), just to be clear

14 years agoobjecter: add missing return in list_objects
Sage Weil [Wed, 8 Sep 2010 22:30:32 +0000 (15:30 -0700)]
objecter: add missing return in list_objects

This fixes a use-after-free, and generally bad behavior.

14 years agoobjectcacher: fix use-after-free
Sage Weil [Wed, 8 Sep 2010 22:28:21 +0000 (15:28 -0700)]
objectcacher: fix use-after-free

Move waiter check above close_object(ob) call.

14 years agomount: fix scope of secret[]
Sage Weil [Wed, 8 Sep 2010 22:26:28 +0000 (15:26 -0700)]
mount: fix scope of secret[]

We use value pointer outside of this block; move declaration up to function
level.

14 years agocrushtool: fix bucket type array bound check
Sage Weil [Wed, 8 Sep 2010 22:24:29 +0000 (15:24 -0700)]
crushtool: fix bucket type array bound check

14 years agorados: fix delete[] in aio_bencher
Sage Weil [Wed, 8 Sep 2010 22:22:17 +0000 (15:22 -0700)]
rados: fix delete[] in aio_bencher

14 years agoMerge branch 'uclient_readdir' into testing
Sage Weil [Wed, 8 Sep 2010 22:14:55 +0000 (15:14 -0700)]
Merge branch 'uclient_readdir' into testing

14 years agoclient: move readdir code around
Sage Weil [Wed, 8 Sep 2010 21:44:26 +0000 (14:44 -0700)]
client: move readdir code around

14 years agoclient: reimplement getdir() with readdir_r_cb()
Sage Weil [Wed, 8 Sep 2010 21:10:31 +0000 (14:10 -0700)]
client: reimplement getdir() with readdir_r_cb()

More efficient.

14 years agoclient: reimplement readdir
Sage Weil [Wed, 8 Sep 2010 21:02:43 +0000 (14:02 -0700)]
client: reimplement readdir

Reimplement core readdir (readdir_r_cb), using kclient as a template.
Reimplement all other readdir variants in terms of readdir_r_cb.

Main change is support for frag chunking, and hopefully lots of subtle bugs
that have been fixed in the kclient code we're based on.

14 years agocfuse: use readdir_r_cb
Sage Weil [Wed, 8 Sep 2010 18:32:00 +0000 (11:32 -0700)]
cfuse: use readdir_r_cb

14 years agouclient: implement readdir_r_cb (callback based readdir)
Sage Weil [Wed, 8 Sep 2010 18:31:19 +0000 (11:31 -0700)]
uclient: implement readdir_r_cb (callback based readdir)

This lets us know whether the caller is able to consume an entry before
advancing our position.

14 years agoMerge branch 'mds_replay_lock_states' into testing
Sage Weil [Tue, 7 Sep 2010 19:12:41 +0000 (12:12 -0700)]
Merge branch 'mds_replay_lock_states' into testing

14 years agomds: rename process_reconnected_caps()
Sage Weil [Tue, 7 Sep 2010 18:06:54 +0000 (11:06 -0700)]
mds: rename process_reconnected_caps()

14 years agomds: make is_dirty() const in parent and child
Sage Weil [Tue, 7 Sep 2010 18:03:34 +0000 (11:03 -0700)]
mds: make is_dirty() const in parent and child

Otherwise we're overriding the wrong method!  Der.

14 years agomds: choose lock states for nestlock and dftlock too
Sage Weil [Tue, 7 Sep 2010 17:57:21 +0000 (10:57 -0700)]
mds: choose lock states for nestlock and dftlock too

All scatterlocks need it, in case we replay dirty scatterlock data.

14 years agomds: choose lock states on all inodes, not just those with caps
Sage Weil [Mon, 30 Aug 2010 19:55:07 +0000 (12:55 -0700)]
mds: choose lock states on all inodes, not just those with caps

This is necessary because we want to select lock states for inodes with
no caps that got replayed scatterlock dirty state from the journal.

14 years agomds: choose LOCK if !replicated and dirty scatterlock
Sage Weil [Mon, 30 Aug 2010 19:54:35 +0000 (12:54 -0700)]
mds: choose LOCK if !replicated and dirty scatterlock

14 years agomds: fix bad iterator usage in process_reconnected_caps()
Sage Weil [Mon, 30 Aug 2010 19:51:31 +0000 (12:51 -0700)]
mds: fix bad iterator usage in process_reconnected_caps()

We use p->second, so don't increment p++ early in the loop block.

14 years agoceph v0.21.2 v0.21.2
Sage Weil [Thu, 26 Aug 2010 22:27:13 +0000 (15:27 -0700)]
ceph v0.21.2

14 years agoosd: less log noise
Sage Weil [Thu, 26 Aug 2010 19:56:40 +0000 (12:56 -0700)]
osd: less log noise

14 years agoosd: mark down old _from connections too; and fix old _from debug output
Sage Weil [Thu, 26 Aug 2010 19:31:44 +0000 (12:31 -0700)]
osd: mark down old _from connections too; and fix old _from debug output

14 years agoosd: don't mark down old _to peers that are still _from peers
Sage Weil [Thu, 26 Aug 2010 18:34:32 +0000 (11:34 -0700)]
osd: don't mark down old _to peers that are still _from peers

It's harmless, but not ideal.

14 years agoosd: always mark down old hb peers; send map update via cluster link
Sage Weil [Thu, 26 Aug 2010 18:28:25 +0000 (11:28 -0700)]
osd: always mark down old hb peers; send map update via cluster link

If we don't mark down the hb link immediately, we'll forget about it
because it won't be in the from or to set anymore, and if it does go down
later we'll end up with garbage in the logs.

Instead, always mark it down.  Since we want to share our map with old
peers that are still up, do that via the cluster link instead, which is
reliably marked down if/when the peer goes down.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agofilejournal: clean up journal initialization sequence, error codes, output
Sage Weil [Thu, 26 Aug 2010 17:00:18 +0000 (10:00 -0700)]
filejournal: clean up journal initialization sequence, error codes, output

EOPNOTSUPP was getting returned to the user without much explanation.  This
should fix that!

14 years agodebian: don't need to add .git_version in release script
Sage Weil [Wed, 25 Aug 2010 21:46:36 +0000 (14:46 -0700)]
debian: don't need to add .git_version in release script

14 years agomakefile: include .git_version in tarball
Sage Weil [Wed, 25 Aug 2010 21:45:55 +0000 (14:45 -0700)]
makefile: include .git_version in tarball

14 years agomon: error out gracefully when we can't read the magic
Sage Weil [Wed, 25 Aug 2010 21:41:29 +0000 (14:41 -0700)]
mon: error out gracefully when we can't read the magic

14 years agomsgr: release dispatch_throttle on reset connection
Henry C Chang [Mon, 23 Aug 2010 04:39:35 +0000 (21:39 -0700)]
msgr: release dispatch_throttle on reset connection

Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: drop old thrash_exports time limit
Sage Weil [Fri, 20 Aug 2010 16:57:07 +0000 (09:57 -0700)]
mds: drop old thrash_exports time limit

14 years agoosdmaptool: print useful error instead of crashing if osdmap is corrupt
Sage Weil [Fri, 20 Aug 2010 16:31:49 +0000 (09:31 -0700)]
osdmaptool: print useful error instead of crashing if osdmap is corrupt

14 years agocrush: return error instead of BUGing on bad forcefed mapping
Sage Weil [Fri, 20 Aug 2010 16:26:34 +0000 (09:26 -0700)]
crush: return error instead of BUGing on bad forcefed mapping

The forcefed mapping relies on a parent map.  However, the current
implementation assumes that the parent mapping is unique for all rules. If
that is not the case (i.e., some osd exists in multiple hierarchies) then
we cannot assert that the TAKE matches the calculated force_context.

For now, we can just fail the mapping in that case (we don't use forcefed
mappings yet).  The real solution is probably to define parent maps for
all possible hierarchies (i.e., starting at each unique TAKE starting
point).

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomds: return error to client on invalid mds op
Sage Weil [Fri, 20 Aug 2010 05:01:54 +0000 (22:01 -0700)]
mds: return error to client on invalid mds op

e.g., if the client sends a filelock request and we don't support it :)

14 years agomds: fix ENOTEMPTY checking on rmdir/rename
Sage Weil [Fri, 20 Aug 2010 04:47:19 +0000 (21:47 -0700)]
mds: fix ENOTEMPTY checking on rmdir/rename

We can't trust the inode rstat size without holding the locks.  We can
look at our auth frags and though without fear of a false positive
ENOTEMPTY, however.

Rename the function, introduce a helper for the locked check, update
comments, etc.

14 years agoosd: disable potentially dangerous dead code
Sage Weil [Thu, 19 Aug 2010 23:06:24 +0000 (16:06 -0700)]
osd: disable potentially dangerous dead code

Greg got a segfault accessing the OSDOP& first reference. Not clear why,
but this whole block is dead code.

14 years agoosd: carry ondisk write lock for cloned objects
Sage Weil [Thu, 19 Aug 2010 16:52:33 +0000 (09:52 -0700)]
osd: carry ondisk write lock for cloned objects

This fixes a race when reading and deleting objects, as evidenced by

 cp bigfile a
 mkdir .snap/foo
 rmdir a
 diff bigfile .snap/foo/a    <-- reads cloned object before it hits disk

Reproduced by snaptest-snap-rm-cmp.sh.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoauth: fix skipping of ~/ if $HOME subst fails
Sage Weil [Wed, 18 Aug 2010 19:56:53 +0000 (12:56 -0700)]
auth: fix skipping of ~/ if $HOME subst fails

We were breaking out of the loop entirely, and failing to check the rest
of the items in the path list.  Doh!

14 years agoclient: fix xattr cap writeback
Sage Weil [Fri, 13 Aug 2010 22:01:51 +0000 (15:01 -0700)]
client: fix xattr cap writeback

14 years agoclient: fix capsnap writeback of uid/gid/mode/xattrs
Sage Weil [Fri, 13 Aug 2010 22:01:37 +0000 (15:01 -0700)]
client: fix capsnap writeback of uid/gid/mode/xattrs

Some metadata wasn't making it into CapSnap and was subsequently getting
written back zeroed to the MDS.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agofilestore: fix throttling on journal, op_queue for parallel and writeahead
Sage Weil [Thu, 12 Aug 2010 20:10:00 +0000 (13:10 -0700)]
filestore: fix throttling on journal, op_queue for parallel and writeahead

14 years agofilestore: fix race in op enqueuing to ensure throttle limit is honors
Sage Weil [Thu, 12 Aug 2010 19:59:05 +0000 (12:59 -0700)]
filestore: fix race in op enqueuing to ensure throttle limit is honors

14 years agoobjectstore: fix transaction get_num_bytes
Sage Weil [Thu, 12 Aug 2010 19:58:25 +0000 (12:58 -0700)]
objectstore: fix transaction get_num_bytes

The separate bytes field isn't used; use encoded bytes count for now.

14 years agomsgr: don't leak message when sending to a closed connection
Sage Weil [Thu, 12 Aug 2010 18:52:06 +0000 (11:52 -0700)]
msgr: don't leak message when sending to a closed connection

14 years agoosd: log push ops as push, not pull
Sage Weil [Thu, 12 Aug 2010 17:36:13 +0000 (10:36 -0700)]
osd: log push ops as push, not pull

14 years agologger: fix logger counter reset
Sage Weil [Thu, 12 Aug 2010 17:36:00 +0000 (10:36 -0700)]
logger: fix logger counter reset

Reset inc keys after each line; reset all keys on full reset.

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoceph v0.21.1 v0.21.1
Sage Weil [Wed, 11 Aug 2010 21:59:19 +0000 (14:59 -0700)]
ceph v0.21.1

14 years agoMakefile: include logrotate.conf in tarball
Sage Weil [Wed, 11 Aug 2010 19:29:46 +0000 (12:29 -0700)]
Makefile: include logrotate.conf in tarball

14 years agomds: fix send_message_client_counted helper
Sage Weil [Fri, 6 Aug 2010 17:07:46 +0000 (10:07 -0700)]
mds: fix send_message_client_counted helper

Don't use the outgoing message connection (usually there is none!).. use
the connection argument.  Der.  Broken since 6d770abe.

14 years agomakefile: define docdir for old automake versions
Sage Weil [Thu, 5 Aug 2010 14:47:32 +0000 (07:47 -0700)]
makefile: define docdir for old automake versions

Notably centos5.

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
14 years agomonmaptool: man page typo fix
Haifeng Liu [Thu, 5 Aug 2010 08:16:23 +0000 (17:16 +0900)]
monmaptool: man page typo fix

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agorados: -i and -o are still there for other commands
Sage Weil [Wed, 4 Aug 2010 17:01:23 +0000 (10:01 -0700)]
rados: -i and -o are still there for other commands

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoceph.spec.in: fix docdir paths
Sage Weil [Wed, 4 Aug 2010 16:56:05 +0000 (09:56 -0700)]
ceph.spec.in: fix docdir paths

_docdir is /usr/share/doc, not /usr/share/doc/ceph (as it is with debian).

14 years agoceph.spec.in: fix sample.ceph.conf chown
Sage Weil [Wed, 4 Aug 2010 16:32:48 +0000 (09:32 -0700)]
ceph.spec.in: fix sample.ceph.conf chown

Reported-by: Xiaoguang Liu <syslxg@gmail.com>