]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 years agoosd: on scrub repair, update replica pg stats as necessary
Sage Weil [Fri, 19 Jun 2009 19:46:21 +0000 (12:46 -0700)]
osd: on scrub repair, update replica pg stats as necessary

An MOSDPGInfo to an active replica is treated as a pg stat repair.  The
replica just saves it to disk.

16 years agoosd: pass updated stats to replica
Sage Weil [Fri, 19 Jun 2009 19:45:36 +0000 (12:45 -0700)]
osd: pass updated stats to replica

When we ship the raw transaction to the replica, we need to ship the
new pg_stat_t as well, since that isn't getting updated in parallel by
prepare_transaction().

16 years agouclient: close mds session close race
Sage Weil [Fri, 19 Jun 2009 18:40:09 +0000 (11:40 -0700)]
uclient: close mds session close race

If we get a mds push msg while closing the session, resend the close
request.

16 years agoobjecter: some list_objects cleanups
Sage Weil [Fri, 19 Jun 2009 17:06:32 +0000 (10:06 -0700)]
objecter: some list_objects cleanups

16 years agoosd: check that pg matches
Sage Weil [Fri, 19 Jun 2009 17:06:17 +0000 (10:06 -0700)]
osd: check that pg matches

Otherwise return an empty result.  May want to return an error here.. not
sure which tho.

16 years agotodo: bugs that have come up >2x now
Sage Weil [Fri, 19 Jun 2009 04:19:25 +0000 (21:19 -0700)]
todo: bugs that have come up >2x now

16 years agoosd: adjust debug levels a bit
Sage Weil [Fri, 19 Jun 2009 04:06:45 +0000 (21:06 -0700)]
osd: adjust debug levels a bit

Try to put iterative output to be at 20, other stuff at 10,
so that we can tolerate 10 on large data sets.

16 years agoosd: fix initialization of log.complete_to in PG::activate()
Sage Weil [Fri, 19 Jun 2009 04:05:59 +0000 (21:05 -0700)]
osd: fix initialization of log.complete_to in PG::activate()

The complete_to should point to the next object to get, which
should be just PAST info.last_complete.  That is because we
can trim the log up to and including last_complete (because
that entry is recovered), and we don't want to invalidate
the iterator.

That is
    while (log.complete_to->version <= info.last_complete)
      log.complete_to++;

and in sub_op_push,

    while (...) {
      ...
      if (info.last_complete < log.complete_to->version)
info.last_complete = log.complete_to->version;
      log.complete_to++;
    }

16 years agoosd: remove bad trim assertion: trim point may preceed local log.bottom
Sage Weil [Fri, 19 Jun 2009 01:40:18 +0000 (18:40 -0700)]
osd: remove bad trim assertion: trim point may preceed local log.bottom

16 years agoosd: remove bad assertion to allow trim before pg is clean
Sage Weil [Fri, 19 Jun 2009 01:39:58 +0000 (18:39 -0700)]
osd: remove bad assertion to allow trim before pg is clean

We may trim the log before recovery completes.

16 years agoObjecter: now has list instead of librados. Hurrah.
Greg Farnum [Fri, 19 Jun 2009 00:04:55 +0000 (17:04 -0700)]
Objecter: now has list instead of librados. Hurrah.

16 years agoObjecter: Now resubmits *Op as part of tick() if the response takes too long.
Greg Farnum [Wed, 17 Jun 2009 20:11:43 +0000 (13:11 -0700)]
Objecter: Now resubmits *Op as part of tick() if the response takes too long.

16 years agoosd: be a bit more verbose about peer_info
Sage Weil [Thu, 18 Jun 2009 23:39:19 +0000 (16:39 -0700)]
osd: be a bit more verbose about peer_info

Looking for residual bug where peer_info info is somehow missing
when activate() happens...

16 years agoosd: don't trim pg log if degraded
Sage Weil [Thu, 18 Jun 2009 23:38:39 +0000 (16:38 -0700)]
osd: don't trim pg log if degraded

Also be a bit more verbose about pg_trim_to changes.

16 years agoosd: we don't use MOSDPGInfo to signal replica uptodate anymore
Sage Weil [Thu, 18 Jun 2009 23:37:44 +0000 (16:37 -0700)]
osd: we don't use MOSDPGInfo to signal replica uptodate anymore

