]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agofilestore: improve lseek64 error checking, and use buffer::list::write_fd()
Sage Weil [Thu, 8 Jul 2010 17:14:23 +0000 (10:14 -0700)]
filestore: improve lseek64 error checking, and use buffer::list::write_fd()

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agobuffer: make write_fd() const
Sage Weil [Thu, 8 Jul 2010 17:09:21 +0000 (10:09 -0700)]
buffer: make write_fd() const

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomount.ceph: handle ipv6 addrs, colons, braces
Sage Weil [Thu, 8 Jul 2010 16:49:50 +0000 (09:49 -0700)]
mount.ceph: handle ipv6 addrs, colons, braces

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec: require libedit
Sage Weil [Thu, 8 Jul 2010 15:38:54 +0000 (08:38 -0700)]
ceph.spec: require libedit

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: require binutils
Sage Weil [Thu, 8 Jul 2010 15:36:46 +0000 (08:36 -0700)]
ceph.spec.in: require binutils

cclass needs /usr/bin/nm

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: require binutils
Sage Weil [Thu, 8 Jul 2010 15:33:40 +0000 (08:33 -0700)]
debian: require binutils

cclass needs 'nm' to extract symbols from rados classes.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: explicit postinst/postrm for shlibs
Sage Weil [Wed, 7 Jul 2010 23:43:44 +0000 (16:43 -0700)]
debian: explicit postinst/postrm for shlibs

The dh_shlibdeps sees the .so in 'ceph' and incorrectly adds ldconfig to
postinst and postrm.  Which is useless and upsets lintian.  So do our
postinst/postrm magic explicitly.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: fix export
Sage Weil [Wed, 7 Jul 2010 23:34:27 +0000 (16:34 -0700)]
rbdtool: fix export

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: create new pools using rjenkins hash
Sage Weil [Wed, 7 Jul 2010 23:02:58 +0000 (16:02 -0700)]
mon: create new pools using rjenkins hash

Otherwise they get -1, which always maps to an invalid (-1) pgid.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: should support files larger than 2GB
Yehuda Sadeh [Wed, 7 Jul 2010 23:55:07 +0000 (16:55 -0700)]
rbdtool: should support files larger than 2GB

15 years agodebian: _do_ strip cosd
Sage Weil [Wed, 7 Jul 2010 22:49:29 +0000 (15:49 -0700)]
debian: _do_ strip cosd

15 years agoclass: make class tmp directory configurable, not /tmp
Sage Weil [Wed, 7 Jul 2010 22:04:33 +0000 (15:04 -0700)]
class: make class tmp directory configurable, not /tmp

/tmp usually gets mounted with 'noexec', making it a poor choice.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agologger: shut up
Sage Weil [Wed, 7 Jul 2010 21:41:15 +0000 (14:41 -0700)]
logger: shut up

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoconfig: can use '-' as a config option
Yehuda Sadeh [Wed, 7 Jul 2010 21:59:44 +0000 (14:59 -0700)]
config: can use '-' as a config option

15 years agomsgr: remove fake orig_source_addr fakery
Sage Weil [Wed, 7 Jul 2010 21:33:33 +0000 (14:33 -0700)]
msgr: remove fake orig_source_addr fakery

This makes get_orig_*() match get_*().

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: fix message forwarding to use Connection to fake source addr
Sage Weil [Wed, 7 Jul 2010 21:32:48 +0000 (14:32 -0700)]
mon: fix message forwarding to use Connection to fake source addr

This make get_source_addr() work (not just get_orig_source_addr()).

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: do not strip cosd
Sage Weil [Wed, 7 Jul 2010 17:23:56 +0000 (10:23 -0700)]
debian: do not strip cosd

15 years agoclasshandler: print error when dlopen fails
Sage Weil [Wed, 7 Jul 2010 17:24:05 +0000 (10:24 -0700)]
classhandler: print error when dlopen fails

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph: drop version from ceph_fs.h, use autoconf VERSION macro instead
Sage Weil [Wed, 7 Jul 2010 15:24:13 +0000 (08:24 -0700)]
ceph: drop version from ceph_fs.h, use autoconf VERSION macro instead

