]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
17 years agoMerge branch 'unstable' of ssh://michaelr@ceph.newdream.net/git/ceph into unstable
Michael Rodriguez [Fri, 7 Mar 2008 11:26:48 +0000 (03:26 -0800)]
Merge branch 'unstable' of ssh://michaelr@ceph.newdream.net/git/ceph into unstable

17 years agoupdated sample config file to reflect new requirements
Pete V [Fri, 7 Mar 2008 11:14:41 +0000 (03:14 -0800)]
updated sample config file to reflect new requirements

17 years agowork in progress -- incomplete
Pete V [Fri, 7 Mar 2008 11:13:46 +0000 (03:13 -0800)]
work in progress -- incomplete

17 years agosmall sanity checks for size = 0
Pete V [Fri, 7 Mar 2008 11:12:51 +0000 (03:12 -0800)]
small sanity checks for size = 0

17 years agocrush: some comments
Sage Weil [Fri, 7 Mar 2008 00:10:31 +0000 (16:10 -0800)]
crush: some comments

17 years agoclient: fixed multiple mounts
Sage Weil [Fri, 7 Mar 2008 00:08:19 +0000 (16:08 -0800)]
client: fixed multiple mounts

17 years agoclient: small msgr cleanup
Sage Weil [Thu, 6 Mar 2008 23:28:05 +0000 (15:28 -0800)]
client: small msgr cleanup

17 years agoMerge branch 'darwin' into unstable
Sage Weil [Thu, 6 Mar 2008 23:25:41 +0000 (15:25 -0800)]
Merge branch 'darwin' into unstable

17 years agodarwin: moving missing types to types.h, fix start/stop.sh
Volker Assmann [Thu, 6 Mar 2008 23:24:25 +0000 (15:24 -0800)]
darwin: moving missing types to types.h, fix start/stop.sh

17 years agoclient: refactored most of open_root_inode cruft into fill_trace
Sage Weil [Thu, 6 Mar 2008 23:06:03 +0000 (15:06 -0800)]
client: refactored most of open_root_inode cruft into fill_trace

17 years agoJust spacing
Patience Warnick [Thu, 6 Mar 2008 20:28:28 +0000 (12:28 -0800)]
Just spacing

17 years agoMerge branch 'unstable' of ssh://patience@ceph.newdream.net/home/sage/ceph.newdream...
Patience Warnick [Thu, 6 Mar 2008 20:27:00 +0000 (12:27 -0800)]
Merge branch 'unstable' of ssh://patience@ceph.newdream.net/home/sage/ceph.newdream.net/git/ceph into unstable

17 years agodefined ceph_osdc_readpages() and ceph_osdc_readpage_filler().
Dongsu Park [Thu, 6 Mar 2008 19:25:42 +0000 (11:25 -0800)]
defined ceph_osdc_readpages() and ceph_osdc_readpage_filler().

renamed do_ceph_read as ceph_readpage_async(),
 do_ceph_write as ceph_writepage_async() respectively.

now ceph_writepage method is really used,

and buggy unlock_page() functions were removed, to avoid kernel panics.

Conflicts:

src/kernel/addr.c
src/kernel/file.c
src/kernel/osd_client.c
src/kernel/osd_client.h

17 years agoclient: new cap code working
Sage Weil [Thu, 6 Mar 2008 19:17:53 +0000 (11:17 -0800)]
client: new cap code working

17 years agoclient: caps cleanup, almost
Sage Weil [Thu, 6 Mar 2008 18:37:36 +0000 (10:37 -0800)]
client: caps cleanup, almost

17 years agoadded reset_peer callback
Patience Warnick [Thu, 6 Mar 2008 18:15:19 +0000 (10:15 -0800)]
added reset_peer callback

17 years agoadded peer_reset callback
Patience Warnick [Thu, 6 Mar 2008 17:56:44 +0000 (09:56 -0800)]
added peer_reset callback

17 years agoMerge branch 'unstable' of ssh://patience@ceph.newdream.net/home/sage/ceph.newdream...
Patience Warnick [Thu, 6 Mar 2008 17:47:09 +0000 (09:47 -0800)]
Merge branch 'unstable' of ssh://patience@ceph.newdream.net/home/sage/ceph.newdream.net/git/ceph into unstable