Clean out cruft from old replica-driven recovery.

16 years agoosd: make add_next_entry behave when we start at backlog split point
Sage Weil [Thu, 18 Jun 2009 23:37:03 +0000 (16:37 -0700)]
osd: make add_next_entry behave when we start at backlog split point

Weaken the assertions a bit and just adjust missing appropriately.
Things may not match up perfectly if the split point is a backlog
entry, so just make missing what it should be a worry less about
what it was.

Here is the specific crash:

09.06.18 16:29:15.085353 1124096336 osd1 10 pg[1.8( v 5'4/3'2 (0'0,5'4] n=2 ec=2 les=10 10/3) r=1 lcod 0'0 stray m=1] my log = log(0'0,5'4]+backlog
3'1 (0'0) m 200.00000000/head by mds0.1:1 09.06.18 16:20:07.524996 indexed
3'2 (0'0) m 2.00000000/head by mds0.1:5 09.06.18 16:20:07.527454 indexed
5'3 (3'1) m 200.00000000/head by mds0.1:23 09.06.18 16:20:25.128842 indexed
5'4 (5'3) m 200.00000000/head by mds0.1:35 09.06.18 16:20:48.623669 indexed

09.06.18 16:29:15.085393 1124096336 osd1 10 pg[1.8( v 5'4/3'2 (0'0,5'4] n=2 ec=2 les=10 10/3) r=1 lcod 0'0 stray m=1] osd2 log = log(8'68,9'69]+backlog
3'2 (0'0) b 2.00000000/head by mds0.1:5 09.06.18 16:20:07.527454
9'69 (8'68) m 200.00000000/head by mds0.1:1114 09.06.18 16:28:08.837907

