]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 years agoHadoop: Renamed listPathsRaw as listPaths
Greg Farnum [Wed, 22 Jul 2009 17:30:17 +0000 (10:30 -0700)]
Hadoop: Renamed listPathsRaw as listPaths

to indicate that listPaths now strips out . and ..

Fixed bad reference to deleteRaw.

16 years agoHadoop: Continued cleanup work.
Greg Farnum [Wed, 22 Jul 2009 00:20:08 +0000 (17:20 -0700)]
Hadoop: Continued cleanup work.

16 years agoHadoop:Stubs for new append method
Greg Farnum [Tue, 21 Jul 2009 21:54:44 +0000 (14:54 -0700)]
Hadoop:Stubs for new append method

16 years agoHadoop: Minor changes to most of the methods.
greg [Tue, 21 Jul 2009 21:44:24 +0000 (14:44 -0700)]
Hadoop: Minor changes to most of the methods.

16 years agoHadoop: Retab CephFileSystem.
greg [Tue, 21 Jul 2009 20:37:25 +0000 (13:37 -0700)]
Hadoop: Retab CephFileSystem.

Also begin changes in create and delete.

16 years agoAdded Hadoop fs components.
greg [Tue, 21 Jul 2009 20:27:25 +0000 (13:27 -0700)]
Added Hadoop fs components.

16 years agokclient: fix up export.c
Sage Weil [Wed, 22 Jul 2009 18:15:50 +0000 (11:15 -0700)]
kclient: fix up export.c

16 years agokclient: mon_client, kobject cleanups
Sage Weil [Wed, 22 Jul 2009 17:02:47 +0000 (10:02 -0700)]
kclient: mon_client, kobject cleanups

16 years agocrush: more cleanup
Sage Weil [Wed, 22 Jul 2009 16:56:13 +0000 (09:56 -0700)]
crush: more cleanup

16 years agocrush: comments
Sage Weil [Wed, 22 Jul 2009 16:47:17 +0000 (09:47 -0700)]
crush: comments

16 years agokclient: osd_client cleanup
Sage Weil [Wed, 22 Jul 2009 00:46:07 +0000 (17:46 -0700)]
kclient: osd_client cleanup

16 years agomount.ceph: update /etc/mtab
Sage Weil [Tue, 21 Jul 2009 23:42:19 +0000 (16:42 -0700)]
mount.ceph: update /etc/mtab

16 years agokclient: mds_client cleanup
Sage Weil [Tue, 21 Jul 2009 23:16:25 +0000 (16:16 -0700)]
kclient: mds_client cleanup

16 years agokclient: fix dcache readdir -> sync readdir transition
Sage Weil [Tue, 21 Jul 2009 23:02:53 +0000 (16:02 -0700)]
kclient: fix dcache readdir -> sync readdir transition

We need to keep maintain the same state variables (namely,
fi->next_offset and fi->dentry) in a consistent fashion.  Use a
helper to keep track of the last name we _did_ see.

16 years agokclient: addr.c comment cleanup
Sage Weil [Tue, 21 Jul 2009 22:23:27 +0000 (15:23 -0700)]
kclient: addr.c comment cleanup

16 years agokclient: file.c cleanup
Sage Weil [Tue, 21 Jul 2009 21:43:20 +0000 (14:43 -0700)]
kclient: file.c cleanup

16 years agokclient: separate kmem_cache for ceph_file_info
Sage Weil [Tue, 21 Jul 2009 21:09:19 +0000 (14:09 -0700)]
kclient: separate kmem_cache for ceph_file_info

16 years agokclient: fix inc osdmap decoding
Sage Weil [Tue, 21 Jul 2009 21:04:49 +0000 (14:04 -0700)]
kclient: fix inc osdmap decoding

16 years agokclient: more dir.c cleanup
Sage Weil [Tue, 21 Jul 2009 17:15:59 +0000 (10:15 -0700)]
kclient: more dir.c cleanup

16 years agokclient: some dir.c cleanup
Sage Weil [Tue, 21 Jul 2009 16:53:33 +0000 (09:53 -0700)]
kclient: some dir.c cleanup

16 years agokclient: small inode cleanups
Sage Weil [Mon, 20 Jul 2009 23:17:53 +0000 (16:17 -0700)]
kclient: small inode cleanups

