]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Fri, 28 May 2010 20:21:19 +0000 (13:21 -0700)]
paxos: fix store_state fix
Sage Weil [Fri, 28 May 2010 19:59:25 +0000 (12:59 -0700)]
msgr: print bind errors to stderr
Sage Weil [Fri, 28 May 2010 19:50:37 +0000 (12:50 -0700)]
paxos: cleanup
Sage Weil [Fri, 28 May 2010 19:48:41 +0000 (12:48 -0700)]
paxos: only store committed values in store_state
The uncommitted value is handled specially by handle_last()
Sage Weil [Fri, 28 May 2010 19:41:41 +0000 (12:41 -0700)]
initscript: fix typo with $lockfile stuff
Sage Weil [Fri, 28 May 2010 19:37:24 +0000 (12:37 -0700)]
paxos: set last_committed in share_state()
It wasn't getting set for LAST message, which broke recovery somewhat.
Broken by
8e76c5a1d827e01f77149245679bd00ba27120e0 .
Sage Weil [Thu, 27 May 2010 23:32:43 +0000 (16:32 -0700)]
mds: fix null dn deref during anchor_prepare
Sage Weil [Thu, 27 May 2010 21:59:12 +0000 (14:59 -0700)]
config: parse in $host from conf file
So you can do stuff like
log dir = /data/$host
Sage Weil [Thu, 27 May 2010 20:47:00 +0000 (13:47 -0700)]
osdmaptool: include raw, up, acting mappings
Sage Weil [Thu, 27 May 2010 20:46:51 +0000 (13:46 -0700)]
osdmap: assert maxrep >= minrep
Sage Weil [Thu, 27 May 2010 19:59:41 +0000 (12:59 -0700)]
mkcephfs: pass -c to cmon --mkfs
Sage Weil [Tue, 25 May 2010 22:23:19 +0000 (15:23 -0700)]
osd: warn, don't crash, on purged_snaps shrinkage
Sage Weil [Thu, 27 May 2010 21:58:56 +0000 (14:58 -0700)]
initscript: incorporate Josef's fedora fixes
Add 'status' command.
Add chkconfig line.
Do lockfile stuff only if /var/run/subsys exists.
Still specifying the runlevels, though. The init script bails out (with
success code) if the ceph.conf is missing.
Sage Weil [Thu, 27 May 2010 21:24:37 +0000 (14:24 -0700)]
ceph.spec: build-required libatomic_ops-devel, not libatomic_ops
And no perl-devel.
Sage Weil [Thu, 27 May 2010 04:47:35 +0000 (21:47 -0700)]
sample.ceph.conf: include debug options, commented out
Greg Farnum [Wed, 26 May 2010 23:58:31 +0000 (16:58 -0700)]
rados: you can now set the crush rule to use when creating a pool
Greg Farnum [Wed, 26 May 2010 23:44:33 +0000 (16:44 -0700)]
librados: add crush_rule parameter to create_pool functions
Greg Farnum [Wed, 26 May 2010 23:44:17 +0000 (16:44 -0700)]
objecter: add optional crush_rule parameter; set in pool_op_submit as needed
Greg Farnum [Wed, 26 May 2010 23:12:02 +0000 (16:12 -0700)]
mon: add crush_rule data member to MPoolOp; use it in new pool creation on mon
Sage Weil [Wed, 26 May 2010 21:47:32 +0000 (14:47 -0700)]
mds: LAYZIO is not liked, but it is allowed
Sage Weil [Wed, 26 May 2010 21:31:03 +0000 (14:31 -0700)]
client: update ioctl.h (lazyio, invalidate_range)
Sage Weil [Wed, 26 May 2010 21:30:49 +0000 (14:30 -0700)]
mds: include LAYZIO cap in sync->mix and mix->sync transitions
Sage Weil [Wed, 26 May 2010 20:49:39 +0000 (13:49 -0700)]
mds: include LAZYIO in CEPH_CAP_ANY set
Greg Farnum [Wed, 26 May 2010 21:35:05 +0000 (14:35 -0700)]
mon: warn to log, not just dout, on clock drift
Greg Farnum [Wed, 26 May 2010 20:54:53 +0000 (13:54 -0700)]
mon: detect and warn on clock synchronization problems;
change MMonPaxos::lease_expire to lease_timestamp
Christian Brunner [Wed, 26 May 2010 20:38:14 +0000 (22:38 +0200)]
ceph: add conversion to qemu coding style
Hi Yehuda,
I've added a small hack to make push_to_qemu.pl convert tabs to spaces.
Christian
Sage Weil [Wed, 26 May 2010 17:59:21 +0000 (10:59 -0700)]
paxos: use helper to store committed state; fix master mon catch up using stash
The catch up logic in handle_last didn't handle the stashed state, so we
crashed and burned if it was the master that was behind and caught up.
Use a helper that does the work for handle_commit AND handle_last.
Sage Weil [Wed, 26 May 2010 17:01:49 +0000 (10:01 -0700)]
cfuse: bail out on mount() errors
Sage Weil [Tue, 25 May 2010 23:40:34 +0000 (16:40 -0700)]
Merge branch 'lazyio' into unstable
Conflicts:
src/mds/locks.c
Sage Weil [Tue, 25 May 2010 21:44:05 +0000 (14:44 -0700)]
interval_set: fix union_of, intersection_of size accounting
Sage Weil [Tue, 25 May 2010 20:47:14 +0000 (13:47 -0700)]
init-ceph: use = not == for comparison operator
Sage Weil [Tue, 25 May 2010 20:13:29 +0000 (13:13 -0700)]
Merge branch 'mds_dentries' into unstable
Sage Weil [Tue, 25 May 2010 20:01:48 +0000 (13:01 -0700)]
mds: better debugging on rmdir
Sage Weil [Tue, 25 May 2010 20:01:37 +0000 (13:01 -0700)]
mds: fix scatterlock gather, writebehind
We stopped overloading the virutal is_updated() when we renamed to
is_dirty.
broken by
7f19ee1ac36095cd4d4c169858d93149f083318e
Sage Weil [Mon, 24 May 2010 23:49:05 +0000 (16:49 -0700)]
mds: make export targets stay in mdsmap for a while
This limits the mdsmap churn some. Keep old targets around for at least
min-max iterations before removing them.
Sage Weil [Mon, 24 May 2010 23:08:50 +0000 (16:08 -0700)]
mds: balancer cleanup
Sage Weil [Mon, 24 May 2010 22:50:20 +0000 (15:50 -0700)]
mds: warn on dn release that dne
Yehuda Sadeh [Mon, 24 May 2010 23:11:29 +0000 (16:11 -0700)]
rbd: modify rbd on-disk header
Yehuda Sadeh [Mon, 24 May 2010 22:58:36 +0000 (15:58 -0700)]
rbd: fix push_to_qemu.pl
Sage Weil [Mon, 24 May 2010 22:28:59 +0000 (15:28 -0700)]
mon: roll mkmonfs functionality into cmon --mkfs
Sage Weil [Mon, 24 May 2010 22:24:16 +0000 (15:24 -0700)]
filestore: make mkfs() zap any file or dirs it finds
Yehuda Sadeh [Mon, 24 May 2010 21:06:43 +0000 (14:06 -0700)]
rbd: modify header, add utility to ease sync with qemu tree
Sage Weil [Mon, 24 May 2010 20:50:00 +0000 (13:50 -0700)]
osd: keep recovery ops in sync with pull
Call start_recovery_op from pull() instead of fixing every caller (some
were wrong). This keeps the recovery state in sync with pulling state,
even when pull() has to pull something different (head, snapdir) first.
Fixes this crash:
osd/PG.cc: In function 'void PG::finish_recovery_op(const sobject_t&, bool)':
osd/PG.cc:1842: FAILED assert(recovering_oids.count(soid))
1: (PG::finish_recovery_op(sobject_t const&, bool)+0x14e) [0x74caf6]
2: (ReplicatedPG::sub_op_push(MOSDSubOp*)+0x1da8) [0x669292]
3: (ReplicatedPG::do_sub_op(MOSDSubOp*)+0x109) [0x671a73]
4: (OSD::dequeue_op(PG*)+0x23c) [0x6bda00]
5: (OSD::OpWQ::_process(PG*)+0x21) [0x7387c9]
6: (ThreadPool::WorkQueue<PG>::_void_process(void*)+0x28) [0x6f5e12]
7: (ThreadPool::worker()+0x23a) [0x7f2404]
8: (ThreadPool::WorkThread::entry()+0x19) [0x73b783]
9: (Thread::_entry_func(void*)+0x20) [0x64f92a]
10: /lib/libpthread.so.0 [0x7f7a12cf473a]
11: (clone()+0x6d) [0x7f7a11f1e69d]
Sage Weil [Mon, 17 May 2010 22:50:26 +0000 (15:50 -0700)]
mon: no need for 'whoami' file in store
The monitor rank is provided during startup. No need to verify it against
the monitor store, especially since the stores are otherwise identical.
This makes it simpler to restore/duplicate/wahtever a monitor.. just copy
the files.
Greg Farnum [Sun, 23 May 2010 22:13:33 +0000 (15:13 -0700)]
reword blacklisted output so it's clearly discussing MDSes and not OSDs
Sage Weil [Sat, 22 May 2010 16:56:27 +0000 (09:56 -0700)]
uclient: don't unlink null dentry when getting null linkage in mds reply
This broke semi-recently when the mds started returning null linkages (and
associated leases).
Sage Weil [Fri, 21 May 2010 23:17:48 +0000 (16:17 -0700)]
mon: trim pgmap states even when we don't have a full quorum
Sage Weil [Fri, 21 May 2010 23:17:34 +0000 (16:17 -0700)]
paxos: recover using stashed latest when state histories don't overlap
If we don't have incremental states to catch up, jump to the latest.
Sage Weil [Fri, 21 May 2010 21:55:38 +0000 (14:55 -0700)]
mds: anchor multiversion inode before unlinking it
If we are going to create a remote dentry linking to a multiversion inode
we're unlinking, make sure it's anchored!
This is a bit fugly because it mirrors the logic in journal_cow_dentry. No
obvious way to use a generic helper for that though.
Yehuda Sadeh [Fri, 21 May 2010 20:44:40 +0000 (13:44 -0700)]
librados.h: add other TMAP definitions
also add a comment in rados.h about the defines in librados.h
Sage Weil [Fri, 21 May 2010 19:08:17 +0000 (12:08 -0700)]
mds: fix readdir pingpong on snapped dir with multiple mds
Our traverse helper will follow the auth if we're looking at snapped
metadata, but we _don't_ want that for readdir because we check auth
ourselves, and want the dir's auth, not the inode's.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 20 May 2010 23:13:52 +0000 (16:13 -0700)]
monc: pick a different mon when repicking
Sage Weil [Thu, 20 May 2010 23:13:34 +0000 (16:13 -0700)]
monc: hunting by default
Otherwise if we fail to connect to the first mon we try, we never retry.
Yehuda Sadeh [Thu, 20 May 2010 23:18:29 +0000 (16:18 -0700)]
librados: update librados to define CEPH_OSD_TMAP_SET
Sage Weil [Thu, 20 May 2010 18:14:41 +0000 (11:14 -0700)]
mon: fix mon injectargs, and simplify
Sage Weil [Thu, 20 May 2010 17:58:56 +0000 (10:58 -0700)]
osd: simplify --mkjournal, add --flush-journal
Sage Weil [Thu, 20 May 2010 17:39:57 +0000 (10:39 -0700)]
Merge branch 'osd_snapdir' into unstable
Sage Weil [Thu, 20 May 2010 17:39:47 +0000 (10:39 -0700)]
osd: nicer debug output
Sage Weil [Thu, 20 May 2010 17:33:55 +0000 (10:33 -0700)]
interval_set: fix union_of _size accounting; optimize ==
Sage Weil [Wed, 19 May 2010 23:42:34 +0000 (16:42 -0700)]
mds: fix interval_set copy of projected_free
Sage Weil [Wed, 19 May 2010 23:42:34 +0000 (16:42 -0700)]
mds: fix interval_set copy of projected_free
Sage Weil [Wed, 19 May 2010 23:11:10 +0000 (16:11 -0700)]
osd: use blank reqid for snapdir events, too
Make reqid_is_indexed() less weird.
Sage Weil [Wed, 19 May 2010 23:10:14 +0000 (16:10 -0700)]
osd: do not index by reqid if reqid not defined
Sage Weil [Wed, 19 May 2010 22:42:50 +0000 (15:42 -0700)]
osd: update purged_snaps in PG::Info on trim completion; and replicate
Yehuda Sadeh [Wed, 19 May 2010 18:13:28 +0000 (11:13 -0700)]
rbd: fix snap_seq type in rbd_header
Sage Weil [Wed, 19 May 2010 18:49:15 +0000 (11:49 -0700)]
initscripts: remove 'flushoncommit' from default btrfs mount options
Sage Weil [Wed, 19 May 2010 17:53:32 +0000 (10:53 -0700)]
osd: trim snaps via replicated osd ops
Sage Weil [Wed, 19 May 2010 17:42:20 +0000 (10:42 -0700)]
osd: make build_removed_snaps, is_removed_snap consistent
Greg Farnum [Wed, 19 May 2010 17:35:28 +0000 (10:35 -0700)]
rados: update documentation to mention mkpool and rmpool
Sage Weil [Tue, 18 May 2010 22:04:17 +0000 (15:04 -0700)]
osd: fix peer_info updates on active primary
Sage Weil [Tue, 18 May 2010 15:01:03 +0000 (08:01 -0700)]
automake: some clean up
Yehuda Sadeh [Mon, 17 May 2010 23:29:50 +0000 (16:29 -0700)]
poolop: fix MPoolOpReply decoding
Sage Weil [Fri, 14 May 2010 17:44:00 +0000 (10:44 -0700)]
throttle: allow large items if we're under our max
Normally we stay under max, but for large items, take it as long as we're
currently below max. This avoids deadlock.
Sage Weil [Sun, 16 May 2010 03:55:44 +0000 (20:55 -0700)]
osd: purged_snaps in PG::Info, queue snap trim on primary
Sage Weil [Fri, 14 May 2010 21:18:21 +0000 (14:18 -0700)]
osd: include snapdir objects in pg log for proper replication, recovery
Sage Weil [Fri, 14 May 2010 18:36:41 +0000 (11:36 -0700)]
strings: clean up pool op names
Sage Weil [Fri, 14 May 2010 18:32:51 +0000 (11:32 -0700)]
mds: allow readdir result limit in bytes
This will allow the client to bound the size of the reply it gets
Sage Weil [Fri, 14 May 2010 16:43:31 +0000 (09:43 -0700)]
debian: put proper distribution in debian changelog
Sage Weil [Fri, 14 May 2010 16:14:00 +0000 (09:14 -0700)]
version: use next version ~rc for unstable branch
This makes unstable always sort after stable, testing releases:
0.21~rc-unstable... > 0.20.1-testing...
Sage Weil [Thu, 13 May 2010 20:28:46 +0000 (13:28 -0700)]
radosgw_admin: die after first bad argument
Sage Weil [Thu, 13 May 2010 17:47:33 +0000 (10:47 -0700)]
objecter: separately track pgmap, osdmap state machine version
Mixing these up can make our request hang on the monitor indefinitely.
Sage Weil [Thu, 13 May 2010 17:47:07 +0000 (10:47 -0700)]
mon: return correct state machine epoch in replies
Sage Weil [Thu, 13 May 2010 17:46:47 +0000 (10:46 -0700)]
testrados: fix aio api usage
Sage Weil [Thu, 13 May 2010 17:46:38 +0000 (10:46 -0700)]
librados: implement rados_stat_pool()
Sage Weil [Wed, 12 May 2010 23:13:36 +0000 (16:13 -0700)]
Merge branch 'unstable' of ceph.newdream.net:git/ceph into unstable
Sage Weil [Wed, 12 May 2010 23:13:03 +0000 (16:13 -0700)]
rados: fix typo
Sage Weil [Wed, 12 May 2010 21:42:24 +0000 (14:42 -0700)]
osd: add CEPH_PG_MAX_SIZE to header
Sage Weil [Wed, 12 May 2010 21:41:13 +0000 (14:41 -0700)]
filestore: update btrfs ioctl.h
Sage Weil [Wed, 12 May 2010 21:41:00 +0000 (14:41 -0700)]
client: un-"fix" u64 types in client/ioctl.h
Sage Weil [Tue, 11 May 2010 22:03:02 +0000 (15:03 -0700)]
msgr: fix possible overflow when sending seq
Sage Weil [Tue, 11 May 2010 22:02:52 +0000 (15:02 -0700)]
msgr: print message encoding version to aid debugging
Yehuda Sadeh [Wed, 12 May 2010 22:09:28 +0000 (15:09 -0700)]
ceph_strings: checkpatch fix
Yehuda Sadeh [Wed, 12 May 2010 22:08:24 +0000 (15:08 -0700)]
ceph_fs.h: checkpatch fixes
Yehuda Sadeh [Wed, 12 May 2010 22:08:09 +0000 (15:08 -0700)]
cmpxattr: null termination fixes
Sage Weil [Wed, 12 May 2010 18:56:03 +0000 (11:56 -0700)]
rados: add 'tmap dump'
Sage Weil [Wed, 12 May 2010 18:54:09 +0000 (11:54 -0700)]
osd: set obs.exists in projected object state during recovery
Sage Weil [Wed, 12 May 2010 18:53:50 +0000 (11:53 -0700)]
mds: warn, don't crash, on trailing garbage in dir objects
Sage Weil [Tue, 11 May 2010 23:52:48 +0000 (16:52 -0700)]
msgr: put msgvec on heap
It can get too big for the stack.
Sage Weil [Wed, 12 May 2010 04:14:39 +0000 (21:14 -0700)]
msgr: tolerate incoming seq #'s that skip ahead
This is necessary because the kclient may pull messages out of the out/sent
queues, and we can't renumber previously sent (and possibly received)
messages without breaking things entirely.
Sage Weil [Tue, 11 May 2010 21:46:01 +0000 (14:46 -0700)]
ceph: return error code returned by server