Ilya Dryomov
3513ba0ac4
test_librbd_fsx: use posix_memalign() to allocate aligned buffers
...
Use posix_memalign() to allocate good_buf and temp_buf, which must be
writebdy and readbdy aligned respectively. Using round_ptr_up() the
way it is used makes fsx crash on free()s at the end of main(), because
the pointer returned by malloc() is overwritten by the aligned pointer.
Drop round_ptr_up() as it is no longer used.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-05-07 17:30:05 +04:00
Ilya Dryomov
7df50ecd80
test_librbd_fsx: align temp_buf by readbdy instead of writebdy
...
temp_buf is used for reads, so align it by readbdy.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-05-07 17:30:05 +04:00
Ilya Dryomov
d13e32e201
test_librbd_fsx: move prterrcode() and simple_err()
...
Move prterrcode() and simple_err() so that all printing functions are
close together.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-05-07 17:30:05 +04:00
Ilya Dryomov
8d41f86f42
test_librbd_fsx: update usage
...
Update usage to include all options and flags.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-05-07 17:30:05 +04:00
Yan, Zheng
24c5ea8df0
osd: check blacklisted clients in ReplicatedPG::do_op()
...
OSD checks if client is blacklisted only when receiving OSD request.
It's possible that OSD request's sender get blacklisted while OSD
request in in some waiting list.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
(cherry picked from commit f92677c5b2
)
2014-05-03 15:14:39 -07:00
Sage Weil
b4dfd3d578
Merge pull request #1740 from ceph/wip-8155
...
mon: OSDMonitor: disallow nonsensical cache-mode transitions
Reviewed-by: Sage Weil <sage@inktank.com>
2014-05-03 15:13:37 -07:00
Sage Weil
c64b67b56c
ceph-object-corpus: rebase onto firefly corpus
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-03 07:59:28 -07:00
Sage Weil
af8a5298d3
Merge pull request #1762 from yuyuyu101/wip-8282
...
Fix clone problem
Backport: firefly
Reviewed-by: Sage Weil <sage@inktank.com>
2014-05-03 07:41:48 -07:00
Sage Weil
ca116a3e31
Merge pull request #1752 from ceph/wip-da-SCA-fixes-20140501
...
Various fixes from SCA
Reviewed-by: Sage Weil <sage@inktank.com>
2014-05-03 06:49:56 -07:00
Sage Weil
00868514ec
Merge pull request #1755 from eile/master
...
Fix out of source builds
Reviewed-by: Sage Weil <sage@inktank.com>
2014-05-03 06:42:04 -07:00
Stefan Eilemann
8bd4e58242
Fix out of source builds
...
Signed-off-by: Stefan Eilemann <Stefan.Eilemann@epfl.ch>
2014-05-03 12:02:02 +02:00
Haomai Wang
3aee1e0ffe
Fix clone problem
...
When clone happened, the origin header also will be updated in GenericObjectMap,
so the new header wraper(StripObjectHeader) should be updated too.
Fix #8282
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-05-03 12:55:17 +08:00
Joao Eduardo Luis
fd970bbc95
mon: OSDMonitor: disallow nonsensical cache-mode transitions
...
Fixes: 8155
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-03 03:42:19 +01:00
David Zafman
3e31458444
Merge pull request #1735 from ceph/wip-8113
...
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-02 19:26:30 -07:00
Samuel Just
4aa93dd12c
Merge pull request #1698 from ceph/wip-snapmapper-debug
...
osd/SnapMapper: debug
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-02 16:52:36 -07:00
Samuel Just
2700ebf83b
Merge pull request #1694 from ceph/wip-throttle-snap-master
...
osd: throttle snap trimmming with simple delay
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-02 16:48:10 -07:00
Danny Al-Gaaf
b45adc9894
Merge pull request #1759 from dachary/wip-mailmap
...
DNM: mailmap updates
Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:43:14 +02:00
Samuel Just
84728058db
Revert "ReplicatedPG: block scrub on blocked object contexts"
...
This reverts commit e66f2e36c0
.
Reviewed-by: Sage Weil <sage@inktank.com>
2014-05-02 16:36:42 -07:00
Sage Weil
f47f867952
osd: Prevent divide by zero in agent_choose_mode()
...
Fixes : #8175
Backport: firefly
Signed-off-by: David Zafman <david.zafman@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-02 16:35:49 -07:00
David Zafman
b7d31e5f59
osd, common: If agent_work() finds no objs to work on delay 5 (default) secs
...
Add config osd_agent_delay_time of 5 seconds
Honor delay by ignoring agent_choose_mode() calls
Add tier_delay to logger
Treat restart after delay like we were previously idle
Fixes : #8113
Backport: firefly
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-02 16:35:49 -07:00
Danny Al-Gaaf
fe0031d96a
rados.cc: fix typo in help output
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:29 +02:00
Danny Al-Gaaf
8bf039d09b
Dumper::dump_entries(): reduce scope of 'got_data'
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:28 +02:00
Danny Al-Gaaf
296b8ed0af
PG::read_info(): pass 'const coll_t coll' by reference
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:28 +02:00
Danny Al-Gaaf
8fad144c4d
PGBackend::be_compare_scrubmaps(): pass pgid by reference
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:28 +02:00
Danny Al-Gaaf
1e7eb1a1f8
osd_types.h: pass eversion_t by reference to operator<<
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:28 +02:00
Danny Al-Gaaf
be5a99d69b
SimpleLock.h: remove unused private function clear_more()
...
Remove unused private function clear_more(), it's replaced by
try_clear_more().
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:28 +02:00
Danny Al-Gaaf
70a4a73d61
SimpleLock.h: remove twice included osd_types.h
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:28 +02:00
Danny Al-Gaaf
4fe31c1b8b
linux_fiemap.h: remove twice included int_types.h
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:27 +02:00
Danny Al-Gaaf
b05e04ec5a
Dumper::dump_entries(): remove not needed variable
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:35:27 +02:00
Danny Al-Gaaf
9a716d88bb
rgw_bucket.cc: return error if update_containers_stats() fails
...
In case need_stats is set on rgw_read_user_buckets() and the
update_containers_stats() call fails with !-ENOENT, not only
print out a message but also return the error to the function
caller.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-03 01:34:10 +02:00
Sage Weil
5a6ae2a978
mon/PGMonitor: set tid on no-op PGStatsAck
...
The OSD needs to know the tid. Both generally, and specifically because
the flush_pg_stats may be blocking on it.
Fixes : #8280
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-02 15:43:29 -07:00
Sage Weil
2e6b24868d
mon/OSDMonitor: share latest map with osd on dup boot message
...
If we get a dup boot message, share the newer maps with the osd so that
they know they are living in the past.
Fixes : #8279
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-02 15:43:15 -07:00
Sage Weil
77a6f0aefe
mon/MonClient: remove stray _finish_hunting() calls
...
Callig _finish_hunting() clears out the bool hunting flag, which means we
don't retry by connection to another mon periodically. Instead, we send
keepalives every 10s. But, since we aren't yet in state HAVE_SESSION, we
don't check that the keepalives are getting responses. This means that an
ill-timed connection reset (say, after we get a MonMap, but before we
finish authenticating) can drop the monc into a black hole that does not
retry.
Instead, we should *only* call _finish_hunting() when we complete the
authentication handshake.
Fixes : #8278
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-02 15:42:58 -07:00
Loic Dachary
d0245947f2
mailmap: Florent Bautista affiliation
...
and name normalization
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-03 00:42:24 +02:00
Loic Dachary
61a2f064e9
mailmap: Warren Usui name normalization
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-03 00:35:42 +02:00
Loic Dachary
7b192f7db2
mailmap: Guang Yang name normalization
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-03 00:35:04 +02:00
Sage Weil
331869a019
Merge pull request #1754 from nereocystis/hardware-to-glossary
...
doc: Include links from hardware-recommendations to glossary
2014-05-02 14:22:17 -07:00
David Zafman
9cf470cac8
osd/ReplicatedPG: agent_work() fix next if finished early due to start_max
...
Backport: firefly
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-01 19:21:01 -07:00
Sage Weil
9f1a916883
osd/SnapMapper: pass snaps set by const ref
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-01 17:31:05 -07:00
Sage Weil
6105c3556f
osd/SnapMapper: debug
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-01 17:29:46 -07:00
Kevin Dalley
c879e895da
doc: Include links from hardware-recommendations to glossary
...
Included :term: in parts of hardware-recommendations so that glossary
links appear.
Signed-off-by: Kevin Dalley <kevin@kelphead.org>
2014-05-01 17:04:43 -07:00
Danny Al-Gaaf
c6ada53a14
Merge pull request #1749 from hufman/fix-typo-releasenotes-pyramind
...
Fixes a very minor typo in the release notes
Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-05-02 01:06:26 +02:00
Sage Weil
cc043225f8
mds: note MDiscoverReply encoding change in corpus
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-01 15:07:50 -07:00
Sage Weil
1f4a3e1f3b
mds: bump protocol
...
In commit f689e5f049
we change the encoding
and semantics for MDiscoverReply.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-01 13:46:40 -07:00
Samuel Just
d993b9ca89
Merge pull request #1738 from ceph/wip-8147
...
osd: automatically scrub PGs with invalid stats
Reviewed-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
2014-05-01 10:46:31 -07:00
Sage Weil
1ac05fd160
doc/release-notes: changelog link
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-01 09:59:37 -07:00
Sage Weil
ffef20fe8b
doc/release-notes: final v0.67.8 notes and changelog
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-01 08:36:42 -07:00
John Wilkins
387b297458
Merge pull request #1750 from nereocystis/doc-link-to-involved
...
doc: documenting links to get-involved
2014-04-30 23:07:53 -07:00
Walter Huf
0454962e20
Fixes a very minor typo in the release notes
...
pyramind -> pyramid
2014-05-01 00:25:00 -05:00
Kevin Dalley
78b3c93dd6
doc: documenting links to get-involved
...
Create a link from documenting-ceph so that it is easy to find the
github repository used for ceph.
Signed-off-by: Kevin Dalley <kevin@kelphead.org>
2014-04-30 21:31:06 -07:00