17 years agokernel: simplify do_request error return path
Sage Weil [Thu, 6 Mar 2008 04:49:34 +0000 (20:49 -0800)]
kernel: simplify do_request error return path

17 years agoclient: small open_root_inode cleanup
Sage Weil [Thu, 6 Mar 2008 01:06:32 +0000 (17:06 -0800)]
client: small open_root_inode cleanup

17 years agotodos
Sage Weil [Thu, 6 Mar 2008 01:06:22 +0000 (17:06 -0800)]
todos

17 years agoclient: take references in fill_trace and drop them later (normally in put_request)
Sage Weil [Thu, 6 Mar 2008 00:45:36 +0000 (16:45 -0800)]
client: take references in fill_trace and drop them later (normally in put_request)

17 years agomds: ignore atime updates until code can handle non-wrlockable updates
Sage Weil [Wed, 5 Mar 2008 23:00:21 +0000 (15:00 -0800)]
mds: ignore atime updates until code can handle non-wrlockable updates

17 years agoclient: error handling, open cleanups
Sage Weil [Wed, 5 Mar 2008 22:59:56 +0000 (14:59 -0800)]
client: error handling, open cleanups

17 years agoMerge branch 'unstable' into always_insert_trace
Sage Weil [Wed, 5 Mar 2008 22:47:18 +0000 (14:47 -0800)]
Merge branch 'unstable' into always_insert_trace

17 years agoclient: disable ceph_lookup_open intent stuff for now
Sage Weil [Wed, 5 Mar 2008 21:46:41 +0000 (13:46 -0800)]
client: disable ceph_lookup_open intent stuff for now

17 years agoclient: refactor mds requests to put most processing in reply handler
Sage Weil [Wed, 5 Mar 2008 21:29:03 +0000 (13:29 -0800)]
client: refactor mds requests to put most processing in reply handler

The goal is to fix race issues between open reply processing (previously
in calling processes context) and subsequent file_cap messages.  This just
pushes generic mds reply handling into the reply handler, including
the ceph_insert_trace (somewhat heavyweight, unfortunately) and the cap
creation/update.

This effectively pushes a lot more code into the single thread thats
doing mds replies, but simplifies a lot of code.  Until scaling issues
arise, I think it's fine.

17 years agomds: fix open flags check on directories
Sage Weil [Wed, 5 Mar 2008 21:06:02 +0000 (13:06 -0800)]
mds: fix open flags check on directories

17 years agoconfigure.ac hack
Sage Weil [Wed, 5 Mar 2008 20:28:22 +0000 (12:28 -0800)]
configure.ac hack

17 years agowork in progress, process bucket numbering ourselves in perl
Pete V [Wed, 5 Mar 2008 20:15:28 +0000 (12:15 -0800)]
work in progress, process bucket numbering ourselves in perl

17 years agoMerge branch 'unstable' of /home/michael/ceph
Pete V [Wed, 5 Mar 2008 15:48:25 +0000 (07:48 -0800)]
Merge branch 'unstable' of /home/michael/ceph

17 years agonot sure
Michael Rodriguez [Wed, 5 Mar 2008 14:48:28 +0000 (06:48 -0800)]
not sure

17 years agono more update bucket
Michael Rodriguez [Wed, 5 Mar 2008 14:46:34 +0000 (06:46 -0800)]
no more update bucket

17 years agofakestore: use wrappers around setxattr and friends
Sage Weil [Wed, 5 Mar 2008 05:17:42 +0000 (21:17 -0800)]
fakestore: use wrappers around setxattr and friends

17 years agoMerge branch 'unstable' into darwin
Sage Weil [Wed, 5 Mar 2008 04:40:38 +0000 (20:40 -0800)]
Merge branch 'unstable' into darwin

17 years agobuild under darwin
Volker Assmann [Wed, 5 Mar 2008 04:30:40 +0000 (20:30 -0800)]
build under darwin

17 years agoadding more busket types from the config
Michael Rodriguez [Wed, 5 Mar 2008 00:49:57 +0000 (16:49 -0800)]
adding more busket types from the config

17 years agonothing significant
Michael Rodriguez [Tue, 4 Mar 2008 23:46:27 +0000 (15:46 -0800)]
nothing significant

17 years agostart of crush map manip from perl
Michael Rodriguez [Tue, 4 Mar 2008 23:45:53 +0000 (15:45 -0800)]
start of crush map manip from perl

