Commit Graph

54977 Commits

Author SHA1 Message Date
Mykola Golub
d404e36a9e Merge pull request #9819 from dillaman/wip-16363
librbd: fix lockdep issue when duplicate event detected

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-21 19:50:28 +03:00
Mykola Golub
1169da520e Merge pull request #9816 from dillaman/wip-16198
librbd: potential race when replaying journal ops

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-21 19:49:37 +03:00
Mykola Golub
cb15748592 Merge pull request #9788 from dillaman/wip-16230
rbd-mirror: potential race condition accessing local image journal

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-21 19:48:47 +03:00
John Spray
340689e32f Merge pull request #9787 from batrick/mds-rename-enotempty
mds: improve comments for ENOTEMPTY checks

Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-21 15:47:22 +01:00
Sage Weil
48a849f188 Merge pull request #9840 from xiexingguo/xxg-wip-fix-bmap-fm
os/bluestore: minor improvements for bitmap-freelist-manager

Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-21 10:26:06 -04:00
Sage Weil
45a9efdd18 Merge pull request #9815 from xiexingguo/xxg-wip-fix-blue-cache
os/bluestore: cache relevant cleanups

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-21 09:55:01 -04:00
xie xingguo
401af35fbd os/bluestore: make bytes_per_key a global member
So we don't have to figure it out everywhere.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-21 21:44:15 +08:00
xie xingguo
858a2bd43b os/bluestore: fix a typo(nonexistant->nonexistent)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-21 21:44:13 +08:00
xie xingguo
dc73ecc305 os/bluestore: simplify BufferSpace::read() a little
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-21 21:35:45 +08:00
xie xingguo
d2baf233fc os/bluestore: simplify BufferSpace::read() a little
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-21 21:35:43 +08:00
xie xingguo
09b13e5033 os/bluestore: change type of length of region_t from uint32_t to uint64_t
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-21 21:35:41 +08:00
xie xingguo
28503b94d5 os/bluestore: add sanity check when try to rm_buffer
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-21 21:35:39 +08:00
Sage Weil
79688b6a0d Merge pull request #9828 from liewegas/wip-bluestore-read-before-write
os/bluestore: limit read-amp on overwrite

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2016-06-21 09:31:00 -04:00
Sage Weil
59c47b4421 Merge pull request #9826 from liewegas/wip-bluefs
os/bluestore/BlueFS: instrument which file types we write to

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2016-06-21 09:30:18 -04:00
Kefu Chai
1e8a505c17 Merge pull request #9834 from tchaikov/wip-silence-warnings
test, bluestore: silence warnings

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-06-21 18:53:37 +08:00
Kefu Chai
e2801d8390 Merge pull request #9635 from liewegas/wip-make-dist
make-dist: include src/.git_version and src/ceph_ver.h

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-21 18:17:25 +08:00
Kefu Chai
87b5a65804 Merge pull request #9836 from dx9/wip-hardcoded-tcmalloc
cmake: fix hard coded tcmalloc lib

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-21 17:02:21 +08:00
John Coyle
edbcad55ed cmake: fix hard coded tcmalloc lib
Signed-off-by: John Coyle <dx9err@gmail.com>
2016-06-20 21:49:39 -04:00
Kefu Chai
14999dba88 Merge pull request #9670 from ceph/wip-debian-clean
debian: silence couple warnings

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-06-21 08:46:18 +08:00
Kefu Chai
a0dd46c5d1 bluestore/BitAllocator: silence warnings of method hidden
is_allocated(int64_t *blocks, int64_t num_blocks, int blk_off) only gets
called in BitMapAreaIN and its child classes. so it's safe to move this
method down to BitMapAreaIN.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-21 07:55:13 +08:00
Kefu Chai
32f4b60c38 ceph_test_objectstore: remove unused function
its caller was removed in 8a42e61

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-21 07:55:13 +08:00
Sage Weil
8c69da1086 Merge pull request #9832 from ceph/wip-cmake-librbd-unittest-fix
cmake: unittest_librbd missing a source file
2016-06-20 17:28:16 -04:00
Ali Maredia
716535ef9e cmake: unittest_librbd missing a source file
src/test/librbd/test_ConsistencyGroups.cc missing
from ${unittest_librbd_srcs}.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-06-20 17:23:37 -04:00
Casey Bodley
d16b5a2bb1 Merge pull request #9531 from yehudasa/wip-16175
rgw: data sync debug logging

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-20 16:11:51 -04:00
Sage Weil
1726dc8168 Merge pull request #9676 from efirs/fix_bitmap_freelist
os/bluestore: Fix enumeration when only single key in BitmapFreelistManager
2016-06-20 15:58:04 -04:00
Sage Weil
f547daa0de os/bluestore/BlueFS: instrument which file types we write to
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-20 15:57:39 -04:00
Sage Weil
93c164a5d4 os/bluestore: limit read-amp on overwrite
If we are doing a small overwrite over a blob with a large chunk size
(say, due to a large csum order), we are better off writing into a new
allocation than doing a large read/modify/write.  If the read amp will be
more than min_alloc_size, skip the read entirely and write into a new
blob.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-20 15:57:29 -04:00
Sage Weil
024e0ab6a2 test: remove remaining references to compression_dir
Removed in 38c7f4a066

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-20 15:57:02 -04:00
Sage Weil
8d48f54135 Merge pull request #9829 from ceph/wip-cmake-readme
cmake: updated CMake README instructions
2016-06-20 15:27:10 -04:00
Sage Weil
6ef18878e9 Merge pull request #9814 from songbaisen/a11
mon: remove the repeat quorum size jugement

Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-20 15:19:11 -04:00
Sage Weil
ba31806756 Merge pull request #9818 from ifed01/wip-zero-length-writes
os/store_test: uniform zero length writes handling

Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-20 15:16:57 -04:00
Ali Maredia
c270a452b0 cmake: updated CMake README instructions
Updated testing and cluster start up instructions
for CMake in README.md

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-06-20 15:15:09 -04:00
Sage Weil
0793a2844b Merge pull request #9605 from liewegas/wip-statfs
os: simplify store_statfs_t

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-20 12:39:03 -04:00
Daniel Gryniewicz
92ff5ff69f Merge pull request #9261 from prallabh/user_quota
rgw: Let the default quota settings take effect during user creation
2016-06-20 11:49:46 -04:00
Orit Wasserman
e74096409c Merge pull request #9817 from theanalyst/wip/boost-optional
rgw_swift: newer versions of boost/utility no longer include in_place
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-06-20 17:32:58 +02:00
Jason Dillaman
86ef725c34 librbd: fix lockdep issue when duplicate event detected
Fixes: http://tracker.ceph.com/issues/16363
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-20 10:32:04 -04:00
Igor Fedotov
6beb24352a os/store_test: fix synthetic test cases to handle zero-writes properly, i.e. do not increase object size.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-20 17:21:27 +03:00
Sage Weil
22464d3f26 os/memstore: zero-length write should not effect object size
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-20 16:59:45 +03:00
Sage Weil
134ee89260 ceph_test_objectstore: zero-length write should not affect object size
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-20 16:59:34 +03:00
Abhishek Lekshmanan
a14f0f3869 rgw_swift: newer versions of boost/utility no longer include in_place
boost > 1.58 no longer includes in_place in boost/utility, we need to
include in_place_factory explicitly. This causes build failures in
distros that ship with a higher version of boost. Since the only call is for
swift_ver_location, another possibility is to use emplace()
instead (though this requires boost ~ 1.56)