There's no reason to define this in the code anymore.  Since the kernel
side doesn't use it it just confuses matters.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoshell script fixes
Fred Ar [Wed, 7 Jul 2010 14:47:57 +0000 (07:47 -0700)]
shell script fixes

15 years agomds: fix logger init on startup, rank symlink creation
Sage Weil [Wed, 7 Jul 2010 14:38:55 +0000 (07:38 -0700)]
mds: fix logger init on startup, rank symlink creation

Busted by 83d1ea6636dd432dcbb6a0c6046d551bee7be5c6.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: do not strip rados classes
Sage Weil [Tue, 6 Jul 2010 23:47:36 +0000 (16:47 -0700)]
debian: do not strip rados classes

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: add postinst, postrm for ceph package
Sage Weil [Tue, 6 Jul 2010 23:40:44 +0000 (16:40 -0700)]
debian: add postinst, postrm for ceph package

This will keep debain from using the default, which thinks it needs to run
ldconfig.  Which it doesn't.

15 years agoMakefile: cleanup
Sage Weil [Tue, 6 Jul 2010 23:20:07 +0000 (16:20 -0700)]
Makefile: cleanup

15 years agodebian: put rbd classes in ceph, not librados1 package
Sage Weil [Tue, 6 Jul 2010 23:13:44 +0000 (16:13 -0700)]
debian: put rbd classes in ceph, not librados1 package

The cluster classes are a server-side thing, not client lib thing.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: consolidate osd stats in _refresh_my_stats
Sage Weil [Tue, 6 Jul 2010 23:08:47 +0000 (16:08 -0700)]
osd: consolidate osd stats in _refresh_my_stats

Also keep local copy of osd_stat (send with pg stats update to monitor).

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: include rados-classes
Sage Weil [Tue, 6 Jul 2010 23:05:43 +0000 (16:05 -0700)]
debian: include rados-classes

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agocclass: $libdir/rados-classes
Sage Weil [Tue, 6 Jul 2010 22:56:11 +0000 (15:56 -0700)]
cclass: $libdir/rados-classes

15 years agologger: huge rewrite, cleanup
Sage Weil [Wed, 7 Jul 2010 04:12:33 +0000 (21:12 -0700)]
logger: huge rewrite, cleanup

- name *.log
- name after name, not rank
- reopen on sighup
- remove pointer on shutdown
- clean up interface
- implement reset (truncate/reopen file)
- rotate logs

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoauth: rename supported_auth -> auth_supported
Sage Weil [Mon, 5 Jul 2010 23:23:42 +0000 (16:23 -0700)]
auth: rename supported_auth -> auth_supported

It should be 'auth supported' for naming consistency.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: handle_client_session now careful opening mds sessions while unmounting
Greg Farnum [Tue, 6 Jul 2010 22:12:06 +0000 (15:12 -0700)]
client: handle_client_session now careful opening mds sessions while unmounting

15 years agoclient: put MDSSession pointers in the msd_session map, rather than the sessions...
Greg Farnum [Tue, 6 Jul 2010 20:44:38 +0000 (13:44 -0700)]
client: put MDSSession pointers in the msd_session map, rather than the sessions themselves.
This is a bit cleaner and clears the way to make it more closely mimic the kernel.

15 years agopaxos: send summary if observer has fallen behind first_committed
Sage Weil [Mon, 5 Jul 2010 17:27:11 +0000 (10:27 -0700)]
paxos: send summary if observer has fallen behind first_committed

This avoids a ceph crash like