17 years agoint * working with perl
Michael Rodriguez [Tue, 4 Mar 2008 23:44:24 +0000 (15:44 -0800)]
int * working with perl

17 years agoclient: inode.i_size locking, cap TRUNC handler
Sage Weil [Tue, 4 Mar 2008 22:39:08 +0000 (14:39 -0800)]
client: inode.i_size locking, cap TRUNC handler

17 years agoFileLayout rename
Sage Weil [Tue, 4 Mar 2008 22:36:11 +0000 (14:36 -0800)]
FileLayout rename

17 years agoclient: addr.c tabs
Sage Weil [Tue, 4 Mar 2008 20:08:36 +0000 (12:08 -0800)]
client: addr.c tabs

17 years agoclient: fix dout/derr macros
Sage Weil [Tue, 4 Mar 2008 20:05:08 +0000 (12:05 -0800)]
client: fix dout/derr macros

17 years agoclient: require rd cap before checking size in Client::_read()
Sage Weil [Tue, 4 Mar 2008 19:06:50 +0000 (11:06 -0800)]
client: require rd cap before checking size in Client::_read()

17 years agoMerge branch 'unstable' of ssh://michaelr@ceph.newdream.net/git/ceph into unstable
Michael Rodriguez [Tue, 4 Mar 2008 18:56:48 +0000 (10:56 -0800)]
Merge branch 'unstable' of ssh://michaelr@ceph.newdream.net/git/ceph into unstable

17 years agojournal: some fixes, still some issues left
Sage Weil [Tue, 4 Mar 2008 05:46:23 +0000 (21:46 -0800)]
journal: some fixes, still some issues left

17 years agoMerge branch 'mdscapthing' into unstable
Sage Weil [Mon, 3 Mar 2008 23:34:35 +0000 (15:34 -0800)]
Merge branch 'mdscapthing' into unstable

17 years agomds, client: fixed races with cap release, open, size/mtime update journaling, and...
Sage Weil [Mon, 3 Mar 2008 23:26:34 +0000 (15:26 -0800)]
mds, client: fixed races with cap release, open, size/mtime update journaling, and file size

- there's now an explicit TRUNC cap message when file size decreases
- mds holds wrlock during duration of size|mtime journaling

17 years agoMerge branch 'unstable' of ssh://patience@ceph.newdream.net/home/sage/ceph.newdream...
Patience Warnick [Mon, 3 Mar 2008 19:14:50 +0000 (11:14 -0800)]
Merge branch 'unstable' of ssh://patience@ceph.newdream.net/home/sage/ceph.newdream.net/git/ceph into unstable

17 years agopeer reset during standby
Patience Warnick [Mon, 3 Mar 2008 19:14:00 +0000 (11:14 -0800)]
peer reset during standby

17 years agotodo, client verbosity
Sage Weil [Mon, 3 Mar 2008 06:41:06 +0000 (22:41 -0800)]
todo, client verbosity

17 years agocap fix unfinished
Sage Weil [Mon, 3 Mar 2008 06:40:30 +0000 (22:40 -0800)]
cap fix unfinished

17 years agomon: osd commands to mark osds in/out/down
Sage Weil [Sun, 2 Mar 2008 22:39:00 +0000 (14:39 -0800)]
mon: osd commands to mark osds in/out/down

17 years agomanual merge of volker and dongsu's write stuff
Sage Weil [Sat, 1 Mar 2008 00:25:20 +0000 (16:25 -0800)]
manual merge of volker and dongsu's write stuff

this is based on a diff of
    7469f26a33c072169d6ed929352eda06562ffe3f
and 933226e5cdea16d311f15d47d5db852cf2107e57

i left out the dcache locking bits in dir.c, for now.

17 years agocas: pg_pool and file_layout bits to pass object pool down through stack
Sage Weil [Sat, 1 Mar 2008 06:12:36 +0000 (22:12 -0800)]
cas: pg_pool and file_layout bits to pass object pool down through stack

17 years agocleanups
Sage Weil [Fri, 29 Feb 2008 23:34:05 +0000 (15:34 -0800)]
cleanups

17 years agobyteorder fixup
Sage Weil [Fri, 29 Feb 2008 00:58:49 +0000 (16:58 -0800)]
byteorder fixup

