]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoosd: make pgids sort on (pool, preferred, ps)
Sage Weil [Sun, 8 Nov 2009 05:06:27 +0000 (21:06 -0800)]
osd: make pgids sort on (pool, preferred, ps)

This makes pg dump output easier to read, mainly.

15 years agocrushtool: small fix
Sage Weil [Sun, 8 Nov 2009 05:05:32 +0000 (21:05 -0800)]
crushtool: small fix

15 years agoRevert "crush: use spirit classic headers"
Sage Weil [Sun, 8 Nov 2009 04:49:37 +0000 (20:49 -0800)]
Revert "crush: use spirit classic headers"

This reverts commit 28ac4441b87907713ddaf1fe1dee62350f947cf3.

15 years agohash: small cleanup
Sage Weil [Sat, 7 Nov 2009 23:27:08 +0000 (15:27 -0800)]
hash: small cleanup

15 years agocrush: hrm fix up builder too
Sage Weil [Sun, 8 Nov 2009 04:12:21 +0000 (20:12 -0800)]
crush: hrm fix up builder too

fix

15 years agocrush: use spirit classic headers
Sage Weil [Sun, 8 Nov 2009 03:59:42 +0000 (19:59 -0800)]
crush: use spirit classic headers

This makes the 'deprecated' warnings go away.

15 years agocrush: make hash function selectable
Sage Weil [Sun, 8 Nov 2009 03:59:05 +0000 (19:59 -0800)]
crush: make hash function selectable

15 years agoosd: make object hash a pg_pool parameter
Sage Weil [Sat, 7 Nov 2009 05:36:43 +0000 (21:36 -0800)]
osd: make object hash a pg_pool parameter

15 years agoosdmaptool: test-map-object
Sage Weil [Sat, 7 Nov 2009 00:48:38 +0000 (16:48 -0800)]
osdmaptool: test-map-object

15 years agoosd: use stronger hash function for mapping objects -> pgs
Sage Weil [Sat, 7 Nov 2009 00:43:47 +0000 (16:43 -0800)]
osd: use stronger hash function for mapping objects -> pgs

