Sage Weil
d3dac2a23b
Merge pull request #11014 from chhabaramesh/extent_alloc
...
os/bluestore: make assert conditional with macro for allocator
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-14 08:39:21 -05:00
Alfredo Deza
0a5d894600
Merge pull request #11071 from dmick/wip-17267
...
Stop hiding errors from run-tox.sh
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2016-09-14 14:02:42 +05:30
Dan Mick
485ff7a4ea
Stop hiding errors from run-tox.sh
...
The grep -v should have been grep, but, why even bother?
Tox doesn't output that much; just dump it, and exit with
tox's error code.
Fixes: http://tracker.ceph.com/issues/17267
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-09-13 20:38:04 -07:00
Yuri Weinstein
855208aef8
Merge pull request #10826 from xiexingguo/xxg-wip-fix-objecter-0823
...
osdc/objecter: misc fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-13 15:54:57 -07:00
Yuri Weinstein
5c431584ca
Merge pull request #10859 from xiexingguo/xxg-wip-fix-osd-08-25
...
osd/osd_type: check if pool is gone during check_new_interval()
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-09-13 15:52:20 -07:00
Sage Weil
96c436a9d2
Merge pull request #11059 from markhpc/wip-bluefs-wal-buffered
...
bluestore/BlueFS: revert direct IO for WRITER_WAL
2016-09-13 17:01:55 -05:00
Sage Weil
fd6b1ccd33
Merge pull request #11030 from amoxic/amoxic-wip-fix-do-write-small
...
os/bluestore: fix offset bug in _do_write_small.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-13 13:13:20 -05:00
Kefu Chai
3b2c09474d
Merge pull request #11046 from stiopaa1/common_timer_deleteCopyConstrAndAssign
...
common/Timer.h: delete copy constr and assign op
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-13 23:04:50 +08:00
Kefu Chai
77b0cc53ac
Merge pull request #11057 from liewegas/wip-os-fuse
...
qa/workunits/objectstore/test_fuse.sh: make test_fuse.sh work with filestore
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-13 23:01:34 +08:00
Sage Weil
5f526617be
Merge pull request #11064 from ilc/make-srpm
...
make-srpm.sh: A simple script to make the srpm for ceph.
2016-09-13 08:57:48 -05:00
Sage Weil
935ca2d8a9
Merge pull request #11061 from xiexingguo/xxg-wip-bs-0913
...
os/bluestore: fix shard_info::dump()
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-13 08:56:20 -05:00
Ira Cooper
0576dacd7f
make-srpm.sh: A simple script to make the srpm for ceph.
...
This is a simple script to make the srpm for ceph based
on make-dist.
Yes, it is short, but it will stop many people from
having to solve the same problem.
Signed-off-by: Ira Cooper <ira@redhat.com>
2016-09-13 09:51:35 -04:00
Sage Weil
be607ab636
qa/workunits/objecstore/test_fuse.sh: make it work with filestore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-13 09:40:03 -04:00
amoxic
038b093f09
Delete unnecessary parentheses.
...
Signed-off-by: feng yu amoxic@126.com
2016-09-13 10:02:19 +00:00
John Spray
6a3e5c49d8
Merge pull request #11016 from wido/snap-max-uid
...
mds: Set mds_snap_max_uid to 4294967294
Reviewed-by: John Spray <john.spray@redhat.com>
2016-09-13 09:46:29 +01:00
Ramesh Chander
24538e4a55
min_min_alloc_size to accommodate changing min_alloc_size
...
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-09-12 23:47:09 -07:00
xie xingguo
87bf242bdb
os/bluestore: fix dump of shard_info
...
which shall include the "extents" field too.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-13 14:06:22 +08:00
Casey Bodley
a879c15157
Merge pull request #10873 from dreamhost/wip-17136
...
rgw: Fix Host->bucket fallback logic inversion
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-09-12 13:38:39 -04:00
Yehuda Sadeh
bd3aa6ac91
Merge pull request #10918 from tianshan/fix-bucket-decode-v
...
rgw: fix rgw_bucket_dir_entry decode v
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-12 08:18:06 -07:00
Mark Nelson
52fa3ba90d
bluestore/BlueFS: revert direct IO for WRITER_WAL
...
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2016-09-12 09:53:50 -05:00
Sage Weil
b8c203fb64
Merge pull request #11040 from xiexingguo/xxg-wip-bluestore-0910
...
os/bluestore: fix leak of result-checking of _fsck_check_extents
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-12 09:20:40 -05:00
Kefu Chai
3aec51379c
Merge pull request #11047 from tchaikov/wip-long-live-readdir
...
ceph_mon: use readdir() as readdir_r() is deprecated
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2016-09-12 21:55:20 +08:00
Sage Weil
7ba551abeb
Merge pull request #11033 from xiexingguo/xxg-wip-bluestore-0909
...
os/bluestore: fix potential access violation during rename
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-12 08:37:32 -05:00
Mykola Golub
30bbe656a4
Merge pull request #11044 from dillaman/wip-17227
...
librbd: ignore partial refresh error when acquiring exclusive lock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-09-12 12:10:21 +03:00
Mykola Golub
d141b1382a
Merge pull request #11037 from dillaman/wip-17254
...
librbd: possible deadlock if cluster connection closed after image
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-09-12 12:08:46 +03:00
Kefu Chai
99b799630a
ceph_mon: use readdir() as readdir_r() is deprecated
...
see https://lwn.net/Articles/696469/ , readdir_r() is deprecated by glibc
since 2.24. so let's use readdir() instead.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-12 11:56:11 +08:00
Kefu Chai
1e29fd177e
Merge pull request #10941 from ceph/8.31.16-fix-install-deps
...
install-deps: exit non-zero when we cannot match distro
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-12 11:11:51 +08:00
Kefu Chai
3ff9da123d
Merge pull request #11043 from stiopaa1/osd_osd_removeUnneededReturns
...
osd/OSD.cc: remove unneeded returns
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-12 10:50:12 +08:00
Michal Jarzabek
1ddb299003
osd/OSD.cc: remove unneeded returns
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-09-11 22:52:32 +01:00
Michal Jarzabek
d4c48fdc67
common/Timer.h: delete copy constr and assign op
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-09-11 20:19:57 +01:00
Jason Dillaman
24396dcba7
librbd: ignore partial refresh error when acquiring exclusive lock
...
Fixes: http://tracker.ceph.com/issues/17227
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-09-11 09:08:41 -04:00
Kefu Chai
5999adba61
Merge pull request #11041 from stiopaa1/osd_replicatedpg_removeClassRedeclaration
...
osd/ReplicatedPG: remove class redeclaration
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-11 18:09:09 +08:00
Kefu Chai
8ffaa6a81d
Merge pull request #10952 from codeyz/dev
...
crush/CrushCompiler.cc:884
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-11 11:52:44 +08:00
Kefu Chai
91eabb9c50
Merge pull request #10986 from stiopaa1/osd_osd_remove_repeated_searching_of_map
...
osd/OSD.cc: remove repeated searching of map
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-11 11:49:17 +08:00
Kefu Chai
bb4622f419
Merge pull request #11000 from stiopaa1/osd_osd_removeUnneededSearchMap
...
osd/OSD.cc: remove unneeded searching of map
Reviewed-by: Jun Huang <hjwsm1989@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-11 11:39:49 +08:00
Kefu Chai
36b6be5027
Merge pull request #10935 from branch-predictor/bp-optimized-crush-ln
...
crush: don't normalize input of crush_ln iteratively
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-11 11:37:16 +08:00
Kefu Chai
0e7dbb997e
Merge pull request #10776 from ceph/wip-offline-split
...
ceph-objectstore-tool: add a way to split filestore directories offline
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-11 11:26:36 +08:00
Kefu Chai
2d3f1fc74b
Merge pull request #10011 from songbaisen/a16
...
mon: remove the redundant list swap in paxos commit_proposal
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-11 11:23:36 +08:00
Kefu Chai
64d8a793ba
Merge pull request #10872 from rjfd/wip-16776
...
Enable builds without ceph-test subpackage
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-11 11:22:08 +08:00
Michal Jarzabek
b4fd5fd975
osd/ReplicatedPG: remove class redeclaration
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-09-10 19:17:57 +01:00
Jason Dillaman
818c2f2abc
librbd: possible deadlock if cluster connection closed after image
...
Fixes: http://tracker.ceph.com/issues/17254
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-09-10 13:43:02 -04:00
xie xingguo
97848a8b7a
os/bluestore: drop bluestore_blob_id_t
...
which is not used anymore.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 18:33:42 +08:00
xie xingguo
4fc48a6bd7
os/bluestore: kill fill() method from bluestore_extent_ref_map_t
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 18:08:52 +08:00
xie xingguo
d133cc571c
os/bluestore: add sanity check during extent loading
...
Otherwise there are potential extent leaks.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 17:58:54 +08:00
Mykola Golub
864f2acb11
Merge pull request #11034 from dillaman/wip-17251
...
librbd: potential seg fault when blacklisting an image client
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-09-10 11:23:45 +03:00
xie xingguo
4a5b395c1d
os/bluestore: fix leak of result-checking of _fsck_check_extents
...
We shall not ignore the result of _fsck_check_extents() durint fsck().
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 15:35:26 +08:00
xie xingguo
1600d6f100
os/bluestore: using is_spanning() for spanning checking
...
Otherwise is_spanning() has no caller and shall be deleted.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 10:12:52 +08:00
xie xingguo
1ab12fa8f5
os/bluestore: fix race condition
...
The empty() method also needs to be called under the protection of lock.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 10:05:32 +08:00
xie xingguo
836715afcf
os/bluestore: simplify extent_shard_key a little
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 09:25:05 +08:00
xie xingguo
ba69a2ce90
os/bluestore: return onode_key to caller
...
The get_key_extent_shard() method shall decompose extent_shard_key
into onode_key and offset, but currently we don't fill onode_key
and return it to caller.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-10 09:22:20 +08:00