]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodoc: cleanup outdated radosgw description 11248/head
Jiaying Ren [Wed, 28 Sep 2016 08:47:11 +0000 (16:47 +0800)]
doc: cleanup outdated radosgw description

radosgw support is on by default, as built-in Civetweb, set up Apache
is no necessary any more.

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agounittest_bluestore_types: init g_ceph_context
Sage Weil [Tue, 27 Sep 2016 20:23:21 +0000 (16:23 -0400)]
unittest_bluestore_types: init g_ceph_context

The methods we're testing use it for dout.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11238 from theanalyst/changelog-v10.2.3
Sage Weil [Tue, 27 Sep 2016 16:02:54 +0000 (11:02 -0500)]
Merge pull request #11238 from theanalyst/changelog-v10.2.3

doc/changelog: add v10.2.3

8 years agoMerge pull request #10814 from liewegas/wip-bluestore-precondition
Sage Weil [Tue, 27 Sep 2016 16:00:38 +0000 (11:00 -0500)]
Merge pull request #10814 from liewegas/wip-bluestore-precondition

os/bluestore: precondition rocksdb/bluefs during mkfs

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agodoc/changelog: add v10.2.3 11238/head
Abhishek Lekshmanan [Tue, 27 Sep 2016 15:59:55 +0000 (17:59 +0200)]
doc/changelog: add v10.2.3

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoos/bluestore: precondition rocksdb on mkfs 10814/head
Sage Weil [Tue, 27 Sep 2016 15:38:42 +0000 (11:38 -0400)]
os/bluestore: precondition rocksdb on mkfs

Write N bytes of garbage to the kv store on startup.  With rocksdb,
this ensures that our log files are preallocated.

This option needs to match up with the rocksdb tunables so that it
is enough data to start recycling log files.  For now, start with
128MB.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11234 from theanalyst/jewel-release-notes
Sage Weil [Tue, 27 Sep 2016 15:18:25 +0000 (10:18 -0500)]
Merge pull request #11234 from theanalyst/jewel-release-notes

doc/release-notes: v10.2.3 jewel

8 years agoMerge pull request #11216 from liewegas/wip-bluestore-compress-map
Sage Weil [Tue, 27 Sep 2016 14:45:38 +0000 (09:45 -0500)]
Merge pull request #11216 from liewegas/wip-bluestore-compress-map

os/bluestore: prevent extent merging across shard boundaries

Reviewed-by: Somnath Roy <somnath.roy@sandisk.com>
8 years agodoc/release-notes: more fixes to 10.2.3 11234/head
Abhishek Lekshmanan [Tue, 27 Sep 2016 14:38:26 +0000 (16:38 +0200)]
doc/release-notes: more fixes to 10.2.3

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #10445 from rjfd/wip-15259
Jason Dillaman [Tue, 27 Sep 2016 14:35:01 +0000 (10:35 -0400)]
Merge pull request #10445 from rjfd/wip-15259

journal: increase concurrency/parallelism of journal recorder

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agodoc/release-notes: v10.2.3 jewel
Abhishek Lekshmanan [Tue, 27 Sep 2016 09:33:09 +0000 (11:33 +0200)]
doc/release-notes: v10.2.3 jewel

Adding release notes for the next jewel release

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agodoc: add v10.2.3 to releases table
Abhishek Lekshmanan [Tue, 27 Sep 2016 09:34:27 +0000 (11:34 +0200)]
doc: add v10.2.3 to releases table

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #11226 from zealoussnow/wip-0926
Sage Weil [Mon, 26 Sep 2016 20:48:40 +0000 (15:48 -0500)]
Merge pull request #11226 from zealoussnow/wip-0926

doc: missing "make vstart" in quick_guide.rst

8 years agoMerge pull request #11228 from stiopaa1/osd_pg_removeUnneededCount1
Sage Weil [Mon, 26 Sep 2016 20:42:05 +0000 (15:42 -0500)]
Merge pull request #11228 from stiopaa1/osd_pg_removeUnneededCount1