09.06.18 16:29:15.085416 1124096336 osd1 10 pg[1.8( v 5'4/3'2 (0'0,5'4] n=2 ec=2 les=10 10/3) r=1 lcod 0'0 stray m=1] merge_log log(8'68,9'69]+backlog from osd2 into log(0'0,5'4]+backlog
09.06.18 16:29:15.085456 1124096336 osd1 10 pg[1.8( v 5'4/3'2 (0'0,5'4] n=2 ec=2 les=10 10/3) r=1 (log bound mismatch, actual=[3'2,9'69] len=2) lcod 0'0 stray m=1] merge_log split point is 3'2 (0'0) b 2.00000000/head by mds0.1:5 09.06.18 16:20:07.527454
09.06.18 16:29:15.085472 1124096336 osd1 10 pg[1.8( v 5'4/3'2 (0'0,5'4] n=2 ec=2 les=10 10/3) r=1 (log bound mismatch, actual=[3'2,9'69] len=2) lcod 0'0 stray m=1] merge_log merging 3'2 (0'0) b 2.00000000/head by mds0.1:5 09.06.18 16:20:07.527454
09.06.18 16:29:15.085493 1124096336 osd1 10 pg[1.8( v 5'4/3'2 (0'0,5'4] n=2 ec=2 les=10 10/3) r=1 (log bound mismatch, actual=[3'2,9'69] len=2) lcod 0'0 stray m=2] merge_log merging 9'69 (8'68) m 200.00000000/head by mds0.1:1114 09.06.18 16:28:08.837907
osd/PG.h: In function 'void PG::Missing::add_next_event(PG::Log::Entry&)':
osd/PG.h:494: FAILED assert(missing[e.soid].need == e.prior_version)

16 years agouclient: wait for mds sessions close on unmount
Sage Weil [Thu, 18 Jun 2009 23:35:18 +0000 (16:35 -0700)]
uclient: wait for mds sessions close on unmount

16 years agomds: only use send_message_client for caps, lease, and snap msgs
Sage Weil [Thu, 18 Jun 2009 23:35:00 +0000 (16:35 -0700)]
mds: only use send_message_client for caps, lease, and snap msgs

Otherwise we screw up the session seq count.

16 years agouclient: init, shutdown objecter
Sage Weil [Thu, 18 Jun 2009 22:51:50 +0000 (15:51 -0700)]
uclient: init, shutdown objecter

This fixes longstanding problems with csyn stalling.

16 years agoosd: consolidate trim logic in calc_trim_to()
Sage Weil [Thu, 18 Jun 2009 22:48:31 +0000 (15:48 -0700)]
osd: consolidate trim logic in calc_trim_to()

And call it from trim_peers(), so that we always apply the same
conditions on log trimming.

This ensures we don't trim the logs while degraded through one of
the other paths.

16 years agotodo
Sage Weil [Thu, 18 Jun 2009 22:22:15 +0000 (15:22 -0700)]
todo

16 years agokclient: fix whitespace
Sage Weil [Thu, 18 Jun 2009 21:29:12 +0000 (14:29 -0700)]
kclient: fix whitespace

16 years agokclient: include fs/staging patch in series
Sage Weil [Thu, 18 Jun 2009 21:28:35 +0000 (14:28 -0700)]
kclient: include fs/staging patch in series

16 years agocrush: fix coding style, whitespace
Sage Weil [Thu, 18 Jun 2009 21:23:43 +0000 (14:23 -0700)]
crush: fix coding style, whitespace

16 years agocrush: redefine hash using __u32, for consistency across 32/64 bit
Sage Weil [Thu, 18 Jun 2009 21:23:29 +0000 (14:23 -0700)]
crush: redefine hash using __u32, for consistency across 32/64 bit

I'm pretty sure this was giving inconsistent results across archs,
because bits would get shifted into the high 32 and then back again
on x86_64 but not x86_32.

16 years agomark v0.9
Sage Weil [Thu, 18 Jun 2009 20:31:04 +0000 (13:31 -0700)]
mark v0.9

16 years agoMakefile: add missing includes
Sage Weil [Thu, 18 Jun 2009 20:30:49 +0000 (13:30 -0700)]
Makefile: add missing includes

16 years agoMakefile: kill cls_trivialmap
Sage Weil [Thu, 18 Jun 2009 20:24:09 +0000 (13:24 -0700)]
Makefile: kill cls_trivialmap

16 years agokclient: avoid i_ino of 0 on 32-bit platforms
Sage Weil [Thu, 18 Jun 2009 20:10:34 +0000 (13:10 -0700)]
kclient: avoid i_ino of 0 on 32-bit platforms

This confuses ls.  How lame!

Reported-by: Jeremy Hanmer <jeremy@hq.newdream.net>
16 years agoosd: trim pg logs on recovery completion
Sage Weil [Thu, 18 Jun 2009 18:40:55 +0000 (11:40 -0700)]
osd: trim pg logs on recovery completion

When replica finds itself fully up to date (last_complete ==
last_update) it tells the primary.  Primary checks the same.
If the primary find the min_last_complete_ondisk has changed,
it sends out a trim command.

This will let us drop huge pg logs out of memory after a recovery
without waiting for IO and the usual piggybacked trimming logic
to kick in.

16 years agoosd: track last_complete_ondisk over pushes, too.
Sage Weil [Thu, 18 Jun 2009 18:19:47 +0000 (11:19 -0700)]
osd: track last_complete_ondisk over pushes, too.

16 years agoosd: revamp complete_thru code
Sage Weil [Thu, 18 Jun 2009 18:07:03 +0000 (11:07 -0700)]
osd: revamp complete_thru code

Use last_complete_ondisk terminology throughout.

16 years agoosd: some infrastructure for primary to trim replica logs
Sage Weil [Thu, 18 Jun 2009 16:37:03 +0000 (09:37 -0700)]
osd: some infrastructure for primary to trim replica logs

16 years agoosd: fix pg log trim on the non-primary
Sage Weil [Thu, 18 Jun 2009 03:48:50 +0000 (20:48 -0700)]
osd: fix pg log trim on the non-primary

16 years agorados: less chatty
Sage Weil [Wed, 17 Jun 2009 23:36:08 +0000 (16:36 -0700)]
rados: less chatty

16 years agorados: shutdown on exit
Sage Weil [Wed, 17 Jun 2009 23:35:24 +0000 (16:35 -0700)]
rados: shutdown on exit

16 years agolibrados: add shutdown to c++ interface
Sage Weil [Wed, 17 Jun 2009 23:35:19 +0000 (16:35 -0700)]
librados: add shutdown to c++ interface

16 years agokclient: initialize readdir next_offset on dir open
Sage Weil [Wed, 17 Jun 2009 23:15:15 +0000 (16:15 -0700)]
kclient: initialize readdir next_offset on dir open

Otherwise we don't compensate for . and .. properly.

16 years agokclient: update client for statfs changes
Sage Weil [Wed, 17 Jun 2009 23:08:21 +0000 (16:08 -0700)]
kclient: update client for statfs changes

16 years agoosd: add pg log sizes, bottoms to pg_stat_t et al
Sage Weil [Wed, 17 Jun 2009 23:00:14 +0000 (16:00 -0700)]
osd: add pg log sizes, bottoms to pg_stat_t et al

This will allow us to see the pg logging overhead, esp once pg
logs are kept for longer on disk.

16 years agokclient: clean out old debug cruft
Sage Weil [Wed, 17 Jun 2009 22:54:18 +0000 (15:54 -0700)]
kclient: clean out old debug cruft

16 years agorados: fix statfs definition
Sage Weil [Wed, 17 Jun 2009 22:46:49 +0000 (15:46 -0700)]
rados: fix statfs definition

Isolate posix lameness to uclient only.  Unify 'rados df' and
'rados dfpools'

16 years agomds: change readdir wire format again
Sage Weil [Wed, 17 Jun 2009 22:22:54 +0000 (15:22 -0700)]
mds: change readdir wire format again

Do not include dentry offsets; they're not useful.

16 years agokclient: fix readdir vs rm
Sage Weil [Wed, 17 Jun 2009 22:22:12 +0000 (15:22 -0700)]
kclient: fix readdir vs rm

Okay, do not rely on MDS to provide dentry positioning information,
since it is all relative to the start _string_ we provide, and that
can change directory position without notice.

Simplify readdir a bit wrt seeks.  A seek to 0, a new frag, or
prior to the current chunk resets buffered state.

For each frag, we walk through chunks, always in order.  We set
dentry positions/offsets based on the frag and position within our
sweep across the frag.  Successive chunks are grabbed from the MDS
relative to a filename (not offset), so concurrent
insertions/removals don't bother us (although we will not see
insertions lexicographically prior to our position).

16 years agoobjectstore: use nstrings to store all attrs
Sage Weil [Wed, 17 Jun 2009 20:57:15 +0000 (13:57 -0700)]
objectstore: use nstrings to store all attrs

Holding const char *'s isn't really ever safe, since it's not clear
that they are string constants, or that that is even safe.

16 years agorados: prettify dfpools output
Sage Weil [Wed, 17 Jun 2009 20:37:18 +0000 (13:37 -0700)]
rados: prettify dfpools output

16 years agokclient: fix dout() macro protection of x, mask
Sage Weil [Wed, 17 Jun 2009 20:27:51 +0000 (13:27 -0700)]
kclient: fix dout() macro protection of x, mask

16 years agokclient: fix pps calculation to factor in pg pool
Sage Weil [Wed, 17 Jun 2009 19:53:50 +0000 (12:53 -0700)]
kclient: fix pps calculation to factor in pg pool

This was missed the first time around.

16 years agoosd: fix pps calculation from pgid.ps() and pgid.pool()
Sage Weil [Wed, 17 Jun 2009 19:50:06 +0000 (12:50 -0700)]
osd: fix pps calculation from pgid.ps() and pgid.pool()

The final placement seed needs to factor in pool, but that can't be
fed into stable_mod or you get weird results (for example, 1.ff and
1.adff won't necessary map to the same thing because of the
stable_mod).  Add pool to the stable_mod result, instead.  The seed
itself doesn't need to be bounded; it's just an input for CRUSH.
Just so long as there are a limited number of such inputs for a given
pool.

16 years agorados: Now properly writes 0-byte files on a get.
Greg Farnum [Wed, 17 Jun 2009 18:23:00 +0000 (11:23 -0700)]
rados: Now properly writes 0-byte files on a get.

There are more debug statements in librados and Objercter too.

16 years agomon: implement 'mds setmap <epoch>' to (re)set mdsmap
Sage Weil [Wed, 17 Jun 2009 16:53:39 +0000 (09:53 -0700)]
mon: implement 'mds setmap <epoch>' to (re)set mdsmap

16 years agomon: clean up some mdsmon stuff
Sage Weil [Wed, 17 Jun 2009 16:50:21 +0000 (09:50 -0700)]
mon: clean up some mdsmon stuff

last_beacon should include pending_inc mds's, no more, no
less.

Make the osdmon bcast send to non-in mds's too.

16 years agolibrados: added a write-full method.
Greg Farnum [Tue, 16 Jun 2009 23:39:10 +0000 (16:39 -0700)]
librados: added a write-full method.

Switched ./rados to use it for put.

16 years agorados: clean up output a bit
Sage Weil [Tue, 16 Jun 2009 23:48:18 +0000 (16:48 -0700)]
rados: clean up output a bit

16 years agolibrados: clean up librados debug output a bit
Sage Weil [Tue, 16 Jun 2009 23:48:10 +0000 (16:48 -0700)]
librados: clean up librados debug output a bit

16 years agoconfig: no -p shorthand for --pid-file
Sage Weil [Tue, 16 Jun 2009 23:39:58 +0000 (16:39 -0700)]
config: no -p shorthand for --pid-file

It's not used by anything anyway.

16 years agoMerge commit '114ad5177f281b96ba6bbebe9ed85e2a4aec783f' into rados
Sage Weil [Tue, 16 Jun 2009 23:34:03 +0000 (16:34 -0700)]
Merge commit '114ad5177f281b96ba6bbebe9ed85e2a4aec783f' into rados

Conflicts:

src/include/ceph_fs.h

16 years agokclient: fix skipped entires in dcache_readdir
Sage Weil [Tue, 16 Jun 2009 23:31:23 +0000 (16:31 -0700)]
kclient: fix skipped entires in dcache_readdir

I'm not sure why the old code incremented f_pos and looked at the
prev entry, but it was wrong.

16 years agokclient: fix non-dcache readdir offset calculation
Sage Weil [Tue, 16 Jun 2009 23:14:55 +0000 (16:14 -0700)]
kclient: fix non-dcache readdir offset calculation

Needs to factor in frag_is_leftmost to account for . and .., just
like the fi->offset calculation in readdir_prepopulate.  Fixes the
problem where an ls on a large dir returns duplicate entries.

16 years agokclient: specify smallish blksize for directories
Sage Weil [Tue, 16 Jun 2009 23:04:12 +0000 (16:04 -0700)]
kclient: specify smallish blksize for directories

This is mainly just because /bin/ls will use the size, or blocks,
or blksize to decide how big of a buffer to allocate for getdents,
and the default of 4MB is unreasonably big.  64k seems like an
okay number, I guess.

16 years agoosd: fix cloned object context
Sage Weil [Tue, 16 Jun 2009 23:00:31 +0000 (16:00 -0700)]
osd: fix cloned object context

Screws up subsequent reads on cloned objects.  And the bad ref
counting was leaking memory.

16 years agoObjecter: fixed a bug in snaps.
Greg Farnum [Tue, 16 Jun 2009 22:49:34 +0000 (15:49 -0700)]
Objecter: fixed a bug in snaps.

Worked around a situtation where you could delete a callback before it was followed.

16 years agomon/Objecter: Snapshot creation/removal now waits for proper epoch to return.
Greg Farnum [Tue, 16 Jun 2009 22:22:16 +0000 (15:22 -0700)]
mon/Objecter: Snapshot creation/removal now waits for proper epoch to return.

16 years agorev osd disk format, protocol due to crush, osdmap mapping changes
Sage Weil [Tue, 16 Jun 2009 22:17:41 +0000 (15:17 -0700)]
rev osd disk format, protocol due to crush, osdmap mapping changes

16 years agoosdmaptool: crush regression test
Sage Weil [Tue, 16 Jun 2009 22:07:54 +0000 (15:07 -0700)]
osdmaptool: crush regression test

16 years agoosd: include pg pool in pg to placement seed mapping
Sage Weil [Tue, 16 Jun 2009 22:07:26 +0000 (15:07 -0700)]
osd: include pg pool in pg to placement seed mapping

This prevents different pools from overlaying on top of each other.

16 years agocrush: fix perm_choose bug
Sage Weil [Tue, 16 Jun 2009 22:03:50 +0000 (15:03 -0700)]
crush: fix perm_choose bug

We would get incorrect results if we calculated the same mapping
twice in a row in certain cases.  Der.  Also, the permutation
calculation was basically just wrong.

16 years agorados: submit snap creation and removal to the system.
Greg Farnum [Tue, 16 Jun 2009 22:00:24 +0000 (15:00 -0700)]
rados: submit snap creation and removal to the system.

16 years agomon: Now handles snapshot removals too.
Greg Farnum [Tue, 16 Jun 2009 21:25:02 +0000 (14:25 -0700)]
mon: Now handles snapshot removals too.

16 years agomon:Added server-side handling of MPoolSnap.
Greg Farnum [Tue, 16 Jun 2009 21:22:32 +0000 (14:22 -0700)]
mon:Added server-side handling of MPoolSnap.
Currently assumes it's a snap-create message.

16 years agoosd: bail out of backlog generation early if osd is stopping
Sage Weil [Tue, 16 Jun 2009 18:50:45 +0000 (11:50 -0700)]
osd: bail out of backlog generation early if osd is stopping

Currently killing the osd can take a very long time if the backlog
is being built.  Fix that.

16 years agoClient-side support for creating/removing pool snapshots.
Greg Farnum [Mon, 15 Jun 2009 23:22:44 +0000 (16:22 -0700)]
Client-side support for creating/removing pool snapshots.

16 years agokclient: fix di->off calculation
Sage Weil [Mon, 15 Jun 2009 23:16:57 +0000 (16:16 -0700)]
kclient: fix di->off calculation

The dentry dir offset calculation wasn't taking into account the
possibility of multiple readdi requests, which in turn meant bad results
for readdir-from-dcache.

Since doing this on the client side was a mess, the MDS includes a dentry
offset for each readdir dentry within the dirfrag.  This value is stored
in di->offset (with adjustment in leftmost frag for . and ..), and that's
the value that's passed back via filldir.

16 years agokclient: fix I_COMPLETE
Sage Weil [Mon, 15 Jun 2009 22:35:10 +0000 (15:35 -0700)]
kclient: fix I_COMPLETE

The previous use of I_READDIR vs I_COMPLETE was flawed, mainly because
the state was maintained on a per-inode basis, but readdir proceeds on a
per-file basis.

Instead of flags, maintain a counter in the inode that is incremented each
time a dentry is released.  When readdir starts, note the counter, and if
it is the same when readdir completes, AND we did not do any forward
seeks on the file handle, AND prepopulate succeeded on each hunk, then we
can set I_COMPLETE.

16 years agomds: mark CDir objects with parent ino, dname
Sage Weil [Mon, 15 Jun 2009 17:02:27 +0000 (10:02 -0700)]
mds: mark CDir objects with parent ino, dname

16 years agomkcephfs: fix btrfs mount option
Sage Weil [Mon, 15 Jun 2009 19:15:29 +0000 (12:15 -0700)]
mkcephfs: fix btrfs mount option

16 years agomds: lower default cache size (now ~3.5GB on x86_64)
Sage Weil [Mon, 15 Jun 2009 19:15:19 +0000 (12:15 -0700)]
mds: lower default cache size (now ~3.5GB on x86_64)

16 years agoosd: cleanup log trim check
Sage Weil [Mon, 15 Jun 2009 19:14:45 +0000 (12:14 -0700)]
osd: cleanup log trim check

16 years agotodo
Sage Weil [Mon, 15 Jun 2009 03:29:23 +0000 (20:29 -0700)]
todo

16 years agodebug: fix log reopen
Sage Weil [Sun, 14 Jun 2009 23:11:31 +0000 (16:11 -0700)]
debug: fix log reopen

No need to delete, nothing is on the heap.

16 years agoosd: fix PGOP check
Sage Weil [Fri, 12 Jun 2009 22:30:05 +0000 (15:30 -0700)]
osd: fix PGOP check

16 years agos3: return objects mtime
Yehuda Sadeh [Fri, 12 Jun 2009 23:50:59 +0000 (16:50 -0700)]
s3: return objects mtime

16 years agos3: partial implementation of get bucket
Yehuda Sadeh [Fri, 12 Jun 2009 22:43:20 +0000 (15:43 -0700)]
s3: partial implementation of get bucket

16 years agos3: handle 'get bucket' opereation
Yehuda Sadeh [Fri, 12 Jun 2009 21:28:59 +0000 (14:28 -0700)]
s3: handle 'get bucket' opereation

16 years agorados:Added basic df functionality to rados and fixed librados.cc to handle statfs_re...
Greg Farnum [Fri, 12 Jun 2009 20:29:47 +0000 (13:29 -0700)]
rados:Added basic df functionality to rados and fixed librados.cc to handle statfs_reply messages

16 years agoobjecter: add hook to get notification on new osdmap
Sage Weil [Fri, 12 Jun 2009 19:58:24 +0000 (12:58 -0700)]
objecter: add hook to get notification on new osdmap

16 years agodebian: add build depends libssl-dev, libfcgi-dev
Sage Weil [Fri, 12 Jun 2009 19:52:33 +0000 (12:52 -0700)]
debian: add build depends libssl-dev, libfcgi-dev

16 years agoosd: autodetect PGOP flag if there are PG ops
Sage Weil [Fri, 12 Jun 2009 19:50:09 +0000 (12:50 -0700)]
osd: autodetect PGOP flag if there are PG ops

Avoids requiring the client to specify.

16 years agorados: rename radostool -> rados
Sage Weil [Fri, 12 Jun 2009 19:49:30 +0000 (12:49 -0700)]
rados: rename radostool -> rados

16 years agorados: external acls [beginning of] implementation
Yehuda Sadeh [Fri, 12 Jun 2009 19:49:43 +0000 (12:49 -0700)]
rados: external acls [beginning of] implementation

16 years agos3: fastcgi s3 gateway
Yehuda Sadeh [Fri, 12 Jun 2009 19:48:09 +0000 (12:48 -0700)]
s3: fastcgi s3 gateway

16 years agoobjecter: unify read and write paths
Sage Weil [Fri, 12 Jun 2009 18:17:19 +0000 (11:17 -0700)]
objecter: unify read and write paths

No longer any reason to segregate read and write paths.

16 years agoosd: you may, but need not, specify READ|WRITE flag in MOSDOp.
Sage Weil [Fri, 12 Jun 2009 05:55:07 +0000 (22:55 -0700)]
osd: you may, but need not, specify READ|WRITE flag in MOSDOp.

The OSD will implicitly set the bits based on your OSDOps or class method
calls.  The client may still find it useful to specify these expicitly
for it's own informational purposes.

Make sure the MOSDOpReply has bits set based on the _actual_ op performed.

Note that as things stand, this will confuse the Objecter, who relies on
these bits to choose read or modify reply paths and doesn't know a priori
what mode a method is.

16 years agouClient: Fixed a copying error and a double lock.
Greg Farnum [Thu, 11 Jun 2009 23:23:26 +0000 (16:23 -0700)]
uClient: Fixed a copying error and a double lock.

16 years agoSwitched Client to use objecter's statfs methods.
Greg Farnum [Thu, 11 Jun 2009 22:50:21 +0000 (15:50 -0700)]
Switched Client to use objecter's statfs methods.

16 years agoRebase and better naming.
Greg Farnum [Thu, 11 Jun 2009 22:08:53 +0000 (15:08 -0700)]
Rebase and better naming.

16 years agoAdded support for MStatfs to librados and Objecter.
Greg Farnum [Thu, 11 Jun 2009 21:51:12 +0000 (14:51 -0700)]
Added support for MStatfs to librados and Objecter.

16 years agomds: turn off mds ref sets
Sage Weil [Thu, 11 Jun 2009 21:33:19 +0000 (14:33 -0700)]
mds: turn off mds ref sets

16 years agomds: kill unused CInode.last_open_journaled
Sage Weil [Thu, 11 Jun 2009 21:33:08 +0000 (14:33 -0700)]
mds: kill unused CInode.last_open_journaled

16 years agokclient: include full path names (in parens) in debugfs mdsc
Sage Weil [Thu, 11 Jun 2009 21:07:28 +0000 (14:07 -0700)]
kclient: include full path names (in parens) in debugfs mdsc