16 years agokclient: remove unneeded mdsmap request
Sage Weil [Mon, 20 Jul 2009 23:16:04 +0000 (16:16 -0700)]
kclient: remove unneeded mdsmap request

16 years agokclient: fix mdsmap decoding
Sage Weil [Mon, 20 Jul 2009 23:13:59 +0000 (16:13 -0700)]
kclient: fix mdsmap decoding

16 years agokclient: fix osdmap decoding
Sage Weil [Mon, 20 Jul 2009 23:03:45 +0000 (16:03 -0700)]
kclient: fix osdmap decoding

16 years agokclient: fix monmap decoding
Sage Weil [Mon, 20 Jul 2009 23:01:55 +0000 (16:01 -0700)]
kclient: fix monmap decoding

16 years agoCephBroker: Removed unneeded ++
Greg Farnum [Fri, 17 Jul 2009 22:23:22 +0000 (15:23 -0700)]
CephBroker: Removed unneeded ++

16 years agoosd: include version in ondisk osd metadata types
Sage Weil [Mon, 20 Jul 2009 20:46:22 +0000 (13:46 -0700)]
osd: include version in ondisk osd metadata types

rev ondisk format

16 years agomds: include version in ondisk metadata types
Sage Weil [Mon, 20 Jul 2009 20:45:02 +0000 (13:45 -0700)]
mds: include version in ondisk metadata types

rev ondisk format

16 years agomon: include version in monmap encoding
Sage Weil [Mon, 20 Jul 2009 20:39:55 +0000 (13:39 -0700)]
mon: include version in monmap encoding

16 years agoosd: include version in osdmap encoding
Sage Weil [Mon, 20 Jul 2009 20:38:18 +0000 (13:38 -0700)]
osd: include version in osdmap encoding

16 years agomds: include version in mdsmap encoding
Sage Weil [Mon, 20 Jul 2009 20:38:04 +0000 (13:38 -0700)]
mds: include version in mdsmap encoding

16 years agokclient: some super.c cleanup
Sage Weil [Mon, 20 Jul 2009 19:09:05 +0000 (12:09 -0700)]
kclient: some super.c cleanup

16 years agokclient: simplify wait for maps on mount
Sage Weil [Mon, 20 Jul 2009 19:04:19 +0000 (12:04 -0700)]
kclient: simplify wait for maps on mount

16 years agokclient: clean up parse_ips, mount option parsing
Sage Weil [Mon, 20 Jul 2009 18:56:55 +0000 (11:56 -0700)]
kclient: clean up parse_ips, mount option parsing

16 years agokclient: use kmem_cache for ceph_dentry_info
Sage Weil [Mon, 20 Jul 2009 18:37:27 +0000 (11:37 -0700)]
kclient: use kmem_cache for ceph_dentry_info

We have tons (one per dentry), so use a separate cache.

16 years agokclient: don't croak on null dev_name
Sage Weil [Mon, 20 Jul 2009 18:36:23 +0000 (11:36 -0700)]
kclient: don't croak on null dev_name

As currently caused by bad mount.ceph (mount -t ceph foo:bar mnt).

16 years agokclient: drop pr_fmt
Sage Weil [Mon, 20 Jul 2009 18:17:25 +0000 (11:17 -0700)]
kclient: drop pr_fmt

It doesn't build on older kernels, and all we want is varargs
checking anyway.

16 years agokclient: EBADF if there are no caps on an inode
Sage Weil [Mon, 20 Jul 2009 18:04:20 +0000 (11:04 -0700)]
kclient: EBADF if there are no caps on an inode

This will unwedge processes waiting on RD or WR when the mds
caps go away for some reason (like a partial or failed
reconnect).

16 years agomds: ignore stray reconnects
Sage Weil [Mon, 20 Jul 2009 17:58:53 +0000 (10:58 -0700)]
mds: ignore stray reconnects

Although maybe we should force open a session for these stray
clients?

16 years agomds: semi-tolerate/warn on bad client_ranges
Sage Weil [Mon, 20 Jul 2009 17:52:57 +0000 (10:52 -0700)]
mds: semi-tolerate/warn on bad client_ranges

16 years agomds: clean open file lists when we go active
Sage Weil [Mon, 20 Jul 2009 17:52:41 +0000 (10:52 -0700)]
mds: clean open file lists when we go active

Not after reconnect, because some caps have a delayed reconnect.
Add a start_active() stub to do this.

