]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 10 Mar 2009 23:08:00 +0000 (16:08 -0700)]
config: -c foo or --conf=foo; -C bar or --cluster-conf=bar
Yehuda Sadeh [Tue, 10 Mar 2009 22:16:15 +0000 (15:16 -0700)]
kclient: add mon enries for sysfs
Sage Weil [Tue, 10 Mar 2009 22:22:52 +0000 (15:22 -0700)]
usage
Sage Weil [Tue, 10 Mar 2009 22:00:46 +0000 (15:00 -0700)]
man: more man pages
Sage Weil [Tue, 10 Mar 2009 21:57:24 +0000 (14:57 -0700)]
cmds: remove unused --standby arg, rename --standby_replay_for to --shadow
Sage Weil [Tue, 10 Mar 2009 21:43:07 +0000 (14:43 -0700)]
config: default to -d for server daemons; -D/--nodaemon for foreground operation
Sage Weil [Tue, 10 Mar 2009 21:40:16 +0000 (14:40 -0700)]
cosd: clean up startup options
Sage Weil [Tue, 10 Mar 2009 21:39:54 +0000 (14:39 -0700)]
man: mkcephfs, cosd man pages
Sage Weil [Tue, 10 Mar 2009 20:22:51 +0000 (13:22 -0700)]
debian: fix lintian errors (except missing man pages)
Sage Weil [Tue, 10 Mar 2009 20:22:37 +0000 (13:22 -0700)]
initscript: LSB block; add reload and force-reload
Sage Weil [Tue, 10 Mar 2009 19:41:15 +0000 (12:41 -0700)]
initscript: pre/post start/stop/forcestop hooks
Sage Weil [Tue, 10 Mar 2009 19:34:23 +0000 (12:34 -0700)]
config: allow chdir to arbitrary dir on daemonize (not just /)
This lets you configure where your core files go.
Sage Weil [Tue, 10 Mar 2009 19:11:30 +0000 (12:11 -0700)]
mkcephfs: take compiled 'crush map' or 'crush map src' from cluster.conf
Sage Weil [Tue, 10 Mar 2009 18:18:32 +0000 (11:18 -0700)]
crushtool: add --build command
Sage Weil [Tue, 10 Mar 2009 16:49:06 +0000 (09:49 -0700)]
remove user error induced asserts
Yehuda Sadeh [Tue, 10 Mar 2009 00:01:45 +0000 (17:01 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Tue, 10 Mar 2009 00:01:31 +0000 (17:01 -0700)]
kclient: add osdc data to sysfs
Sage Weil [Mon, 9 Mar 2009 22:39:16 +0000 (15:39 -0700)]
bump version to v0.7.1 for unstable branch
Sage Weil [Mon, 9 Mar 2009 22:28:26 +0000 (15:28 -0700)]
mkcephfs: btrfsctl -a between mkfs and mount
Sage Weil [Mon, 9 Mar 2009 22:25:46 +0000 (15:25 -0700)]
kclient: patch series updates
Sage Weil [Mon, 9 Mar 2009 21:58:20 +0000 (14:58 -0700)]
kclient: fix /sys/fs/ceph/mdsmap
Sage Weil [Mon, 9 Mar 2009 21:56:40 +0000 (14:56 -0700)]
kclient: sysfs whitespace cleanup
Wrap at 80 columns...
Sage Weil [Mon, 9 Mar 2009 21:51:27 +0000 (14:51 -0700)]
kclient: fix patch series
Sage Weil [Mon, 9 Mar 2009 21:51:15 +0000 (14:51 -0700)]
osdmap: use generic crush_build_bucket
Easier to switch bucket types. Avoids type cast.
Sage Weil [Mon, 9 Mar 2009 21:50:37 +0000 (14:50 -0700)]
kclient: fix osdmap decoding of straw buckets
Surprised this worked until now.
Yehuda Sadeh [Mon, 9 Mar 2009 21:55:54 +0000 (14:55 -0700)]
kclient: sysfs, free path after build_path
Yehuda Sadeh [Mon, 9 Mar 2009 21:50:17 +0000 (14:50 -0700)]
kclient: sysfs cleanup
Yehuda Sadeh [Mon, 9 Mar 2009 21:32:17 +0000 (14:32 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Mon, 9 Mar 2009 21:31:42 +0000 (14:31 -0700)]
kclient: sysfs, add mds name and op of current requests
Sage Weil [Mon, 9 Mar 2009 18:34:34 +0000 (11:34 -0700)]
kclient: simplify osd timeouts
Call handle_timeout N seconds after oldest request. In
handle_timeout, reschedule N seconds in future. Reschedule
with new oldest request when oldest requests completes.
Maintain a r_timeout_stamp value for each request.
Sage Weil [Mon, 9 Mar 2009 20:57:22 +0000 (13:57 -0700)]
cosd: fewer osds, with big btrfs devices
Sage Weil [Mon, 9 Mar 2009 20:18:56 +0000 (13:18 -0700)]
initscripts: allow vars with spaces
Sage Weil [Mon, 9 Mar 2009 20:18:05 +0000 (13:18 -0700)]
osdmap: build default crush maps out of mostly straw buckets
Sage Weil [Mon, 9 Mar 2009 19:51:04 +0000 (12:51 -0700)]
confutils: make max line very large
Yehuda Sadeh [Mon, 9 Mar 2009 17:08:51 +0000 (10:08 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Mon, 9 Mar 2009 17:08:29 +0000 (10:08 -0700)]
kclient: add sysfs directory per mds request
Sage Weil [Sat, 7 Mar 2009 00:45:55 +0000 (16:45 -0800)]
filepath: always prepend ino if it's nonzero
That means the only time we don't have an ino perfix is for fully
relative paths.
Sage Weil [Sat, 7 Mar 2009 00:44:37 +0000 (16:44 -0800)]
client: fix request paths
Use filepath, not bare string, whenever we can.
Sage Weil [Sat, 7 Mar 2009 00:26:05 +0000 (16:26 -0800)]
kclient: fix up replay after mds recovery
Do not kick unsafe requests in kick_requests (and in particular, do not
drop the session refs).
Set retry_attempt to MDS_REQUEST_REPLAY to indicate which requests are
replays.
Sage Weil [Sat, 7 Mar 2009 00:25:04 +0000 (16:25 -0800)]
mds: incorporate reconnect cap info after requests replay if ino originally missing
If the client reasserts caps from replayed requests, the inodes don't yet
exists during the reconnect (or even rejoin) stage. So, if we don't find
the inode, keep the reconnect info around. When processing a replayed
request in CInode::encode_inodestat, set wanted/issued appropriately.
This is incomplete. We really need something to ensure we deal with
replayed requests before new requests are handled.. and on a cluster-wide
basis, since requests may involve slave requests to other mds's.
We also should clean up reconnects unclaimed after all replays are
complete. And somehow inform the client when the cap is officially
nonexistent and EBADF.
Sage Weil [Fri, 6 Mar 2009 22:06:19 +0000 (14:06 -0800)]
mds: include path base ino in client reconnect paths
Sage Weil [Fri, 6 Mar 2009 22:04:19 +0000 (14:04 -0800)]
filepath: no more leading / weirdness
Get rid of weird leading '/' iff ino==1 semantic. Clean up interface a bit.
Sage Weil [Fri, 6 Mar 2009 19:51:39 +0000 (11:51 -0800)]
kclient: drop unused redirty code from set_page_dirty
Sage Weil [Fri, 6 Mar 2009 19:31:12 +0000 (11:31 -0800)]
filestore: lower min_sync_interval
We mainly need something non-zero here to ensure we batch some
requests up when we get a stream of requests with 'startsync'.
Yehuda Sadeh [Fri, 6 Mar 2009 18:29:21 +0000 (10:29 -0800)]
kclient: some bookkeeper fixes
Sage Weil [Fri, 6 Mar 2009 18:16:12 +0000 (10:16 -0800)]
kclient: fix bookkeeper ifdef
Sage Weil [Fri, 6 Mar 2009 05:13:22 +0000 (21:13 -0800)]
kclient: patch series descriptions, updates
Sage Weil [Fri, 6 Mar 2009 04:58:01 +0000 (20:58 -0800)]
kclient: docs
Sage Weil [Fri, 6 Mar 2009 04:57:53 +0000 (20:57 -0800)]
kclient: rename ceph_tools -> bookkeeper
Sage Weil [Fri, 6 Mar 2009 02:01:15 +0000 (18:01 -0800)]
kclient: some caps.c cleanup
Sage Weil [Thu, 5 Mar 2009 19:27:41 +0000 (11:27 -0800)]
mon: tolerate stray victory message (restart the election)
No need to core dump.
Sage Weil [Fri, 6 Mar 2009 00:28:09 +0000 (16:28 -0800)]
kclient: BUG instead of WARN on wanted item on rdcaps list
Sage Weil [Fri, 6 Mar 2009 00:27:47 +0000 (16:27 -0800)]
kclient: cosmetic
Sage Weil [Fri, 6 Mar 2009 00:25:27 +0000 (16:25 -0800)]
kclient: wait for requests to be safe before tearing down dcache
We need to drop dentry refs in kill_sb _before_ kill_anon_super
tears down the dcache. Wait for safe replies for a while, then
drop what's left on the floor.
Sage Weil [Thu, 5 Mar 2009 23:35:39 +0000 (15:35 -0800)]
kclient: don't fall over on !dirty page in invalidatepage
Spit out a warning, in case we end up with writeback accounting
errors. I _think_ it's ok, though.
Yehuda Sadeh [Fri, 6 Mar 2009 00:18:21 +0000 (16:18 -0800)]
kclient: some documentation
Yehuda Sadeh [Fri, 6 Mar 2009 00:14:32 +0000 (16:14 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Fri, 6 Mar 2009 00:14:12 +0000 (16:14 -0800)]
kclient: fix osd timeout handling
Sage Weil [Thu, 5 Mar 2009 23:02:06 +0000 (15:02 -0800)]
kclient: more sanity checks in set_page_dirty
These don't fix anything, just make things break sooner...
Sage Weil [Thu, 5 Mar 2009 22:26:54 +0000 (14:26 -0800)]
kclient: only remember leases on regular dentries
...not for snapdir or snap dentries, which don't have matching
d_release methods.
Sage Weil [Thu, 5 Mar 2009 22:15:55 +0000 (14:15 -0800)]
kclient: fix snap creation/deletion, memory leak
This broke with the new mds request dentry pointers.
Also, clean up kmalloced snap.
Sage Weil [Thu, 5 Mar 2009 22:03:31 +0000 (14:03 -0800)]
kclient: fix snap_realm leak
Separate lookup/create from get (this is safe because we always
hold span_rwsem during these operations).
Yehuda Sadeh [Thu, 5 Mar 2009 21:29:58 +0000 (13:29 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Thu, 5 Mar 2009 21:28:32 +0000 (13:28 -0800)]
kclient: revise osd client timeout mechanism
Sage Weil [Thu, 5 Mar 2009 21:18:45 +0000 (13:18 -0800)]
kclient: simplify invalidatepage; strengthen assertions
Sage Weil [Thu, 5 Mar 2009 19:01:39 +0000 (11:01 -0800)]
kclient: writepages cleanup
Sage Weil [Thu, 5 Mar 2009 18:40:20 +0000 (10:40 -0800)]
synclient: optionally do a sync on object writes; wait for sync, not ack
Sage Weil [Thu, 5 Mar 2009 18:22:03 +0000 (10:22 -0800)]
filestore: enforce min and max sync interval
Ideally the min sync interval should be self-tuning (ala ext3, xfs),
but that can come later.
Sage Weil [Thu, 5 Mar 2009 18:08:31 +0000 (10:08 -0800)]
kclient: dosync in writepages if sync_mode is WB_SYNC_ALL
If we dosync if !pdflush, then we end up doing syncs from
balance_dirty_pages, wreaking havoc on the OSDs.
It's possible the current_is_pdflush() check isn't needed at all..
Sage Weil [Thu, 5 Mar 2009 03:54:37 +0000 (19:54 -0800)]
kclient: fix readpages zeroing bug
Move to the next page after zeroing the first partial page.
Sage Weil [Thu, 5 Mar 2009 00:55:02 +0000 (16:55 -0800)]
kclient: return 0 from readpage on success
Sage Weil [Thu, 5 Mar 2009 00:54:50 +0000 (16:54 -0800)]
kclient: addr debug, cleanup
Sage Weil [Thu, 5 Mar 2009 00:36:26 +0000 (16:36 -0800)]
kclient: fix readpages zeroing
Yehuda Sadeh [Thu, 5 Mar 2009 00:39:18 +0000 (16:39 -0800)]
kclient: reschedule timeout for timeout length if remaining is zero
Yehuda Sadeh [Thu, 5 Mar 2009 00:32:23 +0000 (16:32 -0800)]
kclient: merge conflict
Yehuda Sadeh [Thu, 5 Mar 2009 00:31:27 +0000 (16:31 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Conflicts:
src/kernel/caps.c
src/kernel/super.h
Yehuda Sadeh [Thu, 5 Mar 2009 00:30:23 +0000 (16:30 -0800)]
kclient: sparse cleanup
Yehuda Sadeh [Thu, 5 Mar 2009 00:09:15 +0000 (16:09 -0800)]
kclient: small cleanup
Sage Weil [Wed, 4 Mar 2009 23:55:32 +0000 (15:55 -0800)]
kclient: fix readpages
do_sync_request returns an error code or bytes read; no need to do
the 0 -> bytes conversion in the caller.
Sage Weil [Wed, 4 Mar 2009 23:43:32 +0000 (15:43 -0800)]
kclient: use helper to clearly define which caps belond on rdcaps
Adjust list membership in ceph_add_cap, release, flush_ack, and
ceph_put_fmode paths. Use a spinlock to protect list adjustments
because ceph_put_fmode does not have the session mutex.
Make __cap_is_valid() to check if we are on the rdcaps list or not.
Remove unneeded extra checks in rdcaps trimmer; replace with a
WARN.
Yehuda Sadeh [Wed, 4 Mar 2009 22:54:05 +0000 (14:54 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Sage Weil [Wed, 4 Mar 2009 22:35:59 +0000 (14:35 -0800)]
kclient: adjust debug output
Sage Weil [Wed, 4 Mar 2009 22:14:22 +0000 (14:14 -0800)]
kclient: be more careful about putting cap on rdcaps in ceph_add_cap()
Namely, remove it if it doesn't belong there anymore. This needs
to happen when we release caps, too...
Yehuda Sadeh [Wed, 4 Mar 2009 22:13:12 +0000 (14:13 -0800)]
kclient: some cleanup
Sage Weil [Wed, 4 Mar 2009 22:13:04 +0000 (14:13 -0800)]
kclient: do not drop rdcaps that are dirty or flushing
This screws up cap writeback.
Yehuda Sadeh [Wed, 4 Mar 2009 22:12:57 +0000 (14:12 -0800)]
kclient: remove unused code
Sage Weil [Wed, 4 Mar 2009 20:08:21 +0000 (12:08 -0800)]
kclient: user zero_user_segment helper
Sage Weil [Wed, 4 Mar 2009 19:59:44 +0000 (11:59 -0800)]
kclient: avoid zero_user_segment on old kernels
zero_user_segment appeared in 2.6.25.
Sage Weil [Wed, 4 Mar 2009 19:51:07 +0000 (11:51 -0800)]
kclient: fix __read_mostly attributes
Sage Weil [Wed, 4 Mar 2009 19:01:46 +0000 (11:01 -0800)]
kclient: zero trailing pages in readpage(s) on short read or ENOENT
Return number of bytes read + zeroed.
Tighten up assertions a bit.
Sage Weil [Wed, 4 Mar 2009 18:57:58 +0000 (10:57 -0800)]
kclient: mark debug vars __read_mostly
Sage Weil [Wed, 4 Mar 2009 18:57:15 +0000 (10:57 -0800)]
initscript: --btrfs flag
Optionally mount btrfs
Sage Weil [Wed, 4 Mar 2009 17:11:32 +0000 (09:11 -0800)]
mds: flush journal on truncate if readers/writers are waiting
Sage Weil [Wed, 4 Mar 2009 16:51:14 +0000 (08:51 -0800)]
kclient: include ceph_ver.h in kernel patch series, package
Yehuda Sadeh [Wed, 4 Mar 2009 18:34:27 +0000 (10:34 -0800)]
kclient: remove /sys/fs/ceph when doing cleanup
Sage Weil [Wed, 4 Mar 2009 00:59:11 +0000 (16:59 -0800)]
mds: logger typo
Sage Weil [Wed, 4 Mar 2009 00:40:38 +0000 (16:40 -0800)]
cosd: fixes
Sage Weil [Tue, 3 Mar 2009 19:01:24 +0000 (11:01 -0800)]
mkcephfs: bit more verbose
Sage Weil [Wed, 4 Mar 2009 00:45:58 +0000 (16:45 -0800)]
configure: remove some silly checks
Sage Weil [Wed, 4 Mar 2009 00:45:20 +0000 (16:45 -0800)]
makefile: include make_version in dist tarball