]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Mon, 16 Mar 2009 22:30:36 +0000 (15:30 -0700)]
todo
Sage Weil [Mon, 16 Mar 2009 22:29:29 +0000 (15:29 -0700)]
kclient: rename listener -> unsafe; fix fsync; simplify dir_fsync
Yehuda Sadeh [Mon, 16 Mar 2009 22:47:59 +0000 (15:47 -0700)]
kclient: fix inode refcount leak
Yehuda Sadeh [Mon, 16 Mar 2009 22:10:13 +0000 (15:10 -0700)]
kclient: handle partial trace responses
Sage Weil [Mon, 16 Mar 2009 21:56:18 +0000 (14:56 -0700)]
kclient: refactor osdc write; handle dual ack/commit, and fsync on sync writes
For sync_writes that are not O_SYNC or O_DIRECT, we get two acks
back from the OSD, one signalling serialization and one when the
write is safe on disk. The client needs to keep the request
message around until the commit in case the OSD fails and it needs
to be replayed. However, the calling thread should continue after
the ACK.
Refactor the osdc interface so that sync_write() can do this for
non SYNC|DIRECT writes.
Sage Weil [Mon, 16 Mar 2009 20:33:53 +0000 (13:33 -0700)]
kclient: do filemap_write_and_wait
The _range variant isn't exported.
Sage Weil [Mon, 16 Mar 2009 18:25:43 +0000 (11:25 -0700)]
todo
Sage Weil [Mon, 16 Mar 2009 18:25:29 +0000 (11:25 -0700)]
kclient: drop unneeded current_is_pdflush() call
It's about to be killed upstream. And sync_mode tells us what we
need to know.
Sage Weil [Mon, 16 Mar 2009 18:04:13 +0000 (11:04 -0700)]
bump version to v0.7.2
Sage Weil [Mon, 16 Mar 2009 17:54:10 +0000 (10:54 -0700)]
mds: return only a single path segment in reply trace
This temporarily breaks the kernel client.
Sage Weil [Mon, 16 Mar 2009 17:57:23 +0000 (10:57 -0700)]
Merge commit '
1e8073b75ad5172a1ef975e7c6c42406888f56ae '
Conflicts:
src/init-ceph
src/mkcephfs
Sage Weil [Sun, 15 Mar 2009 22:06:09 +0000 (15:06 -0700)]
kclient: fix uninitialized var warnings
Harmless, but this shuts up the warnings.
Sage Weil [Sun, 15 Mar 2009 21:15:30 +0000 (14:15 -0700)]
kclient: put_page O_DIRECT pages after read or write
We were leaking page refs.
Sage Weil [Sun, 15 Mar 2009 21:09:31 +0000 (14:09 -0700)]
vstart: only 1 mds
Sage Weil [Sat, 14 Mar 2009 05:35:40 +0000 (22:35 -0700)]
kclient: make O_DIRECT io flush or truncate page cache pages
This will make concurrent O_DIRECT and normal i/o slow as all hell, but it
means that normal i/o followed by O_DIRECT (or the other way around) will
behave as expected.
Sage Weil [Fri, 13 Mar 2009 23:54:39 +0000 (16:54 -0700)]
kclient: more cleanup
Yehuda Sadeh [Fri, 13 Mar 2009 23:54:06 +0000 (16:54 -0700)]
kclient: some sparse fixes
Sage Weil [Fri, 13 Mar 2009 23:50:07 +0000 (16:50 -0700)]
kclient: small cleanups
Sage Weil [Fri, 13 Mar 2009 23:47:30 +0000 (16:47 -0700)]
kclient: lease renewal fixes, cleanups
Yehuda Sadeh [Fri, 13 Mar 2009 23:33:02 +0000 (16:33 -0700)]
kclient: zero lease_renew_after ttl before requesting renewal
Yehuda Sadeh [Fri, 13 Mar 2009 23:27:41 +0000 (16:27 -0700)]
kclient: send lease renew message when passed ttl
Yehuda Sadeh [Fri, 13 Mar 2009 23:06:19 +0000 (16:06 -0700)]
kclient: refactoring of lease msg sending, add lease half-time accounting
Sage Weil [Fri, 13 Mar 2009 23:23:05 +0000 (16:23 -0700)]
kclient: update lease handler to cope with a renewal
Sage Weil [Fri, 13 Mar 2009 22:32:25 +0000 (15:32 -0700)]
mdsmap: fix find_standby_for
Ignore active mds' with old standby_for values.
Sage Weil [Fri, 13 Mar 2009 22:24:38 +0000 (15:24 -0700)]
mon: allow 'mds getmap [epoch]'
Sage Weil [Fri, 13 Mar 2009 22:23:25 +0000 (15:23 -0700)]
mon: allow 'mds dump [epoch]'
So we can examine old mdsmap epochs...
Sage Weil [Fri, 13 Mar 2009 22:07:10 +0000 (15:07 -0700)]
kclient: clean up setattr vs caps vs i_lock
We should carry i_lock over caps checks when doing setattr
updates locally.
Also, always direct setattr requests at the auth MDS. Drop trivial
prepare_setattr helper.
Sage Weil [Fri, 13 Mar 2009 21:53:38 +0000 (14:53 -0700)]
kclient: remove redundant ceph_inode_holds_caps
Same as ceph_caps_issued_mask.
Sage Weil [Fri, 13 Mar 2009 21:53:14 +0000 (14:53 -0700)]
kclient: fix printk format
Sage Weil [Fri, 13 Mar 2009 21:42:48 +0000 (14:42 -0700)]
kclient: dentry_lease_is_valid cleanup
Make static, move to dir.c, etc.
Sage Weil [Fri, 13 Mar 2009 21:41:56 +0000 (14:41 -0700)]
kclient: do revalidate RDCACHE check under protection of lock
We need to do dentry->d_time and dirci->i_version comparison under
i_lock protection.
Sage Weil [Fri, 13 Mar 2009 21:25:21 +0000 (14:25 -0700)]
mds: fix lease release; add lease renew support in MDS
Yehuda Sadeh [Fri, 13 Mar 2009 21:05:14 +0000 (14:05 -0700)]
conf: use dynamic sized strings
Sage Weil [Fri, 13 Mar 2009 20:58:12 +0000 (13:58 -0700)]
kclient: set osd op sync flag on O_SYNC|O_DIRECT sync writes
Otherwise they will have a high latency from the OSD.
Sage Weil [Fri, 13 Mar 2009 17:38:32 +0000 (10:38 -0700)]
kclient: enable direct_IO
Sage Weil [Fri, 13 Mar 2009 19:38:23 +0000 (12:38 -0700)]
kclient: refactor read path, allow O_DIRECT
Clean up the read path to only use a single readpages function.
Prepare page vectors in caller. Allow O_DIRECT reads.
Sage Weil [Fri, 13 Mar 2009 17:38:20 +0000 (10:38 -0700)]
kclient: refactor write path to facilitate sync or O_DIRECT writes
Refactor osd_client writepages to always take a page vector, owned
by the caller. Move user data copy for regular sync write into
file.c. Alternatively, build a page vector of user pages for
O_DIRECT writes. Fix ->writepages async callers to allocate and
free the page vector.
Sage Weil [Fri, 13 Mar 2009 20:40:13 +0000 (13:40 -0700)]
kclient: fix file reopen on existing caps
We can do a local open only if the MDS already knows we want
those caps. It doesn't actually matter if they're currently
issued to us (there may be a concurrent something-or-other going
on, but we'll get them back eventually).
Sage Weil [Fri, 13 Mar 2009 20:42:30 +0000 (13:42 -0700)]
kclient: show wanted in trim_rdcaps
To aid debugging. Also, get function call out of BUG_ON argument.
Sage Weil [Fri, 13 Mar 2009 19:50:06 +0000 (12:50 -0700)]
ceph: fix argument parsing to allow commands with '-' in them
Sage Weil [Fri, 13 Mar 2009 19:39:03 +0000 (12:39 -0700)]
config: indent warning
Sage Weil [Fri, 13 Mar 2009 19:35:47 +0000 (12:35 -0700)]
kclient: don't read into pages if request is aborted
Check req->r_aborted in prepare_pages.
Sage Weil [Fri, 13 Mar 2009 16:43:28 +0000 (09:43 -0700)]
todo
Sage Weil [Thu, 12 Mar 2009 23:46:16 +0000 (16:46 -0700)]
man: update with latest args
Sage Weil [Thu, 12 Mar 2009 23:17:00 +0000 (16:17 -0700)]
remove newsyn
Yehuda Sadeh [Thu, 12 Mar 2009 23:27:22 +0000 (16:27 -0700)]
ceph.cc: fix arg parsing
Yehuda Sadeh [Thu, 12 Mar 2009 23:19:01 +0000 (16:19 -0700)]
config: fix bool argument parsing
Sage Weil [Thu, 12 Mar 2009 23:11:28 +0000 (16:11 -0700)]
kclient todos
Sage Weil [Thu, 12 Mar 2009 21:48:42 +0000 (14:48 -0700)]
mds: clear replica lock dirty flag when state is flushed back to primary
The dirty -> flush -> clean bit is probably overkill, given the
locking rules, but it's very explicit.
Yehuda Sadeh [Thu, 12 Mar 2009 23:08:13 +0000 (16:08 -0700)]
conf: redo all arg parsing for different modules
Yehuda Sadeh [Thu, 12 Mar 2009 22:09:59 +0000 (15:09 -0700)]
conf: arguments parsing cleanup
Sage Weil [Thu, 12 Mar 2009 21:18:39 +0000 (14:18 -0700)]
mds: fix excl->mix transition when replicated
Sage Weil [Thu, 12 Mar 2009 20:49:40 +0000 (13:49 -0700)]
mds: simplify lock msg handler by leveraging eval_gather
The one exception is that we need to issue_caps when we first
receive the message in order to do the revocation; pass in a bool
to do that.
Sage Weil [Thu, 12 Mar 2009 20:35:20 +0000 (13:35 -0700)]
vstart: no thrashing for now
Sage Weil [Thu, 12 Mar 2009 20:35:13 +0000 (13:35 -0700)]
mds: merge scatter and file lock message handlers
And fix some issues along the way.
Sage Weil [Thu, 12 Mar 2009 19:22:42 +0000 (12:22 -0700)]
mds: lock lock actions (no more LOCK_AC_SCATTER)
Sage Weil [Thu, 12 Mar 2009 19:03:54 +0000 (12:03 -0700)]
mds: more eval_gather() caller fixes
Sage Weil [Thu, 12 Mar 2009 18:59:25 +0000 (11:59 -0700)]
mds: add SYNC_MIX2 state
After replica releases RDCACHE back to mds, it still needs to wait
before moving to MIX state.
Sage Weil [Thu, 12 Mar 2009 18:57:26 +0000 (11:57 -0700)]
mds: only adjust inode auth_pins if we have cum auth pins
Add some assertions to that effect.
Sage Weil [Thu, 12 Mar 2009 18:37:58 +0000 (11:37 -0700)]
mds: remove bad eval_gather calls
Not needed if lock state is stable.
Sage Weil [Thu, 12 Mar 2009 18:30:52 +0000 (11:30 -0700)]
mds: cope with non-mdr request in path_traverse
For example, an MDiscover.
Sage Weil [Thu, 12 Mar 2009 18:28:26 +0000 (11:28 -0700)]
mds: fix eval_gather on capless inode locks
There are inode locks without caps (e.g. INEST).
Sage Weil [Thu, 12 Mar 2009 18:16:18 +0000 (11:16 -0700)]
kclient: friendly mds state names
Sage Weil [Thu, 12 Mar 2009 18:14:09 +0000 (11:14 -0700)]
mds: MDSMap::get_state_naem -> ceph_mds_state_name
Sage Weil [Thu, 12 Mar 2009 18:07:24 +0000 (11:07 -0700)]
kclient: decode new mdsmap format
Sage Weil [Thu, 12 Mar 2009 17:57:06 +0000 (10:57 -0700)]
todo
Sage Weil [Thu, 12 Mar 2009 17:56:55 +0000 (10:56 -0700)]
vstart: more mdss
Sage Weil [Thu, 12 Mar 2009 17:56:46 +0000 (10:56 -0700)]
monclient: do not show monmap source on startup
Sage Weil [Thu, 12 Mar 2009 17:56:37 +0000 (10:56 -0700)]
cmon, cosd: show fsid on startup
Sage Weil [Thu, 12 Mar 2009 17:56:25 +0000 (10:56 -0700)]
cmds: show name, fsid on startup
Sage Weil [Thu, 12 Mar 2009 17:34:39 +0000 (10:34 -0700)]
objecter: throttle read or write ops as per osdmap flags
Sage Weil [Thu, 12 Mar 2009 17:34:21 +0000 (10:34 -0700)]
osdmap: PAUSE flags
Globally throttle read or write or recovery activity via the
osdmap.
Sage Weil [Thu, 12 Mar 2009 21:12:04 +0000 (14:12 -0700)]
initscripts: print cconf command if verbose
Sage Weil [Thu, 12 Mar 2009 21:09:02 +0000 (14:09 -0700)]
cosd: change osd path
Sage Weil [Thu, 12 Mar 2009 21:02:33 +0000 (14:02 -0700)]
initscript: remove mon_addr generation
Not needed.
Sage Weil [Thu, 12 Mar 2009 20:59:05 +0000 (13:59 -0700)]
ceph_common: use new cconf syntax
Sage Weil [Thu, 12 Mar 2009 17:15:19 +0000 (10:15 -0700)]
mkcephfs: modprobe btrfs after the mkfs
Yehuda Sadeh [Thu, 12 Mar 2009 21:05:53 +0000 (14:05 -0700)]
conf: enlarge post processing buffer
Yehuda Sadeh [Thu, 12 Mar 2009 21:03:04 +0000 (14:03 -0700)]
cconf: fix -s options and some other cleanup
Yehuda Sadeh [Thu, 12 Mar 2009 19:26:08 +0000 (12:26 -0700)]
cconf: fix behavior when key not found
Yehuda Sadeh [Thu, 12 Mar 2009 19:16:10 +0000 (12:16 -0700)]
conf: enable default values
Yehuda Sadeh [Thu, 12 Mar 2009 18:48:42 +0000 (11:48 -0700)]
cconf: shouldn't open the conf file
Yehuda Sadeh [Thu, 12 Mar 2009 18:44:10 +0000 (11:44 -0700)]
cconf: can read keys that are not related to g_conf
Yehuda Sadeh [Thu, 12 Mar 2009 17:48:24 +0000 (10:48 -0700)]
cconf: restructure, use common infrastructure
Yehuda Sadeh [Thu, 12 Mar 2009 16:33:16 +0000 (09:33 -0700)]
cmon: typo
Sage Weil [Thu, 12 Mar 2009 05:05:57 +0000 (22:05 -0700)]
drop dstart/dstop
Sage Weil [Thu, 12 Mar 2009 05:05:01 +0000 (22:05 -0700)]
initscript: get pid_file so stop/reload/etc work
Sage Weil [Thu, 12 Mar 2009 05:00:08 +0000 (22:00 -0700)]
vstart: fix mkmonfs call
Sage Weil [Thu, 12 Mar 2009 04:57:09 +0000 (21:57 -0700)]
confutils: initialize pointer to null
Yehuda Sadeh [Thu, 12 Mar 2009 00:32:08 +0000 (17:32 -0700)]
conf: parameter substitution work (not fully working)
Sage Weil [Wed, 11 Mar 2009 23:31:00 +0000 (16:31 -0700)]
config: clean up sample conf
Sage Weil [Wed, 11 Mar 2009 23:28:52 +0000 (16:28 -0700)]
makefile: remove sample.cluster.conf
Yehuda Sadeh [Wed, 11 Mar 2009 23:30:15 +0000 (16:30 -0700)]
cconf: added $num to substitution variables
Yehuda Sadeh [Wed, 11 Mar 2009 23:28:54 +0000 (16:28 -0700)]
cconf: can use substitution variables
Sage Weil [Wed, 11 Mar 2009 23:07:16 +0000 (16:07 -0700)]
config: fix sample conf files
Sage Weil [Wed, 11 Mar 2009 23:21:50 +0000 (16:21 -0700)]
initscript: more fixes
Sage Weil [Wed, 11 Mar 2009 23:21:43 +0000 (16:21 -0700)]
mkmonfs: fix argument parsing
Sage Weil [Wed, 11 Mar 2009 23:09:46 +0000 (16:09 -0700)]
config: fix cosd conf files
Sage Weil [Wed, 11 Mar 2009 23:03:05 +0000 (16:03 -0700)]
config: just ceph.conf, no more cluster.conf
Sage Weil [Wed, 11 Mar 2009 22:49:30 +0000 (15:49 -0700)]
config: more config fixes