Abhishek Lekshmanan
e942051102
remove unused source file
...
This file was possibly accidentally committed in the tree, thanks
@BranchPredictor for bringing this up in irc
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-01-27 23:16:00 +01:00
Yehuda Sadeh
7e0a7a3d44
Merge pull request #7381 from ceph/wip-rgw-static-website-yehuda
...
RGW static website feature
- currently disabled by default
- partial error page handling
- a few known failures
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-01-27 12:36:35 -08:00
Sage Weil
2e52a8b17c
Merge pull request #7223 from liewegas/wip-collection-handles
...
osd: collection handles
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-01-27 14:45:11 -05:00
Sage Weil
96a7c663b7
Merge pull request #7134 from liewegas/wip-fusestore
...
osd: implement fuse interface for ObjectStore
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-01-27 14:39:21 -05:00
Sage Weil
17901f784f
osd: use collection handle where possible
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:51 -05:00
Sage Weil
6560b14df9
osd: associate a CollectionHandle& with PGBackend
...
Make this a ref to the PG's handle because the backend is
constructed before the handle is opened.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:51 -05:00
Sage Weil
f3de2b87ad
osd: associate a CollectionHandle with each PG
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:51 -05:00
Sage Weil
8e172a9875
os/memstore: implement handle-based read methods
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:51 -05:00
Sage Weil
34fe2e8a67
os/memstore: implement open_collection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:51 -05:00
Sage Weil
765eb9f721
os/bluestore: implement CollectionHandle based read methods
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:50 -05:00
Sage Weil
e81e3c0889
os/bluestore: implement open_collection
...
Fix up create and remove so that they poison a Collection that
gets removed.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:50 -05:00
Sage Weil
414d09bd85
os/ObjectStore: add CollectionHandle wrappers for all read ops
...
The backend can optionally implement the handle-based variant. If
it does not, the wrappers will call the legacy coll_t version.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:50 -05:00
Sage Weil
b6df3e1c96
os/ObjectStore: add CollectionHandle
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:34:50 -05:00
Yehuda Sadeh
bf9d1a067a
Merge branch 'wip-rgw-static-website-yehuda'
...
Conflicts:
src/rgw/rgw_common.h
src/rgw/rgw_op.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h
2016-01-27 11:07:43 -08:00
Sage Weil
0613765a69
os/FuseStore: improve readdir for omap and attr
...
Use new-style fuse readdir interface for omap and attr. We aren't
particularly efficient, but we won't completely break if there are a
lot of attrs or omap entries.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:15 -05:00
Sage Weil
a47f8ffb80
os/FuseStore: wait for commit and flush in all updates
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
f84384ac9a
os/FuseStore: use offset for readdir
...
This allows us to list large directories.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
c3954e69bb
qa/workunits/objectstore/test_fuse.sh: simple workunit test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
3e3606558c
os/FuseStore: add 'type' file in root dir
...
This also acts as a sentinel to indicate whether we have mounted.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
0638b11843
os/ObjectStore: add get_type()
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
e1a371db6e
ceph-objectstore-tool: drop filestore-specific sanity check
...
Just let mount() fail
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
c4f5a08627
ceph-objectstore-tool: add --op mkfs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
0ed0ec52b4
ceph-objectstore-tool: simplify error message
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
614f1653ee
ceph-objectstore-tool: 'whoami' is not required for an ObjectStore
...
OSD creates it, but it won't be there if we did --op mkfs
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
b2a1c8614f
os/FuseStore: do not call exists() on an out-of-bounds oid
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
ca4f077edd
os/FuseStore: no-op chmod
...
This makes mkdir(1) happy.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:14 -05:00
Sage Weil
53a333621a
os/FuseStore: allow object and collection creates
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
57289de42b
os/FuseStore: more ENOENT on getattr for non-existent items
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
2aa65322cd
os/FuseStore: hide bitwise_hash_end if bits unknown; add bitwise_hash_bits
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
27bae894a6
os/FuseStore: present bitwise_hash_end
...
Note this is the *last* hash value, inclusive.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
27dc220abd
os/bluestore: implement collection_bits
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
17d3c9f43f
os/ObjectStore: add collection_bits
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
f8de01773d
os/FuseStore: respect fuse_debug
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
aa8f2c9f8b
ceph-objectstore-tool: no need to check for fsck here
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:13 -05:00
Sage Weil
0e371d2b4b
ceph-objectstore-tool: use myexit(1) for fsck
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:12 -05:00
Sage Weil
d01967d372
osd: osd_objectstore_fuse
...
Expose underlying ObjectStore via fuse at $osd_data/fuse/. Can be enabled/
disabled at runtime.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:12 -05:00
Sage Weil
96643e9cc3
ceph-objectstore-tool: mount an ObjectStore via fuse
...
Currently only read-only.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:12 -05:00
Sage Weil
f5d106ff1e
vstart.sh: put the OSD journal in the normal location
...
Also, drop the ability to run without a journal.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:12 -05:00
Sage Weil
efa88a4560
[g]hobject_t: normalize operator<< result, and implement parse
...
- print hash in *bitwise reverse* order
- include all fields, every time
- use : delimitor for hobject_t
- use @ delimitor for ghobject_t
- escape unprintable characters <32, >=127, :, %.
- also /, for fuse layer's benefit
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-27 14:06:12 -05:00
Sage Weil
f9dbf1066c
Merge pull request #7195 from liewegas/wip-rados-bench
...
rados: rados bench improvements
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-27 13:22:01 -05:00
Sage Weil
9c30be93e3
Merge pull request #7269 from liewegas/wip-bluestore-btree
...
bluestore: use btree_map for allocator
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-01-27 13:21:26 -05:00
Sage Weil
d6c35c07d8
Merge pull request #6 from ifed01/wip-bluestore-btree-test
...
UT for interval_set implementations
2016-01-27 13:18:13 -05:00
Sage Weil
4ba1847336
Merge pull request #6869 from chuanhong-wang/chuanhong-wang-wip-14026
...
osd: fix OSD utilization is abnormal after data disk lost
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-27 13:14:23 -05:00
Sage Weil
a1c5385e4a
Merge pull request #7201 from ErwanAliasr1/evelu-cleanup-deadstuff
...
cleanup: remove misc dead code
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-27 13:13:47 -05:00
Sage Weil
391199d7bb
Merge pull request #7217 from vumrao/wip-14356-vumrao
...
osd: FileStore: cleanup: remove obsolete option "filestore_xattr_use_omap"
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-27 13:13:00 -05:00
Sage Weil
409070573a
Merge pull request #7245 from Sandy4999/wip-mon-election
...
mon: add an independent option for max election time
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2016-01-27 13:12:02 -05:00
Sage Weil
e19dd6a1ac
Merge pull request #7253 from wido/mon-err-stuck-pg
...
mon: go into ERR state if multiple PGs are stuck inactive
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-01-27 13:10:49 -05:00
Sage Weil
0a65d908bc
Merge pull request #7281 from xuechendi/omap_sync_assert
...
osd: FileStore: add error check for object_map->sync()
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-27 13:09:36 -05:00
Sage Weil
b4b01149be
Merge pull request #7309 from asheplyakov/bug-14428
...
osd: PG::activate(): handle unexpected cached_removed_snaps more gracefully
Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-27 13:08:43 -05:00
Sage Weil
3bc05b3a27
Merge pull request #7319 from chenji-kael/wip-cls-clear-pool
...
test/cls: clean useless pools
Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-27 13:07:53 -05:00