The old hash (from linux dcache) was very weak, such that
least sig bits may not change and you could get lots of
consecutive objects on the same osds (because lsbits of the
pg weren't changing).

This is Robert Jenkin's hash and is quite strong.  Public
domain.

Rev osd disk format, protocol, since we're totally changing
object placement here.

15 years agocrush: no more static inline
Sage Weil [Fri, 6 Nov 2009 23:37:01 +0000 (15:37 -0800)]
crush: no more static inline

15 years agoosd: This logic is slightly less confusing without the always-true 'full' param
Greg Farnum [Fri, 6 Nov 2009 23:27:23 +0000 (15:27 -0800)]
osd: This logic is slightly less confusing without the always-true 'full' param

15 years agomon: don't delete stats when sending osdmap incremental
Sage Weil [Fri, 6 Nov 2009 21:54:53 +0000 (13:54 -0800)]
mon: don't delete stats when sending osdmap incremental

send_latest will delete m, and/or wait.  Instead call send_incremental
directly only when we know paxos is_readable.

15 years agoqa: test subdir mounts
Sage Weil [Fri, 6 Nov 2009 20:12:24 +0000 (12:12 -0800)]
qa: test subdir mounts

15 years agoinit-ceph: tell user we're mounting btrfs
Sage Weil [Fri, 6 Nov 2009 06:22:27 +0000 (22:22 -0800)]
init-ceph: tell user we're mounting btrfs

15 years agoosd: send single osd_boot on startup
Sage Weil [Fri, 6 Nov 2009 21:36:32 +0000 (13:36 -0800)]
osd: send single osd_boot on startup

15 years agomon: don't log dup osd boot msgs
Sage Weil [Fri, 6 Nov 2009 21:36:25 +0000 (13:36 -0800)]
mon: don't log dup osd boot msgs

15 years agomsgr: leave off ss_family when printing
Sage Weil [Fri, 6 Nov 2009 21:35:08 +0000 (13:35 -0800)]
msgr: leave off ss_family when printing

15 years agotodo
Sage Weil [Fri, 6 Nov 2009 06:21:22 +0000 (22:21 -0800)]
todo

15 years agoppc: do not copy_in unencoded __u32
Sage Weil [Fri, 6 Nov 2009 21:09:58 +0000 (13:09 -0800)]
ppc: do not copy_in unencoded __u32

Fixes big endian bugs.

15 years agobuffer: only define _XOPEN_SOURCE ifndef
Sage Weil [Fri, 6 Nov 2009 21:09:26 +0000 (13:09 -0800)]
buffer: only define _XOPEN_SOURCE ifndef

15 years agotodo
Sage Weil [Fri, 6 Nov 2009 07:03:59 +0000 (23:03 -0800)]
todo

15 years agomon: make initial monmap epoch match paxos version
Sage Weil [Fri, 6 Nov 2009 06:25:30 +0000 (22:25 -0800)]
mon: make initial monmap epoch match paxos version

15 years agomkmonfs: use common_init and parse regular args
Sage Weil [Fri, 6 Nov 2009 06:24:19 +0000 (22:24 -0800)]
mkmonfs: use common_init and parse regular args

15 years agodon't forget -standalone.git in release checklist
Sage Weil [Fri, 6 Nov 2009 05:53:15 +0000 (21:53 -0800)]
don't forget -standalone.git in release checklist

15 years agouclient: set NAME_MAX = PAGE_SIZE
Greg Farnum [Wed, 4 Nov 2009 00:43:53 +0000 (16:43 -0800)]
uclient: set NAME_MAX = PAGE_SIZE

15 years agoHadoop: Update JavaDoc and put in new patch file
Greg Farnum [Thu, 5 Nov 2009 20:58:29 +0000 (12:58 -0800)]
Hadoop: Update JavaDoc and put in new patch file

15 years agoHadoop: Numerous fixes.
Greg Farnum [Wed, 4 Nov 2009 22:14:41 +0000 (14:14 -0800)]
Hadoop: Numerous fixes.
Set bufUsed=0 on a flush to avoid bad rewrites of data
Downgrade a warning in IOStream since Hadoop apparently checks for EOF by reading until a read returns -1.
Remove some leftover if checks that don't do anything.
TODO: Remove something Sage did already.

15 years agomount: fix hint initialization for getaddrinfo
Yehuda Sadeh [Thu, 5 Nov 2009 18:00:19 +0000 (10:00 -0800)]
mount: fix hint initialization for getaddrinfo

15 years agofilestore: oops less noisy
Sage Weil [Thu, 5 Nov 2009 05:43:47 +0000 (21:43 -0800)]
filestore: oops less noisy

15 years agoosdmap: fix pps calc for preferred pgs
Sage Weil [Thu, 5 Nov 2009 00:21:20 +0000 (16:21 -0800)]
osdmap: fix pps calc for preferred pgs

15 years agoosd: nicer debug output on misdirected requests
Sage Weil [Thu, 5 Nov 2009 00:09:32 +0000 (16:09 -0800)]
osd: nicer debug output on misdirected requests

15 years agomds: mark scatterlocks with dirty rstat/fragstat during replay
Sage Weil [Wed, 4 Nov 2009 23:22:54 +0000 (15:22 -0800)]
mds: mark scatterlocks with dirty rstat/fragstat during replay

This ensures we propagate this info back toward the root
after we've replayed and gone active.

15 years agomds: use fnode when replaying journal
Sage Weil [Wed, 4 Nov 2009 23:22:11 +0000 (15:22 -0800)]
mds: use fnode when replaying journal

We weren't actually pulling the fnode from the journal. I'm
surprised anything worked.

This fixes a crash when untaring, restarting mds, and then
rm -r'ing the dir.  Previously the rstat would roll
negative and assert.

15 years agodebian: gracefully replace lib packages prior to '1' suffix
Sage Weil [Wed, 4 Nov 2009 21:27:06 +0000 (13:27 -0800)]
debian: gracefully replace lib packages prior to '1' suffix

15 years agoosd: kill int <-> pg_t conversions
Sage Weil [Wed, 4 Nov 2009 20:24:39 +0000 (12:24 -0800)]
osd: kill int <-> pg_t conversions

These are messy and asking for trouble.  And a cleaner
coll_t paves the way for real named coll_t's down the
line.

15 years agoosd: convert ceph_pg union to struct
Sage Weil [Wed, 4 Nov 2009 19:37:41 +0000 (11:37 -0800)]
osd: convert ceph_pg union to struct

This simplifies/fixes endian conversions.

15 years agomsgr: encode sockaddr.ss_family big endian in ceph_entity_addr
Sage Weil [Tue, 3 Nov 2009 23:15:22 +0000 (15:15 -0800)]
msgr: encode sockaddr.ss_family big endian in ceph_entity_addr

The ss_family field is normally host endianness, but we
want to exchange ceph_entity_addr across the wire and store
it on disk.  So, encode ss_family in big endian (to match
the other sockaddr field endianness).

Rev disk and wire protocols to match.

15 years agofilestore: close btrfs transactions cleanly
Sage Weil [Tue, 3 Nov 2009 20:31:40 +0000 (12:31 -0800)]
filestore: close btrfs transactions cleanly

Don't just close the fd.  We may add a mount option that makes a messy
transaction close wedge the fs instead of committing partial results.

15 years agodefault pid file /var/run/ceph/$type.$id.pid
Sage Weil [Tue, 27 Oct 2009 15:39:02 +0000 (08:39 -0700)]
default pid file /var/run/ceph/$type.$id.pid

15 years agoHadoop: Don't use the local pg by default.
Greg Farnum [Tue, 3 Nov 2009 00:37:38 +0000 (16:37 -0800)]
Hadoop: Don't use the local pg by default.

15 years agoNow passes all unit tests!
Greg Farnum [Mon, 2 Nov 2009 04:18:29 +0000 (20:18 -0800)]
Now passes all unit tests!
Changes made to rename and between error codes/exception throwing.

15 years agoHadoop: Don't throw IOExceptions on extra calls to close
Greg Farnum [Sat, 31 Oct 2009 01:39:48 +0000 (18:39 -0700)]
Hadoop: Don't throw IOExceptions on extra calls to close

15 years agoHadoop: f5 e3
Greg Farnum [Fri, 30 Oct 2009 22:37:06 +0000 (15:37 -0700)]
Hadoop: f5 e3

15 years agoHadoop: Behavioral fixes to CephFileSystem
Greg Farnum [Fri, 30 Oct 2009 20:53:54 +0000 (13:53 -0700)]
Hadoop: Behavioral fixes to CephFileSystem

15 years agoHadoop: Various changes to CephFaker; not completed.
Greg Farnum [Fri, 30 Oct 2009 20:50:30 +0000 (13:50 -0700)]
Hadoop: Various changes to CephFaker; not completed.

15 years agoHadooP: CephFaker now properly sanitizes input filenames.
Greg Farnum [Thu, 29 Oct 2009 22:06:12 +0000 (15:06 -0700)]
HadooP: CephFaker now properly sanitizes input filenames.

15 years agoHadoop: Update constructor/initialize usage a bit
Greg Farnum [Thu, 29 Oct 2009 01:36:22 +0000 (18:36 -0700)]
Hadoop: Update constructor/initialize usage a bit

15 years agoSimplify CephInputStream so that it actually works
Greg Farnum [Wed, 28 Oct 2009 21:04:58 +0000 (14:04 -0700)]
Simplify CephInputStream so that it actually works

15 years agoHadoop: Simplify CephOutputStream so that it actually works.
Greg Farnum [Tue, 27 Oct 2009 20:57:29 +0000 (13:57 -0700)]
Hadoop: Simplify CephOutputStream so that it actually works.

15 years agoHadoop: Reorder a few things for better safety and fix compile bugs
Greg Farnum [Tue, 27 Oct 2009 20:02:30 +0000 (13:02 -0700)]
Hadoop: Reorder a few things for better safety and fix compile bugs

15 years agocrush: always return a value from crush_bucket_choose
Sage Weil [Mon, 2 Nov 2009 01:51:51 +0000 (17:51 -0800)]
crush: always return a value from crush_bucket_choose

15 years agotodo
Sage Weil [Thu, 29 Oct 2009 23:24:40 +0000 (16:24 -0700)]
todo

15 years agotodo
Sage Weil [Wed, 28 Oct 2009 22:32:07 +0000 (15:32 -0700)]
todo

15 years agoMakefile: fix lib dependencies
Sage Weil [Wed, 28 Oct 2009 22:31:50 +0000 (15:31 -0700)]
Makefile: fix lib dependencies

libceph and librados should link libcrush.  Users of
libceph|librados need not link libcrush.

15 years agomakefile: don't link libm and libpthread with crush
Sage Weil [Wed, 28 Oct 2009 21:47:08 +0000 (14:47 -0700)]
makefile: don't link libm and libpthread with crush

15 years agodebian: fix copyright to avoid lintian check
Sage Weil [Wed, 28 Oct 2009 21:05:27 +0000 (14:05 -0700)]
debian: fix copyright to avoid lintian check

possible-gpl-code-linked-with-openssl

15 years agodebian: fix -dbg packages
Sage Weil [Wed, 28 Oct 2009 20:16:34 +0000 (13:16 -0700)]
debian: fix -dbg packages

15 years agodebian: warn on no args to build script
Sage Weil [Wed, 28 Oct 2009 19:13:48 +0000 (12:13 -0700)]
debian: warn on no args to build script

15 years agoradosgw: fix man page names, include in package
Sage Weil [Wed, 28 Oct 2009 19:08:54 +0000 (12:08 -0700)]
radosgw: fix man page names, include in package

15 years agodebian: strip, put debug binaries in usr/lib/debug
Sage Weil [Wed, 28 Oct 2009 18:56:55 +0000 (11:56 -0700)]
debian: strip, put debug binaries in usr/lib/debug

15 years agorgw: man page for rgw_admin
Yehuda Sadeh [Wed, 28 Oct 2009 18:51:46 +0000 (11:51 -0700)]
rgw: man page for rgw_admin

15 years agorgw: radosgw man page continued
Yehuda Sadeh [Wed, 28 Oct 2009 18:16:17 +0000 (11:16 -0700)]
rgw: radosgw man page continued

15 years agoradosgw: rename binaries rgw -> radosgw
Sage Weil [Wed, 28 Oct 2009 18:06:36 +0000 (11:06 -0700)]
radosgw: rename binaries rgw -> radosgw

15 years agodebian: remove rgw_aclparser from package
Sage Weil [Wed, 28 Oct 2009 18:03:11 +0000 (11:03 -0700)]
debian: remove rgw_aclparser from package

It's a unit test

15 years agorgw: initial man page
Sage Weil [Wed, 28 Oct 2009 17:54:01 +0000 (10:54 -0700)]
rgw: initial man page

15 years agodebian: override openssl warning on radosgw
Sage Weil [Wed, 28 Oct 2009 17:48:39 +0000 (10:48 -0700)]
debian: override openssl warning on radosgw

15 years agodebian: update package descriptions, sections
Sage Weil [Wed, 28 Oct 2009 17:37:19 +0000 (10:37 -0700)]
debian: update package descriptions, sections

15 years agodebian: make lib package versions match SONAMES
Sage Weil [Wed, 28 Oct 2009 17:26:35 +0000 (10:26 -0700)]
debian: make lib package versions match SONAMES

15 years agoMakefile: make all lib versions 1:0:0, fix libcrush
Sage Weil [Wed, 28 Oct 2009 17:13:52 +0000 (10:13 -0700)]
Makefile: make all lib versions 1:0:0, fix libcrush

15 years agodebian: some lintian fixes
Sage Weil [Wed, 28 Oct 2009 17:10:52 +0000 (10:10 -0700)]
debian: some lintian fixes

Note that I'm moving some library SONAME version backwards!
Otherwise we'd have to rename libceph to libceph1, etc.  And
that's lame.

15 years agomount.ceph: only return INET addr when doing lookup
Sage Weil [Tue, 27 Oct 2009 18:46:38 +0000 (11:46 -0700)]
mount.ceph: only return INET addr when doing lookup

15 years agomon: Move full OSD test logic around
Greg Farnum [Mon, 26 Oct 2009 22:18:33 +0000 (15:18 -0700)]
mon: Move full OSD test logic around

15 years agoObjecter: subscribe to OSDMap updates when paused or full
Greg Farnum [Sat, 24 Oct 2009 00:20:27 +0000 (17:20 -0700)]
Objecter: subscribe to OSDMap updates when paused or full

15 years agomon: Fix bug that would make OSDMon over-excited about pushing new maps
Greg Farnum [Fri, 23 Oct 2009 23:42:34 +0000 (16:42 -0700)]
mon: Fix bug that would make OSDMon over-excited about pushing new maps

15 years agomon: Fix an if so that PGMon doesn't send some reads on to leader
Greg Farnum [Fri, 23 Oct 2009 17:59:58 +0000 (10:59 -0700)]
mon: Fix an if so that PGMon doesn't send some reads on to leader

15 years agomon: Move fullness checks into OSDMonitor where they belong
Greg Farnum [Fri, 23 Oct 2009 00:15:20 +0000 (17:15 -0700)]
mon: Move fullness checks into OSDMonitor where they belong

15 years agomon: On every incoming MPGStats, check for a full/near-full OSD and mark map if needed.
Greg Farnum [Thu, 22 Oct 2009 05:48:12 +0000 (22:48 -0700)]
mon: On every incoming MPGStats, check for a full/near-full OSD and mark map if needed.

15 years agouclient: Return ENOSPC if osdmap is marked full
Greg Farnum [Wed, 21 Oct 2009 23:53:09 +0000 (16:53 -0700)]
uclient: Return ENOSPC if osdmap is marked full

15 years agoHadoop: Add buffering to CephIOStreams
Greg Farnum [Wed, 21 Oct 2009 23:56:29 +0000 (16:56 -0700)]
Hadoop: Add buffering to CephIOStreams

15 years agoHadoop: Add preliminary TestCeph code. It fails a lot.
Greg Farnum [Tue, 20 Oct 2009 23:08:26 +0000 (16:08 -0700)]
Hadoop: Add preliminary TestCeph code. It fails a lot.

15 years agoHadoop: Add the CephFaker source.
Greg Farnum [Mon, 19 Oct 2009 20:54:45 +0000 (13:54 -0700)]
Hadoop: Add the CephFaker source.

15 years agohadoop: minor cleanup edits
Greg Farnum [Thu, 22 Oct 2009 20:58:01 +0000 (13:58 -0700)]
hadoop: minor cleanup edits

15 years agotodo
Sage Weil [Thu, 22 Oct 2009 17:56:23 +0000 (10:56 -0700)]
todo

15 years agomount: include all A/AAAA records when resolving host name
Sage Weil [Thu, 22 Oct 2009 17:46:32 +0000 (10:46 -0700)]
mount: include all A/AAAA records when resolving host name

15 years agoqa: add dbench
Sage Weil [Mon, 19 Oct 2009 21:13:17 +0000 (14:13 -0700)]
qa: add dbench

15 years agoosd: assert apply_transaction success
Sage Weil [Tue, 20 Oct 2009 20:13:40 +0000 (13:13 -0700)]
osd: assert apply_transaction success

For now, let's just assert success.

15 years agotodos
Sage Weil [Tue, 20 Oct 2009 18:59:15 +0000 (11:59 -0700)]
todos

15 years agov0.17 v0.17
Sage Weil [Mon, 19 Oct 2009 22:19:51 +0000 (15:19 -0700)]
v0.17

15 years agodebian: don't try to sign packages; it fails anyway
Sage Weil [Mon, 19 Oct 2009 20:03:03 +0000 (13:03 -0700)]
debian: don't try to sign packages; it fails anyway

15 years agomon: log each client mount
Sage Weil [Mon, 19 Oct 2009 19:13:57 +0000 (12:13 -0700)]
mon: log each client mount

15 years agoRevert "msgr: be a bit more verbose during shutdown"
Sage Weil [Mon, 19 Oct 2009 19:02:22 +0000 (12:02 -0700)]
Revert "msgr: be a bit more verbose during shutdown"

This reverts commit 4fe2e6acb9d3613ca041774c1243940d1c8c9c9c.

Conflicts:

src/msg/SimpleMessenger.cc

15 years agoosd: mix preferred osd into placement seed
Sage Weil [Mon, 19 Oct 2009 18:40:27 +0000 (11:40 -0700)]
osd: mix preferred osd into placement seed

This avoids getting the same peer for all 0.0p* pgs, for
example.

Rev osdc protocol.

15 years agoobjecter: call renew_subs when appropriate
Sage Weil [Mon, 19 Oct 2009 18:36:58 +0000 (11:36 -0700)]
objecter: call renew_subs when appropriate

Otherwise our sub_want call doesn't nothing until the
next subscription renewal goes out

15 years agoosd: call renew_subs when appropriate
Sage Weil [Mon, 19 Oct 2009 18:36:37 +0000 (11:36 -0700)]
osd: call renew_subs when appropriate

Otherwise our sub_want calls do nothing useful until the
next subscription renewal goes out.

15 years agovstart: build osdmap of correct size
Sage Weil [Mon, 19 Oct 2009 18:26:28 +0000 (11:26 -0700)]
vstart: build osdmap of correct size

15 years agoosd: fix pgid parsing
Sage Weil [Mon, 19 Oct 2009 18:17:26 +0000 (11:17 -0700)]
osd: fix pgid parsing

The preferred osd is in decimal, not hex.

15 years agomonc: cleanup stray sub_want()
Sage Weil [Fri, 16 Oct 2009 23:41:04 +0000 (16:41 -0700)]
monc: cleanup stray sub_want()

15 years agomon: semireliable message push from mon to mon clients
Sage Weil [Fri, 16 Oct 2009 23:38:44 +0000 (16:38 -0700)]
mon: semireliable message push from mon to mon clients

Used for OSD scrub, inject args.

15 years agoqa: add pjd test; change default monhost to cosd0
Sage Weil [Fri, 16 Oct 2009 20:30:31 +0000 (13:30 -0700)]
qa: add pjd test; change default monhost to cosd0