osd/PG.cc: remove unneeded use of count

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11229 from liewegas/wip-compressor
Ali Maredia [Mon, 26 Sep 2016 20:36:38 +0000 (16:36 -0400)]
Merge pull request #11229 from liewegas/wip-compressor

cmake: remove more autotools hacks

Reviewed-by: Ali Maredia <amaredia@redhat.com>
8 years agoceph-rest-api: drop autotools detection 11229/head
Sage Weil [Mon, 26 Sep 2016 19:33:31 +0000 (15:33 -0400)]
ceph-rest-api: drop autotools detection

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: drop autotools detection
Sage Weil [Mon, 26 Sep 2016 19:28:15 +0000 (15:28 -0400)]
vstart.sh: drop autotools detection

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodetect-build-env-vars.sh: drop autotools detection
Sage Weil [Mon, 26 Sep 2016 19:27:39 +0000 (15:27 -0400)]
detect-build-env-vars.sh: drop autotools detection

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph: remove autotools detection
Sage Weil [Mon, 26 Sep 2016 19:26:34 +0000 (15:26 -0400)]
ceph: remove autotools detection

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc: remove old .libs reference
Sage Weil [Mon, 26 Sep 2016 19:14:22 +0000 (15:14 -0400)]
doc: remove old .libs reference

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_compression_*: remove lib dir hackery
Sage Weil [Mon, 26 Sep 2016 19:14:07 +0000 (15:14 -0400)]
unittest_compression_*: remove lib dir hackery

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10143 from majianpeng/bluefs-fix
Sage Weil [Mon, 26 Sep 2016 18:09:44 +0000 (13:09 -0500)]
Merge pull request #10143 from majianpeng/bluefs-fix

os/bluestore/BlueFS: don't inc l_bluefs_files_written_wal if overwrite.

8 years agoMerge pull request #11138 from jcsp/wip-17236
John Spray [Mon, 26 Sep 2016 16:01:07 +0000 (17:01 +0100)]
Merge pull request #11138 from jcsp/wip-17236

mds: handle blacklisting during journal recovery

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agodoc: missing "make vstart" in quick_guide.rst 11226/head
Leo Zhang [Mon, 26 Sep 2016 15:25:29 +0000 (23:25 +0800)]
doc: missing "make vstart" in quick_guide.rst

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agoMerge pull request #11220 from stiopaa1/mds_mdsdaemon_CMDSTickclass
Sage Weil [Mon, 26 Sep 2016 14:27:54 +0000 (09:27 -0500)]
Merge pull request #11220 from stiopaa1/mds_mdsdaemon_CMDSTickclass

mds/MDSDaemon: move C_MDS_Tick class to .cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11224 from wjwithagen/patch-13
Sage Weil [Mon, 26 Sep 2016 14:27:27 +0000 (09:27 -0500)]
Merge pull request #11224 from wjwithagen/patch-13

osd-fast-mark-down.sh: fix typo in variable assignments

8 years agoMerge pull request #11212 from liewegas/wip-bluestore-spanning-leak
Sage Weil [Mon, 26 Sep 2016 13:45:52 +0000 (08:45 -0500)]
Merge pull request #11212 from liewegas/wip-bluestore-spanning-leak

os/bluestore: drop unreferenced spanning blobs

8 years agoMerge pull request #11223 from somnathr/wip-bluestore-leak-fix
Sage Weil [Mon, 26 Sep 2016 13:44:51 +0000 (08:44 -0500)]
Merge pull request #11223 from somnathr/wip-bluestore-leak-fix

os/bluestore: fix spanning blob leak from ~ExtentMap

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11219 from xiexingguo/xxg-wip-fsck-0924
Sage Weil [Mon, 26 Sep 2016 13:43:24 +0000 (08:43 -0500)]
Merge pull request #11219 from xiexingguo/xxg-wip-fsck-0924

