Danny Al-Gaaf [Tue, 23 Feb 2016 18:40:35 +0000 (19:40 +0100)]
rgw/rgw_op.h: init scalar field in ctor
Fix for:
CID 717368 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member is_truncated is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 18:29:03 +0000 (19:29 +0100)]
mds/Capability.h: init scalar field in ctor
Fix for:
CID 1019612 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member before is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member seq is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member last_issue is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 18:26:01 +0000 (19:26 +0100)]
mds/Capability.h: init scalar fields in ctor
Fix for:
CID 1138591 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member cap_id is not initialized in this
constructor nor in any functions that it calls.
uninit_member: Non-static class member issue_seq is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member mseq is not initialized in this
constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 18:21:41 +0000 (19:21 +0100)]
common/bit_vector.hpp: init scalar field in ctor
Fix for:
CID 1274314 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member m_header_crc is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 18:18:48 +0000 (19:18 +0100)]
tools/cephfs/DataScan.h: init scalar field in ctor
Fix for:
CID 1313449 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member force_init is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 13:36:04 +0000 (14:36 +0100)]
rgw/rgw_op.h: init scalar field in ctor
Fix for:
CID 1351689 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member total_size is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 13:26:48 +0000 (14:26 +0100)]
mds/Capability.h: init non-static Export members in ctor
Fix for:
CID 717232 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member cap_id is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member wanted is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member issued is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member pending is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member seq is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member mseq is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 12:32:08 +0000 (13:32 +0100)]
librbd/WatchNotifyTypes.h: init member vars in ctor
Fix for:
CID 1351734 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member result is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 12:25:45 +0000 (13:25 +0100)]
src/rgw/rgw_rados.h: init some RGWPeriod member vars in ctor
Fix for:
CID 1353422 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in this
constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized in
this constructor nor in any functions that it calls.
CID 1353426 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in this
constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized in
this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 10:59:53 +0000 (11:59 +0100)]
include/types.h: init members in ctor
CID 1351708 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member code is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 10:56:27 +0000 (11:56 +0100)]
os/kstore/KStore.cc: init nid_last in ctor
Fix for:
CID 1351706 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member nid_last is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 10:51:49 +0000 (11:51 +0100)]
os/fs/FS.h: init member vars in aio_t ctor
CID 1351707 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member offset is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member length is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 10:48:06 +0000 (11:48 +0100)]
osd/OSD.cc: init daily_loadavg in ctor
CID 1351705 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member daily_loadavg is not
initialized in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 23 Feb 2016 06:13:19 +0000 (07:13 +0100)]
rgw/rgw_rados.h: init non-static class members in ctor
Fix for:
CID 1353420 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized in
this constructor nor in any functions that it calls.
CID 1353421 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized
in this constructor nor in any functions that it calls.
CID 1353427 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
CID 1128394 (#1 of 1): Integer overflowed argument (INTEGER_OVERFLOW)
overflow: Add operation overflows on operands line_len and 1UL.
overflow_assign: Assigning overflowed or truncated value (or a value
computed from an overflowed or a truncated value) to rem.
overflow_sink: Overflowed or truncated value (or a value computed from an
overflowed or truncated value) rem used as critical argument to function.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
CID 1351687 (#1 of 1): Uninitialized scalar variable (UNINIT)
var_decl: Declaring variable lock_type without initializer
uninit_use: Using uninitialized value lock_type.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Kefu Chai [Wed, 9 Nov 2016 11:08:29 +0000 (19:08 +0800)]
pybind: rename rgw_file.pyx to rgw.pyx
so the init function offered by rgw python extension is named "initrgw"
instead of "initrgw_file". and "initrgw" is the expected name by python
intepreter when loading an extension.
Haomai Wang [Tue, 2 Aug 2016 16:10:42 +0000 (00:10 +0800)]
msg/async/Event: add DPDKDriver type to allow userspace event
Like epoll, kqueue, select, dpdk backend also need to allow notify EventCenter
when a connection is ready to read/write. So we need to let DPDKStack can kick
EventCenter. DPDKDriver which introduced UserspaceEvent to simulate epoll
event achieve the goal.
Sage Weil [Mon, 7 Nov 2016 22:57:01 +0000 (17:57 -0500)]
os/bluestore/KernelDevice: debug support to detect stalled aios
This is additional bookkeeping to track the oldest aio in flight, so we
make it optional, and disabled by default. It is useful for identifying
buggy kernel aio or bad devices.
Matt Benjamin [Mon, 26 Sep 2016 22:05:28 +0000 (18:05 -0400)]
boost: add submodule at tag boost-1.61.0
This implements option #4 for external boost, based on upstream
discussion. In option #4:
1. boost is added as a submodule
2. builds default to using the attached boost module
3. building against a system-provided boost is supported, but
must be configured explicitly
Because all of the boost components are attached as nested
submodules in the upstream boost repository, neither the nested
submodules nor the root boost submodule have been cloned into
modules in github.com/ceph (acked by Sage).
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>