17 years agotodos
Sage Weil [Fri, 29 Feb 2008 00:58:28 +0000 (16:58 -0800)]
todos

17 years agomds: fix pre_dirty + projected_parent to bump pv properly; fix unlink vs cap release...
Sage Weil [Fri, 29 Feb 2008 18:57:02 +0000 (10:57 -0800)]
mds: fix pre_dirty + projected_parent to bump pv properly; fix unlink vs cap release race

17 years agofakestore: various fixes (esp on 32bit)
Sage Weil [Thu, 28 Feb 2008 22:45:28 +0000 (14:45 -0800)]
fakestore: various fixes (esp on 32bit)

17 years agomon: oops
Sage Weil [Thu, 28 Feb 2008 19:32:32 +0000 (11:32 -0800)]
mon: oops

17 years agomon: get/set maxosd
Sage Weil [Thu, 28 Feb 2008 19:11:59 +0000 (11:11 -0800)]
mon: get/set maxosd

17 years agomon: reworked command interface to use preprocess_ and prepare_command
Sage Weil [Thu, 28 Feb 2008 18:21:48 +0000 (10:21 -0800)]
mon: reworked command interface to use preprocess_ and prepare_command

17 years agomds: projected_parent on inode to allow concurrent rename and inode updates (due...
Sage Weil [Thu, 28 Feb 2008 17:50:13 +0000 (09:50 -0800)]
mds: projected_parent on inode to allow concurrent rename and inode updates (due to cap changes)

The problem is that a cap update would give a new mtime mid-rename.  Locker would pre-dirty the inode and _old_ parent dentry, and when it went to apply the projected update, it would have a pv from the old dentry and use it to dirty the new parent dentry.  Now, rename sets projected_parent in _rename_prepare and clears it via CDir::link_inode, and pre_dirty follows that pointer when present.

17 years agomon: setcrushmap hack; basic fwd to leader strategy
Sage Weil [Thu, 28 Feb 2008 01:01:38 +0000 (17:01 -0800)]
mon: setcrushmap hack; basic fwd to leader strategy

17 years agocmonctl: send data payload
Sage Weil [Thu, 28 Feb 2008 00:52:13 +0000 (16:52 -0800)]
cmonctl: send data payload

17 years agomon: added getmap and getcrushmap to extract osdmap or just crush map from monitor
Sage Weil [Thu, 28 Feb 2008 00:43:22 +0000 (16:43 -0800)]
mon: added getmap and getcrushmap to extract osdmap or just crush map from monitor

17 years agoclient: ipquad printf cleanups
Sage Weil [Thu, 28 Feb 2008 00:12:55 +0000 (16:12 -0800)]
client: ipquad printf cleanups

17 years agomds: truncate fixes
Sage Weil [Wed, 27 Feb 2008 23:44:18 +0000 (15:44 -0800)]
mds: truncate fixes

17 years agofakestore: fix collection_setattrs
Sage Weil [Wed, 27 Feb 2008 22:57:36 +0000 (14:57 -0800)]
fakestore: fix collection_setattrs

17 years agofakestore: cleanup
Sage Weil [Wed, 27 Feb 2008 22:45:50 +0000 (14:45 -0800)]
fakestore: cleanup

17 years agomds: untested fix for opent/openc inode versioning bug
Sage Weil [Wed, 27 Feb 2008 22:43:36 +0000 (14:43 -0800)]
mds: untested fix for opent/openc inode versioning bug

17 years agofakestore: journal replay
Sage Weil [Wed, 27 Feb 2008 22:17:36 +0000 (14:17 -0800)]
fakestore: journal replay

17 years agofakestore: more journaling bits, fixes
Sage Weil [Wed, 27 Feb 2008 21:51:05 +0000 (13:51 -0800)]
fakestore: more journaling bits, fixes

17 years agoclient: ignore long crush blob
Sage Weil [Wed, 27 Feb 2008 19:38:06 +0000 (11:38 -0800)]
client: ignore long crush blob

17 years agofakestore: use a journal, with periodic sync
Sage Weil [Wed, 27 Feb 2008 19:36:49 +0000 (11:36 -0800)]
fakestore: use a journal, with periodic sync

17 years agoosd: factor journaling out of ebofs
Sage Weil [Wed, 27 Feb 2008 17:57:29 +0000 (09:57 -0800)]
osd: factor journaling out of ebofs

17 years agotodos
Sage Weil [Tue, 26 Feb 2008 16:59:38 +0000 (08:59 -0800)]
todos

17 years agocrushmap generator in testing phase
Michael Rodriguez [Mon, 25 Feb 2008 19:27:49 +0000 (11:27 -0800)]
crushmap generator in testing phase

17 years agoConfig::General doesn't like items all on one line
Michael Rodriguez [Mon, 25 Feb 2008 19:27:12 +0000 (11:27 -0800)]
Config::General doesn't like items all on one line

17 years agolower autoconf version req to 2.59 (works, with warnings)
Sage Weil [Mon, 25 Feb 2008 18:04:01 +0000 (10:04 -0800)]
lower autoconf version req to 2.59 (works, with warnings)

17 years agocrush: git bucket id calc for additional buckets
Sage Weil [Sun, 24 Feb 2008 23:07:49 +0000 (15:07 -0800)]
crush: git bucket id calc for additional buckets

17 years agocrush: git bucket id calc for additional buckets
Sage Weil [Sun, 24 Feb 2008 23:07:49 +0000 (15:07 -0800)]
crush: git bucket id calc for additional buckets

17 years agomds: add wrlock bits to FileLock
Sage Weil [Wed, 13 Feb 2008 11:14:53 +0000 (03:14 -0800)]
mds: add wrlock bits to FileLock

17 years agomds: temp workaround mtime update race
Sage Weil [Wed, 13 Feb 2008 11:14:37 +0000 (03:14 -0800)]
mds: temp workaround mtime update race

17 years agoswig wrapper
Michael Rodriguez [Tue, 12 Feb 2008 18:51:04 +0000 (10:51 -0800)]
swig wrapper

17 years agoprint the contents of arrays passed via SWIG
Michael Rodriguez [Tue, 12 Feb 2008 18:48:18 +0000 (10:48 -0800)]
print the contents of arrays passed via SWIG

17 years agothis makefile won't work if the object files already exist from another compile
Michael Rodriguez [Tue, 12 Feb 2008 18:47:07 +0000 (10:47 -0800)]
this makefile won't work if the object files already exist from another compile

17 years agotemporary fix of a crash due to missing decode
Yehuda Sadeh-Weinraub [Sun, 10 Feb 2008 15:01:36 +0000 (17:01 +0200)]
temporary fix of a crash due to missing decode

17 years agostart.sh can execute binaries from alternative locations
Yehuda Sadeh-Weinraub [Thu, 7 Feb 2008 13:18:27 +0000 (15:18 +0200)]
start.sh can execute binaries from alternative locations

17 years agoadded missing file
Yehuda Sadeh-Weinraub [Wed, 6 Feb 2008 13:17:01 +0000 (15:17 +0200)]
added missing file

17 years agoadded proc entry for setting debug level
Yehuda Sadeh-Weinraub [Wed, 6 Feb 2008 13:13:15 +0000 (15:13 +0200)]
added proc entry for setting debug level

17 years agocleanup
Yehuda Sadeh-Weinraub [Sat, 2 Feb 2008 21:18:17 +0000 (23:18 +0200)]
cleanup

17 years agofix compilation error
Yehuda Sadeh-Weinraub [Sat, 2 Feb 2008 21:08:10 +0000 (23:08 +0200)]
fix compilation error

17 years agowhitespace
Yehuda Sadeh-Weinraub [Sat, 2 Feb 2008 21:00:07 +0000 (23:00 +0200)]
whitespace

17 years agoadded d_revalidate
Yehuda Sadeh-Weinraub [Sat, 2 Feb 2008 20:58:07 +0000 (22:58 +0200)]
added d_revalidate

17 years agocleanup
Yehuda Sadeh-Weinraub [Fri, 1 Feb 2008 21:01:57 +0000 (23:01 +0200)]
cleanup

17 years agocrush: more accessors/modifiers in crushwrapper, some builder changes
Sage Weil [Sat, 2 Feb 2008 00:50:02 +0000 (16:50 -0800)]
crush: more accessors/modifiers in crushwrapper, some builder changes

17 years agocrush: some crushwrapper methods, initial swig makefile?
Sage Weil [Fri, 1 Feb 2008 21:46:27 +0000 (13:46 -0800)]
crush: some crushwrapper methods, initial swig makefile?