Commit Graph

33 Commits

Author SHA1 Message Date
Ilya Dryomov
1f5b796f58 FileStore: introduce XfsFileStoreBackend class
Introduce XfsFileStoreBackend class, currently the only filestore
backend implementing SETALLOCHINT op.  This commit adds a build-time
dependency on libxfs as xfs-specific ioctl (XFS_IOC_FSSETXATTR /
XFS_XFLAG_EXTSIZE) is used to implement the new set_alloc_hint()
method.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-03-03 20:33:44 +02:00
ywang19
a4b3b786ff correct one command line at building packages section
Signed-off-by: Wang, Yaguang <yaguang.wang@intel.com>
2014-02-12 10:38:16 +08:00
Ilya Dryomov
462b3898e5 rbd: match against whole disks on unmap
Currently the way 'rbd unmap' translates a user-provided block device
into an rbd id is it matches the major number of the specified device
against /sys/bus/rbd/devices/<id>/major for each rbd mapping and
declares success on the first match.  This works for both entire disks
and partitions, because under the current device number allocation
scheme, each mapping means a new major number.

In preparation for support for single-major device number allocation
scheme, which would require matching both major and minor numbers, make
sure to always match against entire disk device numbers, by converting
the specified device major:minor pair into wholdedisk major:minor pair.
To achive that, use the libblkid library, which accomplishes this goal
by walking stable sysfs structures.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2013-12-13 17:40:52 +02:00
Ilya Dryomov
5e1fc14757 README: update a list of build deps for rpm-based systems
A list of build dependencies for rpm-based OSes is missing a few items.
This fills in the gaps.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2013-12-02 11:52:31 +02:00
Sage Weil
4fa8f68ff6 README: add yum command line
This makes it easy to cut and paste. Yay!

Signed-off-by: Sage Weil <sage@inktank.com>
2013-11-26 07:19:24 -08:00
Alfredo Deza
ed712c13e1 fix nss lib name
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-08-26 12:48:56 -04:00
Alfredo Deza
378728e0b4 update the README with required RPM packages
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-08-26 12:05:00 -04:00
Dan Mick
4cb0e06266 Add 'ceph-rest-api'
ceph-rest-api is a Python WSGI module for accessing the Ceph cluster.
It supports most of the commands supported by the ceph CLI,
appropriately translated to HTTP GET/PUT requests.  It is not a
truly RESTful interface.

Not supported at this moment: "tell", "pg <pgid>", and "daemon"
commands.

Configuration options are specified in ceph.conf, specified with
-c/--conf or obtained from $CEPH_CONF, /etc/ceph/ceph.conf,
~/.ceph/ceph.conf, or ./ceph.conf.

-n/--name specifies the client name, used for the cluster
authentication key and for the ceph.conf section name (default
is client.restapi).

        restapi keyring = <keyring file>
        restapi public addr = listenIP:port (default 0.0.0.0:5000)
        restapi base url = <base path> (default /api/v0.1)
        restapi log level = (error, warning, info, debug)
        restapi log file = (default /var/log/ceph/<clientname>.log)

Primitive human-level command discovery is supported; GET from
BASEURL (say, http://localhost:5000/api/v0.1) will show an HTML
table of all commands and arguments, method supported, and help strings.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-10 20:58:51 -07:00
Dan Mick
cad8cf5818 Add python-argparse to dependencies (for pre-2.7 systems)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-06-24 14:50:07 -07:00
Dan Mick
5fa45f4ec3 Update README dependency lists
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-06-12 22:26:19 -07:00
Francois Deppierraz
bf0b4306a6 Fix a README typo
Signed-off-by: François Deppierraz <francois@ctrlaltdel.ch>
2013-04-29 10:22:27 +02:00
Dan Mick
8a6438fefa README: fix dependency lists
1) automake appeared twice
2) make apt-get command match the list
2013-04-02 13:01:04 -07:00
Gary Lowell
e3847986cf README: Add libsnappy-dev to build requirements.
Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-03-01 23:32:54 -08:00
Danny Al-Gaaf
2becb35aef README: add leveldb-dev to package list needed for build
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-27 14:47:29 +01:00
Cesar Mello
6c40794384 Added libexpat dependency 2013-01-26 19:18:01 -02:00
Sam Lang
a1e08684f5 README: add the libboost-thread-dev dep to the list
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-27 17:21:40 -06:00
Samuel Just
1351e76c8e README: add libboost-program-options-dev
Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-10-31 11:36:06 -07:00
Sam Lang
153fb3bd50 doc: Adds package deps to list in README
The README provides a list of packages needed to successfully
configure ceph.  uuid-dev and libatomic-ops-dev are missing from
the list.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-09-23 16:58:46 -07:00
Mike Ryan
58cd27fd29 doc: add missing dependencies to README
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-07-19 11:29:40 -07:00
Sage Weil
d9e902f9c5 ceph.newdream.net -> ceph.com
wiki url -> docs url
2012-06-16 14:50:29 -07:00
Tommi Virtanen
5465e81097 doc: Whitespace cleanup.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2012-05-03 10:15:21 -07:00
John Wilkins
a1b31ddfda Initial cut of introduction, getting started, and installing. More to do on installation. RADOS gateway to follow.
Signed-off-by: John Wilkins <john.wilkins@dreamhost.com>
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2012-05-02 12:09:54 -07:00
Sage Weil
6e83e1193e README: update
- refer to COPYING, SubmittingPatches
- a word about dependencies
- building packages
- drop the list of built binaries... it's incomplete and not very
  interesting.

Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 12:33:57 -07:00
Yehuda Sadeh
0e5d087c46 README: update instructions
Needed to add submodule instructions.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-05 11:43:11 -07:00
Sage Weil
6f8f140350 c* -> ceph-*
Hopefully I didn't miss too much...

Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 15:08:25 -07:00
Sage Weil
61708dc5cc README: update a bit
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-07 10:23:59 -07:00
Sage Weil
9c3fc0ae40 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>
2010-07-02 07:57:16 -07:00
Sage Weil
bf4a1b5656 fix up READMEs 2010-03-23 14:54:33 -07:00
Sage Weil
1a67fc25d1 helper script readme 2008-05-13 08:45:13 -07:00
Sage Weil
2b5f76f48e readme 2008-05-07 14:32:55 -07:00
Sage Weil
01267a88ce readme summarizes binary targets 2008-03-18 09:31:04 -07:00
Sage Weil
1a6924367d autoconf changes to build on a debian/testing machine 2008-02-01 09:59:44 -08:00
Sage Weil
7469f26a33 first pass at autoconf and automake 2008-01-27 20:45:29 -08:00