mon/PGMap.h: In function 'void PGMap::apply_incremental(PGMap::Incremental&)':
mon/PGMap.h:77: FAILED assert(inc.version == version+1)
 1: (PGMap::apply_incremental(PGMap::Incremental&)+0x50) [0x5a5f22]
 2: (handle_notify(MMonObserveNotify*)+0x2c7) [0x567c53]
 3: (Admin::ms_dispatch(Message*)+0x52) [0x5aa042]
 4: (Messenger::ms_deliver_dispatch(Message*)+0x55) [0x5be389]
 5: (SimpleMessenger::dispatch_entry()+0x50f) [0x5ad3fb]
 6: (SimpleMessenger::DispatchThread::entry()+0x29) [0x597323]
 7: (Thread::_entry_func(void*)+0x20) [0x5b91c8]
 8: /lib/libpthread.so.0 [0x7f31185fd73a]
 9: (clone()+0x6d) [0x7f311782769d]

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomsgr: immediately drop messages with null dest
Sage Weil [Mon, 5 Jul 2010 16:34:29 +0000 (09:34 -0700)]
msgr: immediately drop messages with null dest

This avoids spawning a new pipe and then failing to connect to a bad
address.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: fix handle_dentry_unlink to handle remote unlink (no straydn)
Sage Weil [Tue, 6 Jul 2010 21:48:37 +0000 (14:48 -0700)]
mds: fix handle_dentry_unlink to handle remote unlink (no straydn)

The straydn is optional, and NULL if we're unlinking a remote dentry.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: be less noisy about memory usage in log
Sage Weil [Tue, 6 Jul 2010 21:34:04 +0000 (14:34 -0700)]
mds: be less noisy about memory usage in log

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph: --in-file, not --in-data
Sage Weil [Tue, 6 Jul 2010 20:02:09 +0000 (13:02 -0700)]
ceph: --in-file, not --in-data

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: track pg_num by type in logger
Sage Weil [Tue, 6 Jul 2010 19:47:19 +0000 (12:47 -0700)]
osd: track pg_num by type in logger

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agolibrados: add pool set_snap_context
Sage Weil [Tue, 6 Jul 2010 19:27:23 +0000 (12:27 -0700)]
librados: add pool set_snap_context

Set the snap context for a given pool handle.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: take the first inode as root, rather than whatever comes out
Greg Farnum [Tue, 6 Jul 2010 19:02:18 +0000 (12:02 -0700)]
client: take the first inode as root, rather than whatever comes out
with ino=1.

Also, translate root inode properly in fuse_ll.

15 years agoceph.spec: install /etc/logrotate.d/ceph
Sage Weil [Tue, 6 Jul 2010 18:53:11 +0000 (11:53 -0700)]
ceph.spec: install /etc/logrotate.d/ceph

15 years agoosd: document some of the logger stats
Sage Weil [Tue, 6 Jul 2010 17:53:41 +0000 (10:53 -0700)]
osd: document some of the logger stats

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: modify usage
Yehuda Sadeh [Tue, 6 Jul 2010 17:58:57 +0000 (10:58 -0700)]
rbdtool: modify usage

15 years agoconfig: allow optional parameters
Yehuda Sadeh [Tue, 6 Jul 2010 17:58:19 +0000 (10:58 -0700)]
config: allow optional parameters

15 years agomds: do not include snapped inodes in EOpen or LogSegment::open_files
Sage Weil [Tue, 6 Jul 2010 17:24:47 +0000 (10:24 -0700)]
mds: do not include snapped inodes in EOpen or LogSegment::open_files

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: print useful error on malformed EOpen event
Sage Weil [Tue, 6 Jul 2010 17:13:58 +0000 (10:13 -0700)]
mds: print useful error on malformed EOpen event

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: drop unnecessary dist-hook for make_version
Sage Weil [Mon, 5 Jul 2010 23:03:30 +0000 (16:03 -0700)]
Makefile: drop unnecessary dist-hook for make_version

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: simplify release.sh
Sage Weil [Mon, 5 Jul 2010 23:02:28 +0000 (16:02 -0700)]
debian: simplify release.sh

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: distribute check_version
Sage Weil [Mon, 5 Jul 2010 23:01:16 +0000 (16:01 -0700)]
Makefile: distribute check_version

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoradosgw: fix usage syntax
Yehuda Sadeh [Tue, 6 Jul 2010 17:22:41 +0000 (10:22 -0700)]
radosgw: fix usage syntax

That fixes bug #256.

