]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Fri, 20 Feb 2009 22:49:44 +0000 (14:49 -0800)]
objecter: shouldn't swap bufferlist buffers
Yehuda Sadeh [Thu, 19 Feb 2009 23:42:56 +0000 (15:42 -0800)]
common: remove warning
Yehuda Sadeh [Thu, 19 Feb 2009 23:41:36 +0000 (15:41 -0800)]
common: virtual destructor for class Timer
Sage Weil [Thu, 19 Feb 2009 23:25:21 +0000 (15:25 -0800)]
todo
Yehuda Sadeh [Fri, 13 Feb 2009 21:28:24 +0000 (13:28 -0800)]
SafeTimer: getting rid of global timer
Sage Weil [Thu, 19 Feb 2009 23:22:12 +0000 (15:22 -0800)]
kclient: only unregister after both acks
Partially reverts behavior of
b732c0ddb8a990a97b98606a6d9a387e5a21e3e5
We need the request to stay in the request_tree so that when the
safe arrives we can look it up (duh). Also, we need to keep a
reference to the request during that period...
Sage Weil [Thu, 19 Feb 2009 22:47:03 +0000 (14:47 -0800)]
mds: reverse rename argument order
Order change introduced by
3dc43aa8e6606be15695d565715b6a7a1b2d38ea
Sage Weil [Thu, 19 Feb 2009 22:45:37 +0000 (14:45 -0800)]
client: reverse rename argument order
Sage Weil [Thu, 19 Feb 2009 22:38:33 +0000 (14:38 -0800)]
kclient: add missing r_wait list_head init
Sage Weil [Thu, 19 Feb 2009 22:30:16 +0000 (14:30 -0800)]
kclient: initialize request list_heads
Sage Weil [Thu, 19 Feb 2009 22:23:38 +0000 (14:23 -0800)]
kclient: cast path
path[12] will either point to freshly allocated paths (that we
later kfree) or a provided const path.
Sage Weil [Thu, 19 Feb 2009 21:59:15 +0000 (13:59 -0800)]
kclient: unregister mds requests on unsafe reply
Fresh vs unsafe mds request replay is handled separately. So,
unregister requests on first reply. This avoids a stray dentry
reference if we unmount before getting a final safe (although
eventually those should be explicitly flushed as well).
Sage Weil [Thu, 19 Feb 2009 20:10:40 +0000 (12:10 -0800)]
kclient: clean up some mdsc locking
Do not drop mds mutex in __do_request().
Sage Weil [Thu, 19 Feb 2009 21:08:27 +0000 (13:08 -0800)]
kclient: fix path memory leak
Sage Weil [Thu, 19 Feb 2009 21:10:40 +0000 (13:10 -0800)]
kclient: async mds requestion completion callbacks
Sage Weil [Thu, 19 Feb 2009 00:35:45 +0000 (16:35 -0800)]
kclient: fix fh_to_dentry; move build_path to mds_client.c
Sage Weil [Thu, 19 Feb 2009 00:19:39 +0000 (16:19 -0800)]
kclient: mds requests in terms of dentries, not paths
Generate mds request paths when request is sent, so that it reflects
the current state of mds capabilities. Eventually we can then make
the relative paths based on the current capabilities for that mds..
Sage Weil [Wed, 18 Feb 2009 22:13:49 +0000 (14:13 -0800)]
kclient: async mds requests
Restructure the mds client to handle mds request asynchronously, so
that we can handle requests that are not managed by a blocking
thread.
Yehuda Sadeh [Thu, 19 Feb 2009 19:53:11 +0000 (11:53 -0800)]
kclient: remove extra log output
Yehuda Sadeh [Thu, 19 Feb 2009 17:43:28 +0000 (09:43 -0800)]
kclient: sync writeout when not pdflush
Sage Weil [Thu, 19 Feb 2009 19:01:51 +0000 (11:01 -0800)]
mds: only flush journal when we need to
Force a flush every tick just in case.
Sage Weil [Wed, 18 Feb 2009 22:20:05 +0000 (14:20 -0800)]
kclient: set 'sync' flag for fsync
This will ensure that fsynced data is committed immediately by the
OSDs.
Sage Weil [Wed, 18 Feb 2009 19:53:51 +0000 (11:53 -0800)]
script: fix check_osd_request_latency
Sage Weil [Wed, 18 Feb 2009 19:47:23 +0000 (11:47 -0800)]
script: check_osd_request_latency
Yehuda Sadeh [Wed, 18 Feb 2009 19:07:19 +0000 (11:07 -0800)]
conf: can turn on debug logs in startup.conf
Yehuda Sadeh [Tue, 17 Feb 2009 21:26:24 +0000 (13:26 -0800)]
conf: add debug_ms option
Sage Weil [Tue, 17 Feb 2009 20:15:39 +0000 (12:15 -0800)]
mds: don't rdlock stat fields that client has EXCL cap for
yehudasa [Tue, 17 Feb 2009 18:57:48 +0000 (10:57 -0800)]
add ceph_init to distribution
Yehuda Sadeh [Tue, 17 Feb 2009 18:45:34 +0000 (10:45 -0800)]
kclient: backport changes to kernel 2.6.25
Yehuda Sadeh [Sat, 14 Feb 2009 01:09:12 +0000 (17:09 -0800)]
kclient: fix mdsc->snap_empty cleanup
Yehuda Sadeh [Sat, 14 Feb 2009 01:06:22 +0000 (17:06 -0800)]
kclient: remove client from client list before destorying
Yehuda Sadeh [Fri, 13 Feb 2009 23:02:51 +0000 (15:02 -0800)]
kclient: fix proc cleanup
Yehuda Sadeh [Fri, 13 Feb 2009 00:47:56 +0000 (16:47 -0800)]
assert: some more assert_warn
Yehuda Sadeh [Thu, 12 Feb 2009 23:05:12 +0000 (15:05 -0800)]
cosd: change some assert to assert_warn and clean exit
Yehuda Sadeh [Thu, 12 Feb 2009 20:43:17 +0000 (12:43 -0800)]
kclient: show some meaningful info in client proc entry
Yehuda Sadeh [Thu, 12 Feb 2009 19:05:45 +0000 (11:05 -0800)]
kclient: per client proc data file
Yehuda Sadeh [Wed, 11 Feb 2009 00:21:20 +0000 (16:21 -0800)]
kclient: added a proc function to read client data
Yehuda Sadeh [Wed, 11 Feb 2009 00:08:02 +0000 (16:08 -0800)]
kclient: proc subdir for each ceph client
Yehuda Sadeh [Tue, 10 Feb 2009 23:42:51 +0000 (15:42 -0800)]
kclient: keep global list of ceph clients
Yehuda Sadeh [Tue, 10 Feb 2009 00:29:43 +0000 (16:29 -0800)]
assert: warn on assertion if requested for current thread
Yehuda Sadeh [Mon, 9 Feb 2009 23:46:02 +0000 (15:46 -0800)]
added a common initialization function
Yehuda Sadeh [Mon, 9 Feb 2009 22:59:07 +0000 (14:59 -0800)]
tls: addeed a thread local storage infrastructure
(cherry picked from commit
1b6b128f4e2aaab016575f48f2ec50d4abe002c9 )
Yehuda Sadeh [Sat, 31 Jan 2009 00:24:41 +0000 (16:24 -0800)]
osd: fix log level
Sage Weil [Fri, 30 Jan 2009 23:13:43 +0000 (15:13 -0800)]
mds: make sure we eval_stray when inode was replicated
Also, drop dn to end of lru if unlinked and last cap.
Sage Weil [Fri, 30 Jan 2009 23:04:25 +0000 (15:04 -0800)]
mds: remove traces of CDir::committed_version_equivalent
Don't think it's coming back
Sage Weil [Fri, 30 Jan 2009 23:03:21 +0000 (15:03 -0800)]
kclient: release CAP_LINK_RDCACHE before unlink
Sage Weil [Fri, 30 Jan 2009 23:01:03 +0000 (15:01 -0800)]
vstart: fix call to stop.sh
Sage Weil [Fri, 30 Jan 2009 23:00:53 +0000 (15:00 -0800)]
todos
Sage Weil [Fri, 30 Jan 2009 23:00:45 +0000 (15:00 -0800)]
osd: print ops args correctly
Sage Weil [Fri, 30 Jan 2009 23:00:34 +0000 (15:00 -0800)]
mds: use generic helper when removing a cap
This way we make sure to do all the right checks on the locks,
mds_caps, and to call eval_stray if the inode is unlinked.
Sage Weil [Fri, 30 Jan 2009 22:59:24 +0000 (14:59 -0800)]
mds: fix try_remove_unlinked_dn
Clear dentry NEW flag when we commit it.. pretty sure that was the
old bug. And we can't cheat the directory commit because the fnode
also gets updated.
Sage Weil [Fri, 30 Jan 2009 21:51:49 +0000 (13:51 -0800)]
mds: fix purge of 0-length inode
Sage Weil [Fri, 30 Jan 2009 21:15:20 +0000 (13:15 -0800)]
mds: remove unused inode purge fields
Yehuda Sadeh [Fri, 30 Jan 2009 23:56:36 +0000 (15:56 -0800)]
ceph_init: fix initalization
Yehuda Sadeh [Fri, 30 Jan 2009 23:48:56 +0000 (15:48 -0800)]
ceph_init: added missing file
Yehuda Sadeh [Fri, 30 Jan 2009 23:47:59 +0000 (15:47 -0800)]
ceph_init: initial version
Yehuda Sadeh [Fri, 30 Jan 2009 20:45:31 +0000 (12:45 -0800)]
crun: restart only processes that should have dumped core
Sage Weil [Fri, 30 Jan 2009 19:43:53 +0000 (11:43 -0800)]
todo
Sage Weil [Fri, 30 Jan 2009 19:40:40 +0000 (11:40 -0800)]
osd: put full original reqid in osd_op_reply
Sage Weil [Fri, 30 Jan 2009 19:36:37 +0000 (11:36 -0800)]
mds: typos
Sage Weil [Fri, 30 Jan 2009 19:36:28 +0000 (11:36 -0800)]
kclient: don't retain caps if inode is closed and nlink == 0
Sage Weil [Fri, 30 Jan 2009 19:22:40 +0000 (11:22 -0800)]
mds: rip out old purge_inode crap
Sage Weil [Fri, 30 Jan 2009 18:41:12 +0000 (10:41 -0800)]
mds: simplify purge_stray
Just delete objects and then journal completion. No need to do
the funky purge_inode double commit crap, since we will re-eval
strays later any (and do it all again if needed).
Sage Weil [Fri, 30 Jan 2009 18:08:44 +0000 (10:08 -0800)]
mds: clean up opent a bit
Sage Weil [Fri, 30 Jan 2009 18:07:06 +0000 (10:07 -0800)]
mds: drop _do_open helper
only one caller
Sage Weil [Fri, 30 Jan 2009 17:56:13 +0000 (09:56 -0800)]
mds: open O_TRUNC implemented.. but not used by kclient :/
Sage Weil [Fri, 30 Jan 2009 00:53:10 +0000 (16:53 -0800)]
mds: implement async truncate (trimtrunc); fix log segment trim vs purge bug
Logsegs were allowed to trim even with outstanding purges.. fix.
Sage Weil [Thu, 29 Jan 2009 22:47:46 +0000 (14:47 -0800)]
osd: fix truncate ops; add TRIMTRUNC
Sage Weil [Thu, 29 Jan 2009 22:47:31 +0000 (14:47 -0800)]
mds: truncate changes. not complete.
We don't clean up after we finish our truncate.
Sage Weil [Thu, 29 Jan 2009 22:47:06 +0000 (14:47 -0800)]
kclient: fix and clean up osd request generation
Add trunc op correctly. Clean things up by combining request
message and request struct creation.
Sage Weil [Thu, 29 Jan 2009 22:46:35 +0000 (14:46 -0800)]
kclient: include old size in truncate
Sage Weil [Thu, 29 Jan 2009 22:46:23 +0000 (14:46 -0800)]
kclient: truncate bits
Queue vmtruncate if we see size decrease in fill_file_info (not
just on CAP_OP_TRUNC).
Sage Weil [Thu, 29 Jan 2009 19:22:15 +0000 (11:22 -0800)]
kclient: include truncate osd_ops when needed
Sage Weil [Thu, 29 Jan 2009 18:58:50 +0000 (10:58 -0800)]
osd: MASKTRUNC and SETTRUNC osd ops
Sage Weil [Sat, 24 Jan 2009 05:22:57 +0000 (21:22 -0800)]
mds: add truncate_size
Yehuda Sadeh [Fri, 30 Jan 2009 19:41:06 +0000 (11:41 -0800)]
renamed common.sh to ceph_common.sh
Yehuda Sadeh [Fri, 30 Jan 2009 19:23:52 +0000 (11:23 -0800)]
rename stop.sh to ceph_stop, added to Makefile.am
Yehuda Sadeh [Fri, 30 Jan 2009 19:12:19 +0000 (11:12 -0800)]
cephd: update Makefile.am
Sage Weil [Fri, 30 Jan 2009 19:13:23 +0000 (11:13 -0800)]
mon: only propose new osdmap once at end of mdsmonitor tick()
Yehuda Sadeh [Fri, 30 Jan 2009 19:01:41 +0000 (11:01 -0800)]
ceph.sh renamed to cephd
Sage Weil [Fri, 30 Jan 2009 19:00:43 +0000 (11:00 -0800)]
msgr: fix WAIT connection race handling
Not sure why it wasn't setting STATE_WAIT before. Works now.
Yehuda Sadeh [Fri, 30 Jan 2009 18:37:51 +0000 (10:37 -0800)]
ceph.sh: some changes, fixes
Yehuda Sadeh [Fri, 30 Jan 2009 00:20:46 +0000 (16:20 -0800)]
ceph.sh: some fixes
Yehuda Sadeh [Thu, 29 Jan 2009 23:30:17 +0000 (15:30 -0800)]
ceph.sh: try to locate cconf
Yehuda Sadeh [Thu, 29 Jan 2009 23:24:16 +0000 (15:24 -0800)]
ceph.sh: enable script
Yehuda Sadeh [Thu, 29 Jan 2009 23:22:52 +0000 (15:22 -0800)]
ceph.sh: able to specify start/stop/restart, specific modules
Yehuda Sadeh [Thu, 29 Jan 2009 23:02:34 +0000 (15:02 -0800)]
ceph.sh: add missing file
Yehuda Sadeh [Thu, 29 Jan 2009 23:01:25 +0000 (15:01 -0800)]
ceph.sh: can specify remote modules
Yehuda Sadeh [Thu, 29 Jan 2009 21:55:33 +0000 (13:55 -0800)]
ceph.sh: startup script that uses conf file
Sage Weil [Thu, 29 Jan 2009 18:16:12 +0000 (10:16 -0800)]
osd: rev internal osd protocol
Sage Weil [Wed, 28 Jan 2009 21:06:05 +0000 (13:06 -0800)]
osd: push wrlocks into object_info_t
Sage Weil [Wed, 28 Jan 2009 19:10:21 +0000 (11:10 -0800)]
osd: remove inc_lock
Sage Weil [Wed, 28 Jan 2009 19:08:14 +0000 (11:08 -0800)]
osd: combine all internal object state into single '_' object_info_t xattr
Sage Weil [Tue, 27 Jan 2009 19:20:37 +0000 (11:20 -0800)]
osd: replace version attr with oi (object_info_t) (disk format change)
Includes last reqid, mtime. Makes backlog log entries include
a real reqid, which makes the client_reqs IndexedLog map meaningful.
Otherwise, the first backlog item we 'unindex' means the remaining
ops with reqid unknown0.0:0 aren't in the map.
This revs the osd ondisk format.
Yehuda Sadeh [Thu, 29 Jan 2009 00:35:54 +0000 (16:35 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Thu, 29 Jan 2009 00:35:39 +0000 (16:35 -0800)]
cconf: able to specify multiple sections
Sage Weil [Thu, 29 Jan 2009 00:11:07 +0000 (16:11 -0800)]
dstart: --ramjournal option
Sage Weil [Thu, 29 Jan 2009 00:10:57 +0000 (16:10 -0800)]
scripts: osd latency check script
Sage Weil [Wed, 28 Jan 2009 23:52:58 +0000 (15:52 -0800)]
kclient: start writeback without blocking
We just want to make sure writeback starts; we don't need/want
to wait for it to complete in the writeback thread.
Yehuda Sadeh [Wed, 28 Jan 2009 18:51:18 +0000 (10:51 -0800)]
cconf: set default conf filename