os/bluestore: fix fsck() won't catch stray shard sometimes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorbd-mirror: test: Fixed timeout problem in rbd_mirror_stress.sh 10445/head
Ricardo Dias [Wed, 21 Sep 2016 22:08:18 +0000 (23:08 +0100)]
rbd-mirror: test: Fixed timeout problem in rbd_mirror_stress.sh

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agorbd: Fix race between journal flush and append events
Ricardo Dias [Tue, 6 Sep 2016 16:28:22 +0000 (17:28 +0100)]
rbd: Fix race between journal flush and append events

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agojournal: make librados call async in ObjectRecorder
Ricardo Dias [Wed, 7 Sep 2016 14:26:34 +0000 (15:26 +0100)]
journal: make librados call async in ObjectRecorder

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agoosd-fast-mark-down.sh: fix typo in variable assignments 11224/head
Willem Jan Withagen [Mon, 26 Sep 2016 12:44:32 +0000 (14:44 +0200)]
osd-fast-mark-down.sh: fix typo in variable assignments

Assignments to variables do not want a '$' in front of them.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agojournal: increase concurrency of journal recorder
Ricardo Dias [Mon, 25 Jul 2016 16:00:50 +0000 (17:00 +0100)]
journal: increase concurrency of journal recorder

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agoBlueStore: Fixed a memory leak 11223/head
Somnath Roy [Mon, 26 Sep 2016 00:52:00 +0000 (17:52 -0700)]
BlueStore: Fixed a memory leak

If a Blob is spanning is not getting deleted as spanning_blob_map
is holding one ref.Explicitly decreasing Blob ref from ExtentMap
destructor and erasing from spanning_blob_map is fixing the leak.

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
8 years agoMerge pull request #11196 from tchaikov/wip-lttng-the-right-way
Jason Dillaman [Sun, 25 Sep 2016 20:27:58 +0000 (16:27 -0400)]
Merge pull request #11196 from tchaikov/wip-lttng-the-right-way

lttng: build the tracepoint provider lib from .c files in repo

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoosd/PG.cc: remove unneeded use of count 11228/head
Michal Jarzabek [Sun, 25 Sep 2016 14:37:33 +0000 (15:37 +0100)]
osd/PG.cc: remove unneeded use of count

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agomds/MDSDaemon: move C_MDS_Tick class to .cc file 11220/head
Michal Jarzabek [Sat, 24 Sep 2016 19:37:49 +0000 (20:37 +0100)]
mds/MDSDaemon: move C_MDS_Tick class to .cc file

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11090 from dillaman/wip-16974
Mykola Golub [Sat, 24 Sep 2016 17:13:25 +0000 (20:13 +0300)]
Merge pull request #11090 from dillaman/wip-16974

rbd-mirror: force-promoted image will remain R/O until rbd-mirror daemon restarted

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoos/bluestore: fix dout of BlueStore::fiemap() 11219/head
xie xingguo [Sat, 24 Sep 2016 06:52:39 +0000 (14:52 +0800)]
os/bluestore: fix dout of BlueStore::fiemap()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: add a counter to trace checksum latency
xie xingguo [Sat, 24 Sep 2016 06:42:04 +0000 (14:42 +0800)]
os/bluestore: add a counter to trace checksum latency

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: remove a never reachable assert
xie xingguo [Sat, 24 Sep 2016 02:58:23 +0000 (10:58 +0800)]
os/bluestore: remove a never reachable assert

As this assert is deprecated by the
  "else if (it->key() >= tail)"
checking lying ahead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: promote output to derr on catching bad/stray objects
xie xingguo [Sat, 24 Sep 2016 02:55:34 +0000 (10:55 +0800)]
os/bluestore: promote output to derr on catching bad/stray objects

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fix fsck() won't catch stray shard sometimes
xie xingguo [Sat, 24 Sep 2016 01:50:01 +0000 (09:50 +0800)]
os/bluestore: fix fsck() won't catch stray shard sometimes