15 years agomount.ceph: ignore noauto, _netdev options
Sage Weil [Mon, 5 Jul 2010 18:54:11 +0000 (11:54 -0700)]
mount.ceph: ignore noauto, _netdev options

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: include libcls_rbd.so.*
Fred Ar [Mon, 5 Jul 2010 15:58:54 +0000 (08:58 -0700)]
debian: include libcls_rbd.so.*

Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agocclsinfo: fixes for dash
Fred Ar [Mon, 5 Jul 2010 15:57:53 +0000 (08:57 -0700)]
cclsinfo: fixes for dash

Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: make -j and unpackaged files
Thomas Mueller [Mon, 5 Jul 2010 07:10:01 +0000 (07:10 +0000)]
ceph.spec.in: make -j and unpackaged files

* now that make -j<numprocs> works out of the box, add it to the spec
* added new unpackaged files
* the test binaries get installed with "--without-debug". omitting
"--without-debug" fixes the problem.

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: fix up ceph_ver.h autogeneration
Sage Weil [Sun, 4 Jul 2010 21:28:18 +0000 (14:28 -0700)]
Makefile: fix up ceph_ver.h autogeneration

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: fix build when WITH_DEBUG not set
Sage Weil [Sun, 4 Jul 2010 21:08:15 +0000 (14:08 -0700)]
Makefile: fix build when WITH_DEBUG not set

Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebug: don't create rank symlink if log-file
Sage Weil [Sat, 3 Jul 2010 04:29:22 +0000 (21:29 -0700)]
debug: don't create rank symlink if log-file

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: update ctime on setattr(no mask)
Sage Weil [Sat, 3 Jul 2010 04:28:56 +0000 (21:28 -0700)]
client: update ctime on setattr(no mask)

This makes pjd happy (chown -1 -1 should bump ctime, apparently).  The
kclient does the same trick: dirty any excl caps we have, otherwise do an
mds setattr(ctime) request.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: return errors from setattr
Sage Weil [Fri, 2 Jul 2010 23:47:23 +0000 (16:47 -0700)]
client: return errors from setattr

Otherwise fuse just gets confused because the stat structure isn't filled
in and generates its own EIO.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: fix lookup error codes
Sage Weil [Fri, 2 Jul 2010 23:38:04 +0000 (16:38 -0700)]
client: fix lookup error codes

The fuse glue was making all errors ENOENT, and _lookup didn't return
ENAMETOOLONG.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: better debug output
Sage Weil [Fri, 2 Jul 2010 23:17:11 +0000 (16:17 -0700)]
client: better debug output

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: return ENAMETOOLONG where appropriate
Sage Weil [Fri, 2 Jul 2010 23:17:00 +0000 (16:17 -0700)]
client: return ENAMETOOLONG where appropriate

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoqa: do untar_snap_rm on two different tarballs (medium and big)
Sage Weil [Fri, 2 Jul 2010 22:59:32 +0000 (15:59 -0700)]
qa: do untar_snap_rm on two different tarballs (medium and big)

15 years agoclient: fix f_namemax returned by statfs
Sage Weil [Fri, 2 Jul 2010 22:46:33 +0000 (15:46 -0700)]
client: fix f_namemax returned by statfs

This was fixed in the kernel last month.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: make more random crap only build with WITH_DEBUG
Sage Weil [Fri, 2 Jul 2010 22:12:12 +0000 (15:12 -0700)]
Makefile: make more random crap only build with WITH_DEBUG

This should be everything not packaged.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: implement import
Yehuda Sadeh [Fri, 2 Jul 2010 22:27:44 +0000 (15:27 -0700)]
rbdtool: implement import

still doesn't use fiemap

15 years agoclient: remove typo
Greg Farnum [Fri, 2 Jul 2010 18:59:44 +0000 (11:59 -0700)]
client: remove typo

15 years agoclient: synchronize metadata on fsync, when requested.
Greg Farnum [Fri, 2 Jul 2010 18:28:21 +0000 (11:28 -0700)]
client: synchronize metadata on fsync, when requested.

15 years agorbdtool: cleanup
Yehuda Sadeh [Fri, 2 Jul 2010 18:46:18 +0000 (11:46 -0700)]
rbdtool: cleanup