Fixes: http://tracker.ceph.com/issues/16391
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-06-20 15:56:50 +02:00
Casey Bodley
334ca8cb26 Merge pull request #9786 from pritha-srivastava/wip-multisite-error-msgs
rgw: modifying multi-site log messages.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-20 09:52:40 -04:00
Jason Dillaman
75b0f58e37 librbd: potential race when replaying journal ops
Fixes: http://tracker.ceph.com/issues/16198
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-20 09:39:24 -04:00
Sage Weil
873de61eaf Merge pull request #9812 from zhjwpku/cephx_protocol
doc: cephx_protocol typos
2016-06-20 08:43:00 -04:00
songbaisen
10bf6a5927 mon: remove the repeat quorum size jugement
Signed-off-by:song baisen <song.baisen@zte.com.cn>
2016-06-20 19:00:44 +08:00
root
e3ab347614 rgw: Add documentation for RGW default quota
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2016-06-20 16:18:00 +05:30
Orit Wasserman
7554ef048d Merge pull request #9188 from rzarzynski/wip-rgw-swift-versioning-new-2
rgw: improve support for Swift's object versioning.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-06-20 12:36:53 +02:00
Pritha Srivastava
e1737ddaa0 rgw: modifying multi-site log messages.
Increasing the log level and removing 'ERROR' from messages that appear during normal multi-site operation.
Fixes: http://tracker.ceph.com/issues/16121

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2016-06-20 10:05:53 +05:30
Kefu Chai
0774aa74e5 Merge pull request #9804 from ceph/revert-9801-msg_msg_types_entity_name_t_makeprivate
Revert "msg/msg_types.h: make members private in ..."

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-20 12:01:00 +08:00
Haomai Wang
fc65df9532 Revert "msg/msg_types.h: make members private in ..." 2016-06-20 10:45:45 +08:00
Kefu Chai
8425df0d92 Merge pull request #9801 from stiopaa1/msg_msg_types_entity_name_t_makeprivate
msg/msg_types.h: make members private in `entity_name_t`

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-20 10:11:41 +08:00