which is introduced by https://github.com/ceph/ceph/pull/11210/commits/dcfbc72fcbb48f4ced0c1a2d46a77f43bff38c9f

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11197 from yuyuyu101/wip-bluestore-misc
Sage Weil [Fri, 23 Sep 2016 22:50:10 +0000 (17:50 -0500)]
Merge pull request #11197 from yuyuyu101/wip-bluestore-misc

os/bluestore: misc cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11215 from stiopaa1/mon_paxos_moveContextClassesToCC
Sage Weil [Fri, 23 Sep 2016 22:09:37 +0000 (17:09 -0500)]
Merge pull request #11215 from stiopaa1/mon_paxos_moveContextClassesToCC

mon/Paxos: move classes to .cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: add a test 11216/head
Sage Weil [Fri, 23 Sep 2016 20:59:35 +0000 (16:59 -0400)]
ceph_test_objectstore: add a test

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: prevent extent merging across shard boundaries
Sage Weil [Fri, 23 Sep 2016 20:40:36 +0000 (16:40 -0400)]
os/bluestore: prevent extent merging across shard boundaries

We cannot have a single extent span a shard boundary.  If we reach
a shard boundary, stop merging extents.

Note that it might be better to move the shard boundary, but it is
awkward to force that to happen at this point.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/Paxos: move classes to .cc file 11215/head
Michal Jarzabek [Fri, 23 Sep 2016 18:43:56 +0000 (19:43 +0100)]
mon/Paxos: move classes to .cc file

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11170 from ukernel/wip-17253
John Spray [Fri, 23 Sep 2016 16:54:03 +0000 (17:54 +0100)]
Merge pull request #11170 from ukernel/wip-17253

client: fix segment fault in Client::_invalidate_kernel_dcache().

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11142 from hzhang-wx/master
Jason Dillaman [Fri, 23 Sep 2016 15:29:42 +0000 (11:29 -0400)]
Merge pull request #11142 from hzhang-wx/master

cls_rbd: clean up status from rbd-mirror if image removed

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10939 from oritwas/wip-rgw-acl-underscore
Yehuda Sadeh [Fri, 23 Sep 2016 15:24:05 +0000 (08:24 -0700)]
Merge pull request #10939 from oritwas/wip-rgw-acl-underscore

rgw: fix regression with handling double underscore

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11159 from linuxbox2/rgw-setattr-920
Casey Bodley [Fri, 23 Sep 2016 14:28:25 +0000 (10:28 -0400)]
Merge pull request #11159 from linuxbox2/rgw-setattr-920

rgw_file: fix set_attrs operation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoos/bluestore: drop unreferenced spanning blobs 11212/head
Sage Weil [Fri, 23 Sep 2016 14:16:10 +0000 (10:16 -0400)]
os/bluestore: drop unreferenced spanning blobs

Otherwise we can "leak" these and keep them around indefinitely.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11172 from batrick/ceph-conf-metavar
Sage Weil [Fri, 23 Sep 2016 13:45:02 +0000 (08:45 -0500)]
Merge pull request #11172 from batrick/ceph-conf-metavar

doc: add $pid metavar conf doc

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11200 from yuyuyu101/wip-upper-thread
Sage Weil [Fri, 23 Sep 2016 13:43:26 +0000 (08:43 -0500)]
Merge pull request #11200 from yuyuyu101/wip-upper-thread

msg/async: avoid set out of range ms_async_op_threads option

Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agoMerge pull request #9170 from Yan-waller/yj-wip-fixrgwnew
Orit Wasserman [Fri, 23 Sep 2016 13:40:23 +0000 (15:40 +0200)]
Merge pull request #9170 from Yan-waller/yj-wip-fixrgwnew

