Commit Graph

37192 Commits

Author SHA1 Message Date
Janne Grunau
987d54b7cd aarch64: add support for HW_CAP based neon runtime detection 2014-11-25 14:17:37 +01:00
Janne Grunau
cec00c9f4a autotools: ARM/AArch64 NEON detection similar to x86 2014-11-25 14:17:37 +01:00
Janne Grunau
ba520bf73b erasure-code: conditionally build jerasure sse3/sse4 plugins 2014-11-25 14:17:37 +01:00
Loic Dachary
80c816c794 Merge pull request #3003 from dachary/wip-10185-neon
arch: fix neon feature detection

Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
2014-11-25 14:14:20 +01:00
Loic Dachary
0b985d2b11 arch: fix neon feature detection
The fread function returns the number of elements read, not the number
of bytes.

Introduced by 1cef8339f7 , after giant.

Add tests for protection against similar regressions.

http://tracker.ceph.com/issues/10185 Fixes: #10185

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-25 12:44:52 +01:00
Loic Dachary
2e1664c518 Merge pull request #3002 from thesues/fix-init
Remove pidfile and asok after stopping ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-25 12:07:37 +01:00
Dongmao Zhang
24eb564768 Remove pidfile and asok after stopping ceph
Signed-off-by: Dongmao Zhang <deanraccoon@gmail.com>
2014-11-25 18:04:37 +08:00
David Zafman
c5d272c9f2 Merge pull request #2872 from dachary/wip-10018-primary-erasure-code-hinfo
osd: erasure code deep scrub must not abort if hinfo is missing

Reviewed-by: David Zafman <dzafman@redhat.com>
2014-11-24 13:26:21 -08:00
Sage Weil
29fa2ad31a Merge pull request #2984 from stiopaa1/includeFix
remove unneeded include file

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-24 12:47:43 -08:00
Michal Jarzabek
e983230c62 remove unneeded include file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2014-11-24 20:02:41 +00:00
John Wilkins
5c92a0cb16 Merge pull request #2998 from theanalyst/doc/rgw-s3-bucket-loc
doc: rgw document s3 bucket location features.

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-11-24 11:35:26 -08:00
Abhishek Lekshmanan
a1ba3852cc doc: rgw document s3 bucket location features
Fixes: #10142
Reported-by: Neil Levine <nlevine@redhat.com>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2014-11-24 23:36:21 +05:30
Sage Weil
a4222b43ee Merge pull request #2992 from dachary/wip-10173-autogen
autogen.sh: git submodule sync

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-24 07:33:59 -08:00
Loic Dachary
61cae54137 autogen.sh: git submodule sync
It is not enough to git submodule update on a existing git clone: if the
URL of the repository has been changed, the

   git submodule sync

command must be called to synchronizes submodules' remote URL
configuration setting to the value specified in .gitmodules.

http://tracker.ceph.com/issues/10173 Fixes: #10173

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-24 12:35:50 +01:00
Loic Dachary
42974e12f6 Merge pull request #2936 from ceph/wip-mailmap
Update Inktank attribution to point to Red Hat

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-24 08:27:51 +01:00
Greg Farnum
12f1f21ace mailmap: Update Warren Usui's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:12:48 -08:00
Greg Farnum
43c75ee4ef mailmap: Update Tyler Brekke's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:12:18 -08:00
Greg Farnum
9df4624454 mailmap: Update Tamil Muthamizhan's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:11:34 -08:00
Greg Farnum
fb741524df mailmap: Update Sandon Van Ness' attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:10:22 -08:00
Greg Farnum
c5d5e0636d mailmap: Update Samuel Just's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:08:47 -08:00
Greg Farnum
a6a2a05518 mailmap: Update Patrick McGarry's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:06:48 -08:00
Greg Farnum
4d2f63e73d mailmap: Update Noah Watkins' attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:04:53 -08:00
Greg Farnum
4ee3a87691 mailmap: Update Neil Levine's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:02:38 -08:00
Greg Farnum
12e511b537 mailmap: Update Mark Nelson's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:01:56 -08:00
Greg Farnum
bdf534a543 mailmap: Update Ken Dreyer's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:00:55 -08:00
Greg Farnum
df19410610 mailmap: Update Josh Durgin's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 21:00:34 -08:00
Greg Farnum
d9ee8d601c mailmap: Update John Wilkins' attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 20:59:49 -08:00
Greg Farnum
c84aa39420 mailmap: Update Joao Luis' attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 20:56:00 -08:00
Greg Farnum
806a478edc mailmap: Update Ilya Dryomov's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 20:54:38 -08:00
Greg Farnum
eaa9889bde mailmap: Update Dan Mick's attribution
Point his addresses at Red Hat now, but revert the Inktank->Redhat mappings
so we have more historical accuracy.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 20:49:23 -08:00
Greg Farnum
330b09de1a mailmap: Update Alfredo Deza's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 20:47:01 -08:00
Greg Farnum
1853af3dcd mailmap: Update Greg Farnum's attribution to Red Hat
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-23 20:42:50 -08:00
Sage Weil
47bc8da329 Merge remote-tracking branch 'gh/next' 2014-11-23 18:55:32 -08:00
Sage Weil
ca13ce1b35 Merge pull request #2983 from tchaikov/wip-fix-lock-dep
lockdep: do not use $CEPH_LOCKDEP for g_lockdep

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-23 12:59:42 -08:00
Kefu Chai
5470914f73 lockdep: do not use $CEPH_LOCKDEP for g_lockdep
* a non-zero CEPH_LOCKDEP brings ceph down because g_lockdep_ceph_ctx
  is still being constructed when dout_impl() dereferences it.
