runsisi
0358f29c9d
librbd: add create timestamp metadata for image
...
Signed-off-by: runsisi <runsisi@zte.com.cn>
2017-06-20 13:52:06 +08:00
Yan, Zheng
3cf26a1ec5
osdc/Objecter: fix inflight_ops update
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-20 11:55:42 +08:00
Sage Weil
f337b4e75f
Merge pull request #15651 from zealoussnow/wip-0613
...
config_opt: use bool instead of int for the default value of filestore_debug_omap_check
2017-06-19 22:39:55 -05:00
Sage Weil
6743fb203c
Merge pull request #15676 from Linbing/wip-mon-delete-unused-config
...
mon: delete unused config opts of mon_sync_fs_threshold
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-19 22:37:58 -05:00
Sage Weil
368ff5e4aa
Merge pull request #15697 from gregsfortytwo/wip-mgr-eaccss-20296
...
mgr: print a more helpful error message for when users lack mgr ceph caps
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-19 22:34:35 -05:00
Sage Weil
1be29e3046
Merge pull request #15744 from badone/wip-CID-1412579
...
ceph-dencoder: Silence coverity CID 1412579
Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-19 22:11:56 -05:00
Sage Weil
27697a443d
Merge pull request #15637 from liewegas/wip-point-to-point
...
qa/upgrade/jewel-x/point-to-point: add a mgr during final upgrade
2017-06-19 21:59:30 -05:00
Sage Weil
6e83cfecfb
os/bluestore: fix unsharing blob dirty_range args
...
Fixes: http://tracker.ceph.com/issues/20227
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 22:57:43 -04:00
tang.jin
d860e8d5cf
EC: cleanup the redundant check which works in IO context
...
Signed-off-by: tang.jin <tang.jin@istuary.com>
2017-06-20 10:48:49 +08:00
Sage Weil
a52ad49362
crush/CrushWrapper: add_simple_ruleset[_at] -> add_simple_rule[_at]
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
3fac3c1a44
osd/OSDMap: some cosmetic cleanup (ruleset -> rule)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
80e3b73803
crush: simplify osd_pool_default_crush_rule config
...
Make an incompat change here with a release note since
this only affects pool creation, a rare event, and folks
who have customized their configs (also rare).
Keep it simple: a config sets the default rule, or else we pick
the first TYPE_REPLICATED pool in the crush map.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
6f1a5946b6
mon/OSDMonitor: rename functions and variables, ruleset -> rule
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
b7e3a4ca15
mon: scrub 'ruleset' from user-visible output
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
96afb19378
mon: remove 'crush_ruleset' property
...
The 'crush_rule' name has been present since before hammer; users should
use that instead
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
07abacb2e4
osd/osd_types: pg_pool_t: rename crush_ruleset -> crush_rule
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
e0d42ba02a
mon/OSDMonitor: rename 'osd pool create' argument field name
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
1c57e2e2a4
crush/CrushWrapper: optimize find_rule when rules are uniform
...
On finalize, set a flag indicating whether our rules are uniform. If so,
find_rule() is trivial--it just verifies the rule exists.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
50d5044237
mon/OSDMonitor: issue health warning if there are multirule rulesets
...
The user will need to manually fix the CRUSH map if this happens.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
4f24d63f58
mon/OSDMonitor: automatically convert crushmap if ruleset != rule id
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
9c24bdb18c
mon/OSDMonitor: prevent injecting CRUSH maps with ruleset != rule id
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
7af0dd6bc8
crush: add rule/set checks, conversion helpers
...
Add chekcs to see whether the CRUSH map has legacy ruleset != rule id
or (worse yet) multiple rules sharing the same ruleset.
Add a method to convert the former case, and error out on the latter.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:08:09 -04:00
Sage Weil
d85f4bb4ca
Merge pull request #15365 from ShiqiCooperation/newshiqi
...
test/unittest_bluefs: When fsync ret is less than 0, fsync can not be…
Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-06-19 18:06:32 -05:00
Sage Weil
36cb4629dc
Merge pull request #15533 from liewegas/wip-crush-version
...
mon,osd: add crush_version to OSDMap, and allow crush map updates to gate on crush_version
Reviewed-by: Loic Dachary <loic@dachary.org>
2017-06-19 18:06:07 -05:00
Sage Weil
5c041258f7
Merge pull request #15685 from wjwithagen/wip-wjw-freebsd-ENODATA-2
...
core/common: Fix ENODATA for FreeBSD with compat.h
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-06-19 18:05:25 -05:00
Sage Weil
132c62685e
Merge pull request #15710 from liewegas/wip-20273
...
osd: bail from _committed_osd_maps inside osd_lock
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-19 18:04:50 -05:00
John Spray
93f8d4a78c
osdc: always use finisher from wait_for_readable
...
Fixes: http://tracker.ceph.com/issues/20165
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-19 23:37:58 +01:00
Willem Jan Withagen
23f7a7d117
rgw_string.h: FreeBSD would like errno.h included
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-06-19 23:30:54 +02:00
Casey Bodley
ac3c6c5e43
Merge pull request #15333 from mikulely/validate-bucket-location
...
rgw/multisite: validate bucket location during bucket creation
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-19 16:47:36 -04:00
Casey Bodley
8ab1c4a8d2
Merge pull request #15633 from cloudbau/reduce-rgw-copy-loglevel
...
rgw: do not log debug output at level 0
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-19 16:45:56 -04:00
Casey Bodley
1299808e2a
Merge pull request #15598 from aclamk/encryption_refactor
...
radosgw, crypto: simplified code in handle_data functions
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-19 16:45:22 -04:00
Casey Bodley
fbf106bcf2
Merge pull request #15599 from theanalyst/rgw/fix/bl-cstr
...
rgw: don't specify a length when converting bl -> string
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-19 16:42:58 -04:00
Casey Bodley
0b6a13e31a
Merge pull request #15756 from rzarzynski/wip-rgw-cleanup-swift-errmapping
...
rgw: clean-up error mapping in Swift's authentication strategy.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-19 16:42:11 -04:00
Casey Bodley
2c92ccf23d
Merge pull request #15677 from zhangsw/fix-rgw-lifecycle-bug
...
rgw: lifecycle thread shouldn't process the bucket which has been deleted
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-06-19 16:40:13 -04:00
Casey Bodley
0f54fe3468
Merge pull request #15682 from mikulely/rgw-putobj-params
...
rgw: abort early when s->length empty during putobj
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-19 16:39:30 -04:00
Sage Weil
423ce2402d
Merge pull request #15747 from liewegas/wip-scrub-retry
...
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop
2017-06-19 14:29:12 -05:00
Sage Weil
8d10e5fc29
qa/suites/rados/singleton-nomsgr/multi-backfill-reject: clean up
...
Set pool size back to 2 so we don't have to have backfill
complete (despite rejection probability) in order to get back to
healthy. This way we scrub on cleanup.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 14:49:56 -04:00
Sage Weil
ef2d22dd46
Merge pull request #15712 from liewegas/wip-19882
...
osd/ECTransaction: only read partial stripes when below *original* object size
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-19 13:45:14 -05:00
Sage Weil
15efccab70
qa/suites/rados/singleton-nomsgr/full-tiering: unset quota at end
...
If we leave the quota set, the proxied ops will block
indefinitely, which will block scrubbing on the cache tier pgs
indefinitely.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 14:37:57 -04:00
Sage Weil
04969eff23
qa/tasks/resolve_stuck_peering: start osd at end
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 14:28:28 -04:00
Matt Benjamin
e7a00bcd5c
Merge pull request #15679 from guihecheng/rgw_file-fix-setattr
...
rgw_file: fix assert upon setattr on bucket
2017-06-19 14:22:23 -04:00
Casey Bodley
8557916d58
Merge pull request #15660 from fangyuxiangGL/meta_sync_crash
...
rgw: meta sync thread crash at RGWMetaSyncShardCR
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-19 14:14:44 -04:00
Sage Weil
74087cf5ab
qa/workunits/cephtool/test.sh: silence dev warnings
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 14:11:57 -04:00
Sage Weil
cc902a1f6b
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop
...
The scrub commands are not reliable: if the OSD doesn't happen to
be connected at the time the command is issued it may not get
delivered. Re-request scrubs for each PG that has not yet been
scrubbed so that we don't wait forever when the original request
is dropped.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 12:00:12 -04:00
Sage Weil
32361a798f
qa/tasks/ceph: osd_scrub_pgs: tolerate down osd at initial scrub time
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 12:00:12 -04:00
Casey Bodley
fdf98241cd
Merge pull request #15738 from cbodley/wip-rgw-string-constexpr
...
rgw: fix constexpr for string_size in clang
Reviewed By: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-06-19 11:25:04 -04:00
John Spray
18de794a90
Merge pull request #15544 from taodd/master
...
mds: Client syncfs is slow (waits for next MDS tick)
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-06-19 10:53:51 -04:00
Sage Weil
c5a178fe03
Merge pull request #15746 from liewegas/wip-20227
...
os/bluestore: better debug output on unsharing blobs
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-19 09:32:43 -05:00
dongdong
616e763178
client: signal MDS to flush log when doing a syncfs
...
Fixes: http://tracker.ceph.com/issues/20129
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2017-06-19 21:49:15 +08:00
dongdong
2222bf5eb2
Client: signal MDS to flush log when doing a syncfs
...
Fixes: http://tracker.ceph.com/issues/20129
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2017-06-19 21:47:40 +08:00