rgw/admin: fix some return values and indents
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11210 from xiexingguo/xxg-wip-bluestore-0923
Sage Weil [Fri, 23 Sep 2016 13:36:34 +0000 (08:36 -0500)]
Merge pull request #11210 from xiexingguo/xxg-wip-bluestore-0923

os/bluestore: more cleanups and fixes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10463 from gongchuang/gc-wip-test
John Spray [Fri, 23 Sep 2016 13:12:42 +0000 (14:12 +0100)]
Merge pull request #10463 from gongchuang/gc-wip-test

Client: fixup param type and return value

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agojournal: send update notification when tag allocated 11090/head
Jason Dillaman [Mon, 19 Sep 2016 15:24:17 +0000 (11:24 -0400)]
journal: send update notification when tag allocated

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: new journal listener event for force promotion
Jason Dillaman [Wed, 14 Sep 2016 01:54:46 +0000 (21:54 -0400)]
librbd: new journal listener event for force promotion

Fixes: http://tracker.ceph.com/issues/16974
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: helper class for quiescing in-flight async ops
Jason Dillaman [Tue, 13 Sep 2016 20:38:51 +0000 (16:38 -0400)]
librbd: helper class for quiescing in-flight async ops

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: unify journal event callbacks into single interface
Jason Dillaman [Tue, 13 Sep 2016 16:37:53 +0000 (12:37 -0400)]
librbd: unify journal event callbacks into single interface

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: expose ability to retrieve partial tag list
Jason Dillaman [Tue, 13 Sep 2016 20:28:50 +0000 (16:28 -0400)]
journal: expose ability to retrieve partial tag list

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoqa/workunits/rbd: fix remove mirrored image race conditions
Jason Dillaman [Wed, 14 Sep 2016 12:49:39 +0000 (08:49 -0400)]
qa/workunits/rbd: fix remove mirrored image race conditions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoqa/workunits/rbd: new mirroring forced promotion test
Jason Dillaman [Tue, 13 Sep 2016 16:32:45 +0000 (12:32 -0400)]
qa/workunits/rbd: new mirroring forced promotion test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11153 from dillaman/wip-17317
Mykola Golub [Fri, 23 Sep 2016 12:55:18 +0000 (15:55 +0300)]
Merge pull request #11153 from dillaman/wip-17317

test/rbd: fix possible mock journal race conditions

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11054 from rzarzynski/wip-rgw-postobj-nodynalloc
Orit Wasserman [Fri, 23 Sep 2016 12:20:00 +0000 (14:20 +0200)]
Merge pull request #11054 from rzarzynski/wip-rgw-postobj-nodynalloc

rgw: eradicate dynamic memory allocation in RGWPostObj.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoos/bluestore: fix potential access violation during shard-key scan 11210/head
xie xingguo [Fri, 23 Sep 2016 07:55:24 +0000 (15:55 +0800)]
os/bluestore: fix potential access violation during shard-key scan

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: kill unused variables "ekey"
xie xingguo [Fri, 23 Sep 2016 07:46:41 +0000 (15:46 +0800)]
os/bluestore: kill unused variables "ekey"

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11208 from tchaikov/wip-17380
Loic Dachary [Fri, 23 Sep 2016 07:26:29 +0000 (09:26 +0200)]
Merge pull request #11208 from tchaikov/wip-17380

osd: should not look up an empty pg

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #10949 from avnerbh/avnerbh-preforker-fix
Kefu Chai [Fri, 23 Sep 2016 07:16:41 +0000 (15:16 +0800)]
Merge pull request #10949 from avnerbh/avnerbh-preforker-fix

preforker: prevent call to 'write' on an fd that was already closed

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest: re-enable test_pg_scrub() test in ceph-helper.sh 11208/head
Kefu Chai [Fri, 23 Sep 2016 06:26:42 +0000 (14:26 +0800)]
test: re-enable test_pg_scrub() test in ceph-helper.sh