16 years agomds: adjust client_ranges on setattr size
Sage Weil [Mon, 20 Jul 2009 17:51:38 +0000 (10:51 -0700)]
mds: adjust client_ranges on setattr size

16 years agomds: always share min of projected, actual max_size
Sage Weil [Fri, 17 Jul 2009 22:18:53 +0000 (15:18 -0700)]
mds: always share min of projected, actual max_size

16 years agodebian: build git snapshot packages for unstable
Sage Weil [Mon, 20 Jul 2009 17:18:51 +0000 (10:18 -0700)]
debian: build git snapshot packages for unstable

16 years agodebian: build libcrush, librados, libceph packages
Sage Weil [Mon, 20 Jul 2009 17:05:05 +0000 (10:05 -0700)]
debian: build libcrush, librados, libceph packages

16 years agokclient: use kcalloc for decoded count * size allocations
Sage Weil [Sat, 18 Jul 2009 04:38:37 +0000 (21:38 -0700)]
kclient: use kcalloc for decoded count * size allocations

This includes a sanity check to ensure count * size doesn't wrap to a
small value.

16 years agoconfigure.ac: cleanup
Sage Weil [Thu, 16 Jul 2009 00:36:50 +0000 (17:36 -0700)]
configure.ac: cleanup

16 years agokclient: dout is a no-op without DEBUG or CONFIG_DYNAMIC_DEBUG
Sage Weil [Fri, 17 Jul 2009 21:39:50 +0000 (14:39 -0700)]
kclient: dout is a no-op without DEBUG or CONFIG_DYNAMIC_DEBUG

16 years agokclient: signoff in patch series
Sage Weil [Fri, 17 Jul 2009 21:20:18 +0000 (14:20 -0700)]
kclient: signoff in patch series

16 years agohypertable: few cleanups
Sage Weil [Fri, 17 Jul 2009 21:03:46 +0000 (14:03 -0700)]
hypertable: few cleanups

16 years agokclient: cleanup debugfs
Sage Weil [Fri, 17 Jul 2009 20:53:25 +0000 (13:53 -0700)]
kclient: cleanup debugfs

16 years agokclient: simplify dout. again.
Sage Weil [Fri, 17 Jul 2009 20:47:11 +0000 (13:47 -0700)]
kclient: simplify dout.  again.

16 years agokclient: simplify nfs export handles. untested.
Sage Weil [Fri, 17 Jul 2009 20:47:00 +0000 (13:47 -0700)]
kclient: simplify nfs export handles.  untested.

16 years agokclient: messenger cleanup
Sage Weil [Fri, 17 Jul 2009 20:11:18 +0000 (13:11 -0700)]
kclient: messenger cleanup

16 years agokclient: fix unaligned access in snap.c's dup_array
Sage Weil [Fri, 17 Jul 2009 20:01:52 +0000 (13:01 -0700)]
kclient: fix unaligned access in snap.c's dup_array

16 years agokclient: make dout's ceph_file_part NOT inline
Sage Weil [Fri, 17 Jul 2009 19:50:30 +0000 (12:50 -0700)]
kclient: make dout's ceph_file_part NOT inline

16 years agokclient: caps, mon_client cleanup
Sage Weil [Fri, 17 Jul 2009 19:50:12 +0000 (12:50 -0700)]
kclient: caps, mon_client cleanup

16 years agodebian: require libtool, but not libfcgi-dev.
Sage Weil [Fri, 17 Jul 2009 16:54:54 +0000 (09:54 -0700)]
debian: require libtool, but not libfcgi-dev.

16 years agokclient: fix monmap buffer overrun
Sage Weil [Thu, 16 Jul 2009 23:46:11 +0000 (16:46 -0700)]
kclient: fix monmap buffer overrun

Find num_mon before allocating monmap, so we get the right amount
of memory.

16 years agokclient: respond to control-c on slow mount
Sage Weil [Thu, 16 Jul 2009 23:44:07 +0000 (16:44 -0700)]
kclient: respond to control-c on slow mount

16 years agocrush: cleanup
Sage Weil [Thu, 16 Jul 2009 23:24:33 +0000 (16:24 -0700)]
crush: cleanup

16 years agokclient: clean up osdc
Sage Weil [Thu, 16 Jul 2009 23:07:49 +0000 (16:07 -0700)]
kclient: clean up osdc