15 years agoosd: cleanup: move pools can into advance_map()
Sage Weil [Fri, 2 Jul 2010 18:02:56 +0000 (11:02 -0700)]
osd: cleanup: move pools can into advance_map()

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: fix null pg deref, put auid in PGPool, cleanup.
Sage Weil [Fri, 2 Jul 2010 18:00:49 +0000 (11:00 -0700)]
osd: fix null pg deref, put auid in PGPool, cleanup.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomsgr: add config option to set stacksize of reader&writer threads
Sage Weil [Fri, 2 Jul 2010 16:34:30 +0000 (09:34 -0700)]
msgr: add config option to set stacksize of reader&writer threads

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agothread: force stacksize to be multiple of page size; clean up
Sage Weil [Fri, 2 Jul 2010 16:34:55 +0000 (09:34 -0700)]
thread: force stacksize to be multiple of page size; clean up

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agothread: allow setting stacksize when calling create & check return value of pthread_c...
Paul Chiang [Thu, 1 Jul 2010 07:55:57 +0000 (15:55 +0800)]
thread: allow setting stacksize when calling create & check return value of pthread_create

Signed-off-by: Paul Chiang <paul_chiang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoupdate authors
Sage Weil [Fri, 2 Jul 2010 16:24:46 +0000 (09:24 -0700)]
update authors

15 years agorbdtool: implement export
Yehuda Sadeh [Fri, 2 Jul 2010 16:55:52 +0000 (09:55 -0700)]
rbdtool: implement export

15 years agoshift feature supported/required specifications into Policy
Sage Weil [Fri, 2 Jul 2010 16:19:11 +0000 (09:19 -0700)]
shift feature supported/required specifications into Policy

This gets it out of the header, and also makes the previous
"my_features & their_features" logic explicit in the Policy definitions.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomsgr: add set_policy_throttler
Sage Weil [Fri, 2 Jul 2010 15:44:58 +0000 (08:44 -0700)]
msgr: add set_policy_throttler

This lets us continue to use the helpers.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: remove mkmonfs manpage
Sage Weil [Fri, 2 Jul 2010 14:55:44 +0000 (07:55 -0700)]
ceph.spec.in: remove mkmonfs manpage

15 years agoceph.spec.in: initrddir, not initddir
Sage Weil [Fri, 2 Jul 2010 14:55:34 +0000 (07:55 -0700)]
ceph.spec.in: initrddir, not initddir

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: some fixes
Thomas Mueller [Fri, 2 Jul 2010 08:13:38 +0000 (08:13 +0000)]
ceph.spec.in: some fixes

encountered following errors building an rpm package with the
ceph.spec.in:

RPM build errors:
    File not found: /var/tmp/ceph-0.21~rc-4el5.elefant-root-mockbuild/usr/
bin/mkmonfs
    File must begin with "/": %{_initddir}/ceph
    Installed (but unpackaged) file(s) found:
   /usr/bin/dumpjournal
   /usr/bin/dupstore
   /usr/bin/psim
   /usr/bin/radosacl
   /usr/bin/streamtest
   /usr/bin/test_ioctls
   /usr/bin/test_trans
   /usr/bin/testceph
   /usr/bin/testcrypto
   /usr/bin/testkeys
   /usr/bin/testmsgr
   /usr/bin/testrados
   /usr/bin/testradospp

* mkmonfs - vanished. isn't it used anymore? if so, the man/mkmonfs.8 can
also be removed
* initddir can be ignored as it is centos/rhel specific (it's called
"initrddir")
* added CXXFLAGS to make

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomkmonfs: remove all traces
Sage Weil [Fri, 2 Jul 2010 14:52:42 +0000 (07:52 -0700)]
mkmonfs: remove all traces

It's been replaced by 'cmon --mkfs'

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomount.ceph: add mount options/flags
Sage Weil [Fri, 2 Jul 2010 14:49:23 +0000 (07:49 -0700)]
mount.ceph: add mount options/flags