this reverts d053705. i disabled this test in hope to bisect the
offending tests that fail the mysterious jenkins failure, which was
fixed by 6f3ce3a.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoosd: should not look up an empty pg
Kefu Chai [Fri, 23 Sep 2016 06:20:37 +0000 (14:20 +0800)]
osd: should not look up an empty pg

this fixes the scrub timeouts we spotted in jenkins run and qa run.
it's a regression introduced by c2b7cdb

Fixes: http://tracker.ceph.com/issues/17380
Signed-off-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: drop csum_enabled parameter from blob::get_chunk_size()
xie xingguo [Fri, 23 Sep 2016 06:14:14 +0000 (14:14 +0800)]
os/bluestore: drop csum_enabled parameter from blob::get_chunk_size()

The only two callers from bluestore now always set csum_enabled to true,
so there is no need to keep this parameter any more.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: simplify BlueStore::_setup_block_symlink_or_file()
xie xingguo [Fri, 23 Sep 2016 05:57:21 +0000 (13:57 +0800)]
os/bluestore: simplify BlueStore::_setup_block_symlink_or_file()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11205 from liewegas/wip-async-debug
Haomai Wang [Fri, 23 Sep 2016 01:53:50 +0000 (09:53 +0800)]
Merge pull request #11205 from liewegas/wip-async-debug

msg/async: less verbose debug messages at debug_ms=1

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agorgw_file: fix set_attrs operation 11159/head
Matt Benjamin [Tue, 20 Sep 2016 21:32:03 +0000 (17:32 -0400)]
rgw_file: fix set_attrs operation

The effective part of this change is to always set a value
for RGW_ATTR_UNIX_KEY1 (because it is expected later).

Secondarily, do not pass the address of the to-set attributes
buffer::list as remove attrs--this is confusing.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #11181 from linuxbox2/rgw-legacy-time
Casey Bodley [Thu, 22 Sep 2016 20:27:54 +0000 (16:27 -0400)]
Merge pull request #11181 from linuxbox2/rgw-legacy-time

rgw_file:  pre-assign times

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11048 from jimifm/wip-FDCache-master
Sage Weil [Thu, 22 Sep 2016 19:02:19 +0000 (14:02 -0500)]
Merge pull request #11048 from jimifm/wip-FDCache-master

os/filestore/FDCache: fix bug when filestore_fd_cache_shards = 0

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: no need for ..."started." suffix 11205/head
Sage Weil [Thu, 22 Sep 2016 18:57:08 +0000 (14:57 -0400)]
msg/async: no need for ..."started." suffix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: less noisy about EventCenter owner
Sage Weil [Thu, 22 Sep 2016 18:56:22 +0000 (14:56 -0400)]
msg/async: less noisy about EventCenter owner

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: make rx line look like normal debug
Sage Weil [Thu, 22 Sep 2016 18:56:13 +0000 (14:56 -0400)]
msg/async: make rx line look like normal debug

The DispatchQueue prints the traditional ==== line.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: make send debug line look like SimpleMessenger's
Sage Weil [Thu, 22 Sep 2016 18:55:55 +0000 (14:55 -0400)]
msg/async: make send debug line look like SimpleMessenger's

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async/AsyncConnection: less noisy about connection top
Sage Weil [Thu, 22 Sep 2016 18:46:37 +0000 (14:46 -0400)]
msg/async/AsyncConnection: less noisy about connection top

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async/EventCenter: less noisy debug on events
Sage Weil [Thu, 22 Sep 2016 18:45:45 +0000 (14:45 -0400)]
msg/async/EventCenter: less noisy debug on events

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11190 from tchaikov/wip-memstore-clone-fixture
Casey Bodley [Thu, 22 Sep 2016 18:21:27 +0000 (14:21 -0400)]
Merge pull request #11190 from tchaikov/wip-memstore-clone-fixture