16 years agokclient: cleanup addr, mdsc
Sage Weil [Thu, 16 Jul 2009 23:02:38 +0000 (16:02 -0700)]
kclient: cleanup addr, mdsc

16 years agokclient: file.c cleanup
Sage Weil [Thu, 16 Jul 2009 22:40:57 +0000 (15:40 -0700)]
kclient: file.c cleanup

16 years agokclient: dir.c cleanups
Sage Weil [Thu, 16 Jul 2009 21:52:36 +0000 (14:52 -0700)]
kclient: dir.c cleanups

16 years agokclient: inode.c cleanup
Sage Weil [Thu, 16 Jul 2009 21:39:37 +0000 (14:39 -0700)]
kclient: inode.c cleanup

16 years agokclient: super.c cleanup
Sage Weil [Thu, 16 Jul 2009 21:25:11 +0000 (14:25 -0700)]
kclient: super.c cleanup

16 years agokclient: use in4_pton to parse ipv4 addrs
Sage Weil [Thu, 16 Jul 2009 21:21:27 +0000 (14:21 -0700)]
kclient: use in4_pton to parse ipv4 addrs

16 years agokclient: misc cleanup
Sage Weil [Thu, 16 Jul 2009 21:13:09 +0000 (14:13 -0700)]
kclient: misc cleanup

16 years agokclient: in dout there may be no / in __FILE__
Sage Weil [Thu, 16 Jul 2009 20:48:57 +0000 (13:48 -0700)]
kclient: in dout there may be no / in __FILE__

16 years agoCephBroker: New version check-in.
Greg Farnum [Fri, 17 Jul 2009 18:16:30 +0000 (11:16 -0700)]
CephBroker: New version check-in.

16 years agouclient: Fix inode ref counting in rename.
Greg Farnum [Fri, 17 Jul 2009 18:10:53 +0000 (11:10 -0700)]
uclient: Fix inode ref counting in rename.

Change error outputting on Inode get/put, but commented out again.

16 years agoClient: removed extra debugging calls, fixed fencepost error
Greg Farnum [Wed, 15 Jul 2009 21:29:20 +0000 (14:29 -0700)]
Client: removed extra debugging calls, fixed fencepost error

Broker: changed debugging levels

16 years agoHypertable: Fixed up error reporting.
Greg Farnum [Wed, 15 Jul 2009 18:03:51 +0000 (11:03 -0700)]
Hypertable: Fixed up error reporting.

16 years agoClient: mkdirs; move test logic into a loop.
Greg Farnum [Wed, 15 Jul 2009 18:03:31 +0000 (11:03 -0700)]
Client: mkdirs; move test logic into a loop.

16 years agoClient: Rewrote mkdirs to avoid possible race condition.
Greg Farnum [Tue, 14 Jul 2009 21:07:45 +0000 (14:07 -0700)]
Client: Rewrote mkdirs to avoid possible race condition.

And added _ to some _mkdir debugging output.

16 years agolibceph: Added calls for lstat and mkdirs.
Greg Farnum [Tue, 14 Jul 2009 20:03:04 +0000 (13:03 -0700)]
libceph: Added calls for lstat and mkdirs.

16 years agoHypertable: numerous fixes.
Greg Farnum [Tue, 14 Jul 2009 20:02:18 +0000 (13:02 -0700)]
Hypertable: numerous fixes.

16 years agoclient: new mkdirs command, and debugging output.
Greg Farnum [Tue, 14 Jul 2009 20:01:08 +0000 (13:01 -0700)]
client: new mkdirs command, and debugging output.

Will create a all necessary directories for a filepath, not just the last one.

16 years agofilepath: constructor works correctly on relative filename.
Greg Farnum [Tue, 14 Jul 2009 19:59:09 +0000 (12:59 -0700)]
filepath: constructor works correctly on relative filename.

16 years agokclient: make dout() behave despite file prefix, cleanup
Sage Weil [Thu, 16 Jul 2009 20:39:48 +0000 (13:39 -0700)]
kclient: make dout() behave despite file prefix, cleanup

16 years agokclient: make debug output look nicer
Sage Weil [Thu, 16 Jul 2009 20:28:10 +0000 (13:28 -0700)]
kclient: make debug output look nicer