noatime, nodiratime, relatime.  Some cleanup.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: add/fix ceph_ver.h dependencies
Sage Weil [Fri, 2 Jul 2010 14:33:57 +0000 (07:33 -0700)]
Makefile: add/fix ceph_ver.h dependencies

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agofilejournal: make journal alignment max of block, page sizes
Sage Weil [Thu, 1 Jul 2010 23:48:26 +0000 (16:48 -0700)]
filejournal: make journal alignment max of block, page sizes

Alignment must be a multiple of page size.  At least currently.

15 years agoceph: fix decoding of class incrementals
Sage Weil [Thu, 1 Jul 2010 22:46:03 +0000 (15:46 -0700)]
ceph: fix decoding of class incrementals

15 years agomsgr: handle ipv4 or ipv6 addresses (untested)
Sage Weil [Thu, 1 Jul 2010 22:42:01 +0000 (15:42 -0700)]
msgr: handle ipv4 or ipv6 addresses (untested)

At some point we may want to bind to both v4 and v6 addrs.  Later!

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: caps configuration file uses pool names
Yehuda Sadeh [Thu, 1 Jul 2010 22:18:38 +0000 (15:18 -0700)]
osd: caps configuration file uses pool names

pool names instead of pool ids

15 years agovstart.sh: added -c to the cclass execution
Yehuda Sadeh [Thu, 1 Jul 2010 22:17:51 +0000 (15:17 -0700)]
vstart.sh: added -c to the cclass execution

15 years agoosd, class: introduce public class methods
Yehuda Sadeh [Thu, 1 Jul 2010 19:39:05 +0000 (12:39 -0700)]
osd, class: introduce public class methods

public class methods don't need exec permissions in order to execute

15 years agoosd: pgpool keeps pool name
Yehuda Sadeh [Thu, 1 Jul 2010 19:07:35 +0000 (12:07 -0700)]
osd: pgpool keeps pool name

15 years agoosd: modify caps calculation
Yehuda Sadeh [Thu, 1 Jul 2010 19:04:36 +0000 (12:04 -0700)]
osd: modify caps calculation

15 years agocfuse: log_per_instance by default
Sage Weil [Thu, 1 Jul 2010 21:27:13 +0000 (14:27 -0700)]
cfuse: log_per_instance by default

e.g., if run with --log-to-stdout=0,

lrwxrwxrwx  1 sage sage        11 Jul  1 14:22 cfuse4173 -> fatty.31362

15 years agoman: install cclass, cclsinfo man pages; include in ceph.deb
Sage Weil [Thu, 1 Jul 2010 21:21:13 +0000 (14:21 -0700)]
man: install cclass, cclsinfo man pages; include in ceph.deb

15 years agodebian: add logrotate.d/ceph
Sage Weil [Thu, 1 Jul 2010 20:59:25 +0000 (13:59 -0700)]
debian: add logrotate.d/ceph

15 years agoMakefile: link ssl to libceph
Paul Chiang [Thu, 10 Jun 2010 02:17:35 +0000 (10:17 +0800)]
Makefile: link ssl to libceph

Signed-off-by: Paul Chiang <paul_chiang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agolibceph: Add check before umount in deinitialize
Paul Chiang [Thu, 10 Jun 2010 02:18:53 +0000 (10:18 +0800)]
libceph: Add check before umount in deinitialize

Signed-off-by: Paul Chiang <paul_chiang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agohostname override option for ceph init script
CC Lien [Tue, 22 Jun 2010 09:28:32 +0000 (17:28 +0800)]
hostname override option for ceph init script

15 years agobuffer: fix logic in write_fd()
Henry C Chang [Thu, 1 Jul 2010 08:03:43 +0000 (16:03 +0800)]
buffer: fix logic in write_fd()

Reset iovec after finishing writev operation.
This bug occurs when buffer list size is larger than IOV_MAX.

15 years agomsgr: fix dispatch throttler release
Sage Weil [Thu, 1 Jul 2010 19:45:16 +0000 (12:45 -0700)]
msgr: fix dispatch throttler release

We need to release the same amount back to the throttler as we originally
reserved.  Store that amount in the Message, and catch all the error
paths.  This fixes the case where messages get fed back into dispatch
locally (i.e. not via read_message()).