Commit Graph

36920 Commits

Author SHA1 Message Date
John Spray
a9a218546a mon: fix osd crush link id resolution
A junk value for ID was falling through from
the outer scope.  Rename the outer one to
`osdid` and look up `id` explicitly in crush link.

For a bonus also add an error string for when
link_bucket returns an error (previously
would get plain "Error EINVAL")

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-27 10:53:32 +00:00
Yuan Zhou
187767022d Remove dead code in EC LRC plugin
The layer_minimum_to_decode() seems to be dead.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2014-10-27 15:10:46 +08:00
xinxin shu
a05dedc644 check to_remove before setting transaction
currently if you dump transaction for a single rbd write, a transaction
of OMAP_RMKEYS will be listed even if to_remove is empty.

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2014-10-27 05:26:05 +08:00
João Eduardo Luís
6f8524ef76 Merge pull request #2800 from ceph/wip-enoent-race
os/LevelDBStore, RocksDBStore: fix race handling for get store size

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
2014-10-26 18:58:50 +00:00
Danny Al-Gaaf
f99c5f9a66 rgw/rgw_rados.cc: remove unused variable 'objs'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:15 +01:00
Danny Al-Gaaf
795456242c osd/ReplicatedPG.cc: use !empty() instead of size() > 0
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
912743cfa9 PGLog.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
ddfdcc30ca common/escape.c: add cppcheck-suppress
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
52ca2b1aab fuse_ll.cc: use reinterpret_cast instead of c-style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
61872e43cf JournalScanner.cc: reduce scope of local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
94a0ec140f test_disk_bw.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
abb2b8019c objectstore/store_test.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
5e9492c438 TestErasureCodeIsa.cc: reduce scope of 'err' variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
170db6901f TestCrushWrapper.cc: reduce scope of variabele
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
8ebe9e9de5 test_sharedptr_registry.cc: reduce scope of local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
f2340aa5ca test_shared_cache.cc: reduce scope of local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:14 +01:00
Danny Al-Gaaf
c01e7d26a7 TestSignalHandlers.cc: add cppcheck-suppress nullPointer
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
10ddfbf028 rgw_rest_user.cc: reduce scope of key_type in several places
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
53f2dad7e0 rbd-replay-prep.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
be66b8250c osd/ReplicatedPG.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
f4de4375b9 osd/PGLog.cc: reduce scope of variable, remove not needed code
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
3d61d8a8ae osd/PG.h: add cppcheck-suppress
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
f4f652d55d os/chain_xattr.cc: reduce scope of some variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
ca347b0a9f os/KeyValueStore.cc: reduce scope of variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
9d874484b2 os/HashIndex.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
935edd754a mon/OSDMonitor.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
48a1dc360b mds/Server.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
d62b96f39c mds/MDS.cc: remove unused local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
2f9bf475d0 ErasureCodeLrc.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
d9abd5352b ErasureCodeIsa.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:13 +01:00
Danny Al-Gaaf
e145bff830 ErasureCodePlugin.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:12 +01:00
Danny Al-Gaaf
c3ee13a121 cls_rbd_client.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-26 18:10:12 +01:00
Loic Dachary
53e2ba00cd mailmap: Federico Gimenez affiliation
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-25 16:50:50 -07:00
Loic Dachary
1f566023ed Merge pull request #2753 from dachary/wip-mailmap
mailmap updates
2014-10-25 16:44:31 -07:00
Sage Weil
eea9803a3f os/LevelDBStore, RocksDBStore: fix race handling for get store size
If we get ENOENT, skip this file, instead of adding in undefined stat
values.

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-24 21:23:19 -07:00
Sage Weil
06a73c3916 doc/release-notes: v0.87 giant (draft)
Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-24 15:22:29 -07:00
Sage Weil
fd2943a00b Merge pull request #2763 from ceph/wip-da-SCA-20141010
Some fixes from SCA runs

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-24 14:53:53 -07:00
Danny Al-Gaaf
ecbbf87d3b Paxos.cc: use reinterpret_cast instead of c-style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-24 23:36:02 +02:00
Danny Al-Gaaf
784f6d521d fuse_ll.cc: use reinterpret_cast instead of c-style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-24 23:36:02 +02:00
Danny Al-Gaaf
3994cca981 librados.cc: use static_cast instead of c-style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-24 23:35:45 +02:00
Sage Weil
b05efddb77 Merge pull request #2799 from athanatos/wip-9480
Wip 9480

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-24 13:20:43 -07:00
Sage Weil
2c4be559c5 Merge pull request #2798 from athanatos/wip-9875
ReplicatedPG: writeout hit_set object with correct prior_version

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-24 12:55:05 -07:00
Sage Weil
ccb2b6f296 Merge pull request #2789 from ceph/wip-rgw-explicit-reason
rgw: send http status reason explicitly in fastcgi
2014-10-24 11:35:06 -07:00
Sage Weil
191c45be4d Merge remote-tracking branch 'gh/giant' 2014-10-24 11:19:39 -07:00
Sage Weil
719dc171c6 Revert "Enforce cache size on read requests"
This reverts commit 4fc9fffc49.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-24 11:19:35 -07:00
Sage Weil
71d32027c7 Revert "osdc: Fix ObjectCounter::_readx perf counters"
This reverts commit 830373ef01.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-24 11:19:21 -07:00
Sage Weil
c2cebe5b6d Revert "osdc: Fix compiler warning"
This reverts commit cb290a117a.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-24 11:19:15 -07:00
Sage Weil
a1f23b7a95 Revert "rbd: ObjectCacher reads can hang when reading sparse files"
This reverts commit cdb7675a21.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-24 11:16:36 -07:00
Sage Weil
b808cdfaa8 Revert "Fix read performance regression in ObjectCacher"
This reverts commit 65be257e92.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-24 11:16:25 -07:00
Federico Gimenez
c4b2abdd41 .gitmodules: ignoring changes in rocksdb submodule
Signed-off-by: Federico Gimenez <fgimenez@coit.es>
(cherry picked from commit 60eaeca4dd)
2014-10-24 11:14:03 -07:00