Commit Graph

4 Commits

Author SHA1 Message Date
Danny Al-Gaaf
df550c9cce make mkcephfs and init-ceph osd filesystem handling more flexible
Remove btrfs specific keys and replace them by more generic
keys to be able to replace btrfs with e.g. xfs or ext4 easily.

Add new key to define the osd fs type: 'osd mkfs type', which can
get defined in the [osd] section for all OSDs.

Replaced config keys:
- 'btrfs devs' -> 'devs'
- 'btrfs path' -> 'fs path'
- 'btrfs options' -> 'osd mount options $fstype'

New config key:
- 'osd mkfs options $fstype': file system specific options for mkfs
- 'osd mkfs type': to define the filesystem for mkfs and also mount

Replaced in mkcephfs: --mkbtrfs with --mkfs

Replaced in init-ceph:
- --btrfs with --fsmount
- --nobtrfs with --nofsmount
- --btrfsumount with --fsumount

NOTE: old options from mkcephfs and init-ceph will still work, but
      get may removed in the future from the scripts.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2012-11-23 19:14:52 -08:00
Colin Patrick McCabe
5517b8f5f3 Rework ProfLogger
* Replace existing proflogger config options with "profiling_logger_uri".
This option controls profiling logger sinks.

* ProfLogger: replace file-writing code with code that sends the
information over a UNIX domain socket.

* handle_conf_change is now fully and correctly implemented. We never
read from the md_config_t structure except in this function, so there
are no races. We re-create the thread when the settings change (no need
for SIGHUP, etc.)

* Replace the single big lock with a lock per Proflogger.

* No need for favg any more; just use fset everywhere for floating-point
variables.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-07-18 13:53:03 -07:00
Colin Patrick McCabe
c0416af04a common: Rename Logger to ProfilingLogger
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-02-08 07:02:31 -08:00
Sage Weil
35c3586bf4 put testing ceph.conf's in git 2009-11-12 14:57:11 -08:00