[ 1445    53.090000] ceph:      inode.c:1528 : do_getattr inode 000000006ccd0ff8 mask As
[ 1445    53.090000] ceph:       caps.c:657  : __ceph_caps_issued_mask 000000006ccd0ff8 cap 000000006cc9f898 issued pAsxLsXsxFsx (mask As)

16 years agokclient: replace dout hackery with pr_debug
Sage Weil [Thu, 16 Jul 2009 19:42:17 +0000 (12:42 -0700)]
kclient: replace dout hackery with pr_debug

16 years agokclient: kill dout(0, ...) calls
Sage Weil [Thu, 16 Jul 2009 18:18:50 +0000 (11:18 -0700)]
kclient: kill dout(0, ...) calls

16 years agokclient: kill derr, use pr_err instead
Sage Weil [Thu, 16 Jul 2009 18:12:52 +0000 (11:12 -0700)]
kclient: kill derr, use pr_err instead

16 years agokclient: specify file max size in mdsmap
Sage Weil [Thu, 16 Jul 2009 18:09:54 +0000 (11:09 -0700)]
kclient: specify file max size in mdsmap

16 years agokclient: __attribute__ ((packed)) all around
Sage Weil [Thu, 16 Jul 2009 16:59:10 +0000 (09:59 -0700)]
kclient: __attribute__ ((packed)) all around

16 years agov0.10 v0.10
Sage Weil [Wed, 15 Jul 2009 20:33:30 +0000 (13:33 -0700)]
v0.10

16 years agoMakefile: fix up initscript packaging
Sage Weil [Wed, 15 Jul 2009 21:07:04 +0000 (14:07 -0700)]
Makefile: fix up initscript packaging

16 years agoinitscripts: /etc, not /usr/etc
Sage Weil [Wed, 15 Jul 2009 21:06:39 +0000 (14:06 -0700)]
initscripts: /etc, not /usr/etc

16 years agokclient: kill debug msg
Sage Weil [Wed, 15 Jul 2009 19:19:18 +0000 (12:19 -0700)]
kclient: kill debug msg

16 years agokclient: fix up patchset comments, docs
Sage Weil [Wed, 15 Jul 2009 19:06:12 +0000 (12:06 -0700)]
kclient: fix up patchset comments, docs

16 years agomds: adjust client reconnect timeout
Sage Weil [Wed, 15 Jul 2009 18:50:48 +0000 (11:50 -0700)]
mds: adjust client reconnect timeout

16 years agomsgr: use SIGUSR2 for pipe kills, USR1 for accepter kills
Sage Weil [Tue, 14 Jul 2009 23:33:55 +0000 (16:33 -0700)]
msgr: use SIGUSR2 for pipe kills, USR1 for accepter kills

Otherwise our pthread sigmask change for accepter pselect() call
can block signals sent to kill pipe threads, and we get hangs on
msgr shutdown.

16 years agokclient: whitespace
Sage Weil [Tue, 14 Jul 2009 21:06:09 +0000 (14:06 -0700)]
kclient: whitespace

16 years agokclient: some comment cleanup
Sage Weil [Tue, 14 Jul 2009 21:04:35 +0000 (14:04 -0700)]
kclient: some comment cleanup

16 years agomds: eval locks too in reissue_all_caps after mds restart
Sage Weil [Tue, 14 Jul 2009 20:46:58 +0000 (13:46 -0700)]
mds: eval locks too in reissue_all_caps after mds restart

We may have correct wanted, issued info for the clients, but that
doesn't help us if we don't use it.

16 years agomds: reset seq on mds after reconnect, too
Sage Weil [Tue, 14 Jul 2009 20:46:10 +0000 (13:46 -0700)]
mds: reset seq on mds after reconnect, too

We were setting it to 1 (due to the issue_norevoke() call), but the
client is resetting to 0, so do the same here.  (Otherwise
subsequent client cap messages may get ignored.)

16 years agomds: flush log during clientreplay
Sage Weil [Tue, 14 Jul 2009 20:27:14 +0000 (13:27 -0700)]
mds: flush log during clientreplay

16 years agomds: fix max_size calculation
Sage Weil [Tue, 14 Jul 2009 20:18:04 +0000 (13:18 -0700)]
mds: fix max_size calculation

We want to ROUND_UP_TO from (size+1)<<1, otherwise size=0 gives us
a max_size of 0 (no good!).