* fix a typo in comment.
* remove dead code.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2014-11-24 03:19:40 +08:00
Yehuda Sadeh
9ba17a321d rgw-admin: create subuser if needed when creating user
Fixes: #10103
Backport: firefly, giant
This turned up after fixing #9973. Earlier we also didn't create the
subuser in this case, but we didn't really read the subuser info when it
was authenticating. Now we do that as required, so we end up failing the
authentication. This only applies to cases where a subuser was created
using 'user create', and not the 'subuser create' command.

Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-11-22 09:16:03 -08:00
Samuel Just
eb5d2117fd Merge pull request #2895 from yuyuyu101/wip-10022
AsyncMessenger: Fix several problems

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-21 16:18:25 -08:00
Josh Durgin
6070f4ad68 Merge pull request #2980 from ceph/wip-10123
librbd: protect list_children from invalid child pool IoCtxs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-11-21 14:35:24 -08:00
Haomai Wang
e0ab267c75 Merge pull request #2981 from yuyuyu101/quick-fix
GenericObjectMap: Avoid master branch compile error
2014-11-21 17:27:10 +08:00
Haomai Wang
25fe088b75 GenericObjectMap: Fix typo
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-21 17:25:06 +08:00
Sage Weil
4884d3e3d1 Merge pull request #2966 from yuyuyu101/wip-10119
KeyValueStore: Fix EC+ KV OSDs crashing

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-20 21:41:23 -08:00
Sage Weil
7d299528b5 Merge pull request #2978 from majianpeng/fix4
blkdev: using strncpy instead of strcpy.

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-20 20:51:38 -08:00
Jianpeng Ma
6c7bb8c068 blkdev: using strncpy instead of strcpy.
Coverity Scan reported this bug:
> New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
> *** CID 1255369:  Copy into fixed size buffer  (STRING_OVERFLOW)
> /common/blkdev.cc: 34 in block_device_support_discard(const char *)()
> 28     bool block_device_support_discard(const char *devname)
> 29     {
> 30       bool can_trim = false;
> 31       char *p = strstr((char *)devname, "sd");
> 32       char name[32] = {0};
> 33
> >>>     CID 1255369:  Copy into fixed size buffer  (STRING_OVERFLOW)
> >>>     You might overrun the 32 byte fixed-size string "name" by
> >>>     copying "p" without checking the length.
> 34       strcpy(name, p);
> 35       for (unsigned int i = 0; i < strlen(name); i++) {
> 36         if(isdigit(name[i])) {
> 37           name[i] = 0;
> 38           break;
> 39         }
>

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-11-21 09:55:02 +08:00
Sage Weil
cb001e7a6b Merge pull request #2974 from ceph/wip-sepia-update
Updated sepia hardware list.
2014-11-20 11:34:36 -08:00
Sandon Van Ness
627f138a72 Updated sepia hardware list.
Added missing details and additional list of hardware.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
2014-11-20 11:13:38 -08:00
Samuel Just
257ae0dc21 Merge pull request #2752 from dachary/wip-9817-deep-scrub-start
osd: log when scrub,deep scrub, repair starts

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-11-20 09:45:33 -08:00
Samuel Just
e60ff7a1d0 Merge pull request #2891 from XinzeChi/master
OSD: batch trim for pg_log

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-20 09:44:09 -08:00
Samuel Just
c25e9126d6 Merge pull request #2885 from ceph/wip-flush-snaps
osd/ReplicatedPG: flush snaps immediately

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-11-20 09:42:47 -08:00
Loic Dachary
b14dc28fbc Merge pull request #2973 from wonzhq/unused-parm
ReplicatedPG: remove unused parameter in function write_update_size_and_usage

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 11:19:37 +01:00
Zhiqiang Wang
7a868fd64b ReplicatedPG: remove unused parameter in function write_update_size_and_usage
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2014-11-20 16:26:32 +08:00