tests: use a fixture for memstore clone testing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomsg/async: avoid set out of range ms_async_op_threads option 11200/head
Haomai Wang [Thu, 22 Sep 2016 15:15:58 +0000 (23:15 +0800)]
msg/async: avoid set out of range ms_async_op_threads option

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #10587 from b-ranto/wip-logrotate-root
Boris Ranto [Thu, 22 Sep 2016 16:22:53 +0000 (18:22 +0200)]
Merge pull request #10587 from b-ranto/wip-logrotate-root

logrotate: Run as root/ceph

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #7338 from ceph/cls-lua
Yuri Weinstein [Thu, 22 Sep 2016 16:17:57 +0000 (09:17 -0700)]
Merge pull request #7338 from ceph/cls-lua

Lua object class support

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Ken Dreyer (Red Hat) <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10135 from david-z/wip-enhance-ceph-disk-bluestore
Loic Dachary [Thu, 22 Sep 2016 16:13:00 +0000 (18:13 +0200)]
Merge pull request #10135 from david-z/wip-enhance-ceph-disk-bluestore

ceph-disk: support creating block.db and block.wal with customized size for bluestore

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #10371 from Yan-waller/yj-wip-msgsimple-0720
Yuri Weinstein [Thu, 22 Sep 2016 16:10:01 +0000 (09:10 -0700)]
Merge pull request #10371 from Yan-waller/yj-wip-msgsimple-0720

msg/simple: close the failed socket fds

https://github.com/ceph/ceph/pull/11052

8 years agoMerge pull request #11052 from yuyuyu101/wip-shutdown-deadlock
Yuri Weinstein [Thu, 22 Sep 2016 16:03:39 +0000 (09:03 -0700)]
Merge pull request #11052 from yuyuyu101/wip-shutdown-deadlock

OSD: avoid FileStore finisher deadlock in osd_lock when shutdown OSD

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11082 from aiicore/nearfull_flag_fix
Yuri Weinstein [Thu, 22 Sep 2016 16:01:24 +0000 (09:01 -0700)]
Merge pull request #11082 from aiicore/nearfull_flag_fix

mon: OSDMonitor: Missing nearfull flag set

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11089 from dachary/wip-16477-ceph-helper
Kefu Chai [Thu, 22 Sep 2016 15:26:32 +0000 (23:26 +0800)]
Merge pull request #11089 from dachary/wip-16477-ceph-helper

cli: retry when the mon is not configured

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11199 from yuyuyu101/wip-17378
Sage Weil [Thu, 22 Sep 2016 15:25:09 +0000 (10:25 -0500)]
Merge pull request #11199 from yuyuyu101/wip-17378

msg/async: remove fd output in log prefix

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11195 from xiexingguo/xxg-wip-csum-improve
Sage Weil [Thu, 22 Sep 2016 15:14:20 +0000 (10:14 -0500)]
Merge pull request #11195 from xiexingguo/xxg-wip-csum-improve

os/bluestore: a few fixes about  the global csum setting

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: remove fd output in log prefix 11199/head
Haomai Wang [Thu, 22 Sep 2016 15:11:09 +0000 (23:11 +0800)]
msg/async: remove fd output in log prefix

it's tricky to prevent fd racing in logs, otherwise we need to provide with
lock to totally avoid this. But I don't think it deserve lock

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #11182 from ceph/wip-docs-rm-ink
Sage Weil [Thu, 22 Sep 2016 14:59:37 +0000 (09:59 -0500)]
Merge pull request #11182 from ceph/wip-docs-rm-ink

remove old references to inktank premium support

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11194 from wjwithagen/wip-wjw-rocksdb-include
Kefu Chai [Thu, 22 Sep 2016 14:57:20 +0000 (22:57 +0800)]
Merge pull request #11194 from wjwithagen/wip-wjw-rocksdb-include

src/kv/CMakeLists.txt: force rocksdb/include to first include directory

Reviewed-by: Kefu Chai <kchai@redhat.com>