]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge PR #21238 into master
Patrick Donnelly [Fri, 6 Apr 2018 00:03:18 +0000 (17:03 -0700)]
Merge PR #21238 into master

* refs/pull/21238/head:
doc: fix typos and other minor errors in cephfs-nfs doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21204 into master
Patrick Donnelly [Fri, 6 Apr 2018 00:02:20 +0000 (17:02 -0700)]
Merge PR #21204 into master

* refs/pull/21204/head:
mds: PendingReleaseNotes and dev doc for open file table

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20992 from cbodley/wip-dmclock-remove-by-ptr
Matt Benjamin [Thu, 5 Apr 2018 18:57:41 +0000 (14:57 -0400)]
Merge pull request #20992 from cbodley/wip-dmclock-remove-by-ptr

dmclock: update mClockPriorityQueue with changes in subtree

7 years agoMerge pull request #21261 from batrick/ceph-update-ceph-object-corpus
Sage Weil [Thu, 5 Apr 2018 17:55:18 +0000 (12:55 -0500)]
Merge pull request #21261 from batrick/ceph-update-ceph-object-corpus

ceph-object-corpus: update to fix make check

7 years agoceph-object-corpus: update to fix make check 21261/head
Patrick Donnelly [Thu, 5 Apr 2018 17:50:32 +0000 (10:50 -0700)]
ceph-object-corpus: update to fix make check

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21148 from wjwithagen/wjw-setup-virtualenv
Nathan Cutler [Thu, 5 Apr 2018 13:14:13 +0000 (15:14 +0200)]
Merge pull request #21148 from wjwithagen/wjw-setup-virtualenv

tools: FreeBSD basic getopt does not use --options

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #21237 from guzhongyan/zabbix-fix
John Spray [Thu, 5 Apr 2018 11:00:40 +0000 (12:00 +0100)]
Merge pull request #21237 from guzhongyan/zabbix-fix

mgr/zabbix: Fix wrong log message

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21253 from ceph/wip-yuriw-crontab
Kefu Chai [Thu, 5 Apr 2018 07:04:02 +0000 (15:04 +0800)]
Merge pull request #21253 from ceph/wip-yuriw-crontab

tests/qa - enabled `ceph-deploy` runs on `mira` nodes

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge PR #21254 into master
Patrick Donnelly [Thu, 5 Apr 2018 04:13:35 +0000 (21:13 -0700)]
Merge PR #21254 into master

* refs/pull/21254/head:
mds: bump mds_log_max_segments for trim buffer

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #21252 from neha-ojha/wip-modify-crontab
Josh Durgin [Thu, 5 Apr 2018 00:50:07 +0000 (17:50 -0700)]
Merge pull request #21252 from neha-ojha/wip-modify-crontab

qa/crontab: run the perf-basic suite every day

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agomds: bump mds_log_max_segments for trim buffer 21254/head
Patrick Donnelly [Wed, 4 Apr 2018 23:47:06 +0000 (16:47 -0700)]
mds: bump mds_log_max_segments for trim buffer

Under create heavy workloads, the MDS will sometimes get behind trimming but
catch up. This avoids unnecessary warnings.

Fixes: http://tracker.ceph.com/issues/23560
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agotests/qa - enabled `ceph-deploy` runs on `mira` nodes 21253/head
Yuri Weinstein [Wed, 4 Apr 2018 23:18:41 +0000 (16:18 -0700)]
tests/qa - enabled `ceph-deploy` runs on `mira` nodes

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoqa/crontab: run the perf-basic suite every day 21252/head
Neha Ojha [Wed, 4 Apr 2018 21:33:11 +0000 (14:33 -0700)]
qa/crontab: run the perf-basic suite every day

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #21101 from dzafman/wip-23267
Josh Durgin [Wed, 4 Apr 2018 21:06:46 +0000 (14:06 -0700)]
Merge pull request #21101 from dzafman/wip-23267

scrub errors not cleared on replicas can cause inconsistent pg state when replica takes over primary

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21146 from zmc/wip-cephmetrics
vasukulkarni [Wed, 4 Apr 2018 15:28:57 +0000 (08:28 -0700)]
Merge pull request #21146 from zmc/wip-cephmetrics

qa/suites/cephmetrics: Updates for new version

7 years agoMerge pull request #21244 from ifed01/wip-ifed-min-blob-descr
Sage Weil [Wed, 4 Apr 2018 15:18:21 +0000 (10:18 -0500)]
Merge pull request #21244 from ifed01/wip-ifed-min-blob-descr

os/bluestore: update description for bluestore_compression_[min|max|_blob_size options

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: update description for 21244/head
Igor Fedotov [Wed, 4 Apr 2018 14:01:51 +0000 (17:01 +0300)]
os/bluestore: update description for
bluestore_compression_[min|max|_blob_size options

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agodoc: fix typos and other minor errors in cephfs-nfs doc 21238/head
Ramana Raja [Wed, 4 Apr 2018 09:42:02 +0000 (15:12 +0530)]
doc: fix typos and other minor errors in cephfs-nfs doc

Signed-off-by: Ramana Raja <rraja@redhat.com>
7 years agomgr/zabbix: Fix wrong log message 21237/head
Gu Zhongyan [Wed, 4 Apr 2018 09:29:49 +0000 (17:29 +0800)]
mgr/zabbix: Fix wrong log message

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agoMerge pull request #21087 from ricardoasmarques/wip-date-pipe
Lenz Grimmer [Wed, 4 Apr 2018 09:29:44 +0000 (11:29 +0200)]
Merge pull request #21087 from ricardoasmarques/wip-date-pipe

mgr/dashboard: Add CdDatePipe

Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21060 from ricardoasmarques/wip-view-cache-status-for
Ricardo Dias [Wed, 4 Apr 2018 06:52:39 +0000 (07:52 +0100)]
Merge pull request #21060 from ricardoasmarques/wip-view-cache-status-for

mgr/dashboard: Support aditional info on 'cd-view-cache'

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21045 from votdev/remove_useless_code
Ricardo Dias [Wed, 4 Apr 2018 06:33:01 +0000 (07:33 +0100)]
Merge pull request #21045 from votdev/remove_useless_code

mgr/dashboard: Remove unused code

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge PR #16779 into master
Patrick Donnelly [Tue, 3 Apr 2018 22:41:19 +0000 (15:41 -0700)]
Merge PR #16779 into master

* refs/pull/16779/head:
mds: cleanup MDCache::open_snaprealms()
mds: make sure snaptable version > 0
mds: don't consider CEPH_INO_LOST_AND_FOUND as base inode
mds: replace MAX() with std::max()
tools/cephfs: make cephfs-data-scan create snaprealm for base inodes
qa/cephfs: don't run TestSnapshots.test_kill_mdstable on kclient
qa/cephfs: adjust check of 'cephfs-table-tool all show snap' output
mds: don't warn unconnected snaplrealms in cluster log
mds: update CInode/CDentry's first according to global snapshot seq
qa/cephfs: add tests for snapclient cache
qa/cephfs: add tests for snaptable transaction
mds: add asok command that dumps cached snap infos
qa/cephfs: add tests for multimds snapshot
client: don't mark snap directory complete when its dirstat is empty
qa/workunits/snaps: add snaprealm split test
mds: make sure mds has uptodate mdsmap before checking 'allows_snaps'
client: fix incorrect snaprealm when adding caps
qa/workunits/snaps: add hardlink snapshot test
mds: add incompat feature and bump protocol for snapshot changes
mds: detach inode with single hardlink from global snaprealm
mds: record hardlink snaps in inode's snaprealm
mds: attach inode with multiple hardlinks to dummy global snaprealm
mds: cleanup rename code
mds: ensure xlocker has uptodate lock state
mds: simplify SnapRealm::build_snap_{set,trace}
mds: record global last_created/last_destroyed in snaptable
mds: pop projected snaprealm before inode's parent changes
mds: keep isnap lock in sync state
mds: handle mksnap vs resolve_snapname race
mds: cleanup snaprealm past parents open check
mds: rollback snaprealms when rolling back slave request
mds: send updated snaprealms along with slave requests
mds: explict notification for snap update
mds: send snap related messages centrally during mds recovery
mds: synchronize snaptable caches when mds recovers
mds: introduce MDCache::maybe_finish_slave_resolve()
mds: notify all mds about prepared snaptable update
mds: record snaps in old snaprealm when moving inode into new snaprealm
mds: cache snaptable in snapclient
mds: recover snaptable client when mds enters resolve state

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa/suites/cephmetrics: Add new facets 21146/head
Zack Cerza [Wed, 21 Mar 2018 22:00:58 +0000 (16:00 -0600)]
qa/suites/cephmetrics: Add new facets

For EPEL and containerized prometheus/grafana

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoqa/suites/cephmetrics: Update ceph-ansible config
Zack Cerza [Wed, 21 Mar 2018 21:02:52 +0000 (15:02 -0600)]
qa/suites/cephmetrics: Update ceph-ansible config

This is taken from the ceph-ansible suite.

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoMerge PR #20915 into master
Patrick Donnelly [Tue, 3 Apr 2018 19:52:48 +0000 (12:52 -0700)]
Merge PR #20915 into master

* refs/pull/20915/head:
Add config doc for exporting CephFS over NFS

Reviewed-by: Jeff Layton <jlayton@redhat.com>
7 years agoosd: Fix stale scrub stats when a primary takes over 21101/head
David Zafman [Wed, 28 Mar 2018 17:21:39 +0000 (10:21 -0700)]
osd: Fix stale scrub stats when a primary takes over

Fixes: http://tracker.ceph.com/issues/23267
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge PR #21003 into master
Patrick Donnelly [Tue, 3 Apr 2018 18:38:43 +0000 (11:38 -0700)]
Merge PR #21003 into master

* refs/pull/21003/head:
client: lookup . on non-directory inode
client: avoid may_lookup for lookup . and lookup ..

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #21221 into master
Patrick Donnelly [Tue, 3 Apr 2018 18:36:58 +0000 (11:36 -0700)]
Merge PR #21221 into master

* refs/pull/21221/head:
client: fix _read return for invalid offset

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoclient: fix _read return for invalid offset 21221/head
Patrick Donnelly [Tue, 3 Apr 2018 04:33:07 +0000 (21:33 -0700)]
client: fix _read return for invalid offset

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21088 into master
Patrick Donnelly [Tue, 3 Apr 2018 18:33:55 +0000 (11:33 -0700)]
Merge PR #21088 into master

* refs/pull/21088/head:
client: fixup warning

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21050 from falcon78921/wip-doc-falcon78921
John Wilkins [Tue, 3 Apr 2018 16:55:06 +0000 (09:55 -0700)]
Merge pull request #21050 from falcon78921/wip-doc-falcon78921

doc: updated add primary storage documentation for latest CloudStack release (4.11)

reviewed-by: John Wilkins <jowilkin@redhat.com>

7 years agoMerge pull request #21218 from ceph/wip-dgall-crontab
David Galloway [Tue, 3 Apr 2018 16:27:34 +0000 (12:27 -0400)]
Merge pull request #21218 from ceph/wip-dgall-crontab

test:qa:infra - Run update daily and use bash

7 years agotest:qa:infra - Run update daily and use bash 21218/head
David Galloway [Tue, 3 Apr 2018 15:39:13 +0000 (11:39 -0400)]
test:qa:infra - Run update daily and use bash

bash has the path for `source` to activate the virtualenv.  sh doesn't.

[skip ci]

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge tag 'v13.0.2'
Sage Weil [Tue, 3 Apr 2018 15:08:22 +0000 (10:08 -0500)]
Merge tag 'v13.0.2'

v13.0.2

7 years agomgr/dashboard: Add CdDatePipe 21087/head
Ricardo Marques [Wed, 28 Mar 2018 06:47:37 +0000 (07:47 +0100)]
mgr/dashboard: Add CdDatePipe

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge PR #21180 into master
Patrick Donnelly [Tue, 3 Apr 2018 13:51:18 +0000 (06:51 -0700)]
Merge PR #21180 into master

* refs/pull/21180/head:
vstart_runner: examine check_status before error

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20460 from colletj/v1_image_creation_disallow
Jason Dillaman [Tue, 3 Apr 2018 13:17:21 +0000 (09:17 -0400)]
Merge pull request #20460 from colletj/v1_image_creation_disallow

librbd: disallow creation of v1 image format

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21202 from tchaikov/wip-rbd-replay
Jason Dillaman [Tue, 3 Apr 2018 13:14:39 +0000 (09:14 -0400)]
Merge pull request #21202 from tchaikov/wip-rbd-replay

rbd-replay: remove boost dependency

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21142 from dragonylffly/wip-fix-ebusy
Jason Dillaman [Tue, 3 Apr 2018 11:39:15 +0000 (07:39 -0400)]
Merge pull request #21142 from dragonylffly/wip-fix-ebusy

rbd-nbd: fix ebusy when do map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21157 from trociny/wip-23526
Jason Dillaman [Tue, 3 Apr 2018 11:38:40 +0000 (07:38 -0400)]
Merge pull request #21157 from trociny/wip-23526

journal: limit number of appends sent in one librados op

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agomds: PendingReleaseNotes and dev doc for open file table 21204/head
Yan, Zheng [Tue, 3 Apr 2018 09:01:52 +0000 (17:01 +0800)]
mds: PendingReleaseNotes and dev doc for open file table

Fixes: http://tracker.ceph.com/issues/23532
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agorbd-replay: remove boost dependency 21202/head
Kefu Chai [Sun, 9 Aug 2015 07:40:53 +0000 (00:40 -0700)]
rbd-replay: remove boost dependency

quite a few facilies are now available in standard library now after we
switched to C++17.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: Remove useless code 21045/head
Volker Theile [Mon, 26 Mar 2018 13:13:48 +0000 (15:13 +0200)]
mgr/dashboard: Remove useless code

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge PR #20855 into master
Patrick Donnelly [Tue, 3 Apr 2018 04:15:20 +0000 (21:15 -0700)]
Merge PR #20855 into master

* refs/pull/20855/head:
client: add the fuse parameter max_write

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21096 into master
Patrick Donnelly [Tue, 3 Apr 2018 04:10:56 +0000 (21:10 -0700)]
Merge PR #21096 into master

* refs/pull/21096/head:
pybind/cephfs: added comments to cephfs.pyx

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21183 from neha-ojha/wip-minor-fix-perf-suite
Yuri Weinstein [Mon, 2 Apr 2018 20:56:08 +0000 (13:56 -0700)]
Merge pull request #21183 from neha-ojha/wip-minor-fix-perf-suite

qa/suites/perf-basic: add desc regarding test machines

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #21075 from ceph/wip-yuriw-try-crontab
David Galloway [Mon, 2 Apr 2018 20:08:02 +0000 (16:08 -0400)]
Merge pull request #21075 from ceph/wip-yuriw-try-crontab

test:qa:infra - teuthology crontab items as of 3/27/18

7 years agoqa/suites/perf-basic: add desc regarding test machines 21183/head
Neha Ojha [Mon, 2 Apr 2018 19:43:20 +0000 (12:43 -0700)]
qa/suites/perf-basic: add desc regarding test machines

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agojournal: limit number of appends sent in one librados op 21157/head
Mykola Golub [Sat, 24 Mar 2018 06:22:53 +0000 (08:22 +0200)]
journal: limit number of appends sent in one librados op

Fixes: http://tracker.ceph.com/issues/23526
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21165 from Songweibin/wip-drop-redefine-func
Jason Dillaman [Mon, 2 Apr 2018 15:17:04 +0000 (11:17 -0400)]
Merge pull request #21165 from Songweibin/wip-drop-redefine-func

librbd: minor code cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agovstart_runner: examine check_status before error 21180/head
Patrick Donnelly [Mon, 2 Apr 2018 15:05:53 +0000 (08:05 -0700)]
vstart_runner: examine check_status before error

Issue found by Rishabh Dave. Fix suggested by John Spray.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoCMakeLists: v13.0.2 v13.0.2
Sage Weil [Mon, 2 Apr 2018 15:03:02 +0000 (10:03 -0500)]
CMakeLists: v13.0.2

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21143 from wjwithagen/wjw-ipaddr-ipv6
Kefu Chai [Mon, 2 Apr 2018 14:10:30 +0000 (22:10 +0800)]
Merge pull request #21143 from wjwithagen/wjw-ipaddr-ipv6

common: FreeBSD wants the correct struct selection for ipv6

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21136 from kungf/io_events
Kefu Chai [Mon, 2 Apr 2018 14:08:17 +0000 (22:08 +0800)]
Merge pull request #21136 from kungf/io_events

bluestore: fix aio_t::rval  type

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20820 from guzhongyan/nodels-improve
Kefu Chai [Mon, 2 Apr 2018 14:06:49 +0000 (22:06 +0800)]
Merge pull request #20820 from guzhongyan/nodels-improve

mon: node ls improvement

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20298 from markhpc/wip-osd-check_full
Kefu Chai [Mon, 2 Apr 2018 14:05:57 +0000 (22:05 +0800)]
Merge pull request #20298 from markhpc/wip-osd-check_full

osd: don't process ostream strings when not debugging.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoAdd config doc for exporting CephFS over NFS 20915/head
Ramana Raja [Thu, 15 Mar 2018 12:47:17 +0000 (18:17 +0530)]
Add config doc for exporting CephFS over NFS

... using NFS-Ganesha NFS server.

Fixes: https://tracker.ceph.com/issues/23271
Signed-off-by: Ramana raja <rraja@redhat.com>
7 years agoMerge pull request #21159 from tchaikov/wip-no-more-use-wheel
Kefu Chai [Mon, 2 Apr 2018 12:00:51 +0000 (20:00 +0800)]
Merge pull request #21159 from tchaikov/wip-no-more-use-wheel

src: s/pip --use-wheel/pip/

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agopybind/rbd: normalize errno exception 21165/head
songweibin [Mon, 2 Apr 2018 03:31:04 +0000 (11:31 +0800)]
pybind/rbd: normalize errno exception

The code meant to do so but actually it does not ...

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agolibrbd: return error when r < 0
songweibin [Mon, 2 Apr 2018 03:09:26 +0000 (11:09 +0800)]
librbd: return error when r < 0

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agolibrbd: drop a duplicate definition function
songweibin [Mon, 2 Apr 2018 01:29:26 +0000 (09:29 +0800)]
librbd: drop a duplicate definition function

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agosrc: s/--use-wheel// 21159/head
Kefu Chai [Sun, 1 Apr 2018 12:27:24 +0000 (20:27 +0800)]
src: s/--use-wheel//

--use-wheel was deprecated in favor of --only-binary in pip v7.0.0. and
--use-wheel was removed in a recent release of pip. but some packages
are source packages, so we cannot simply replace use-wheel with
only-binary. so a simpler approach is to drop --use-wheel option, as pip
respects --find-links, and will find the required package from the
wheelhouse.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotools: FreeBSD basic getopt does not use --options 21148/head
Willem Jan Withagen [Sat, 31 Mar 2018 00:01:01 +0000 (02:01 +0200)]
tools: FreeBSD basic getopt does not use --options

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge PR #20132 into master
Patrick Donnelly [Sat, 31 Mar 2018 05:25:10 +0000 (22:25 -0700)]
Merge PR #20132 into master

* refs/pull/20132/head:
qa/cephfs: update TestDamage for open file table
mds: allow storing open file table in multiple omaps
mds: differentiate Anchor types to clarify purpose
mds: add perf counter for 'open ino' operation
mds: protect open file table against partial omap update
mds: add dirfrags whose child inodes have caps to open file table
mds: don't try prefetching destroyed inodes
mds: don't try opening inodes that haven't been created
mds: don't re-requeue open files to head of log
mds: use open file table to speed up mds recovery
mds: introduce open file table
mds: track how many clients/mds want caps for each inode
mds: cleanup MDCache::opening_inodes access
mds: cleanup CInode/CDir states definition

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21147 from rjfd/wip-dashboard-fix-notification-queue-test
Kefu Chai [Sat, 31 Mar 2018 00:59:07 +0000 (08:59 +0800)]
Merge pull request #21147 from rjfd/wip-dashboard-fix-notification-queue-test

mgr/dashboard: notification queue: fix priority tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: notification queue: fix priority tests 21147/head
Ricardo Dias [Fri, 30 Mar 2018 22:18:05 +0000 (23:18 +0100)]
mgr/dashboard: notification queue: fix priority tests

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20979 from ceph/wip-cd-smoke-fix
vasukulkarni [Fri, 30 Mar 2018 19:20:09 +0000 (12:20 -0700)]
Merge pull request #20979 from ceph/wip-cd-smoke-fix

qa/tests: use ceph-deploy stable branch for single node tests

7 years agoqa/tests: use stable branch for single node tests 20979/head
Vasu Kulkarni [Fri, 16 Mar 2018 23:25:09 +0000 (16:25 -0700)]
qa/tests: use stable branch for single node tests

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agocommon: FreeBSD wants the correct struct selection for ipv6 21143/head
Willem Jan Withagen [Fri, 30 Mar 2018 14:53:48 +0000 (16:53 +0200)]
common: FreeBSD wants the correct struct selection for ipv6

Lets see if this also works for Linux

Fixes: http://tracker.ceph.com/issues/21813
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agorbd-nbd: fix ebusy when do map 21142/head
Li Wang [Thu, 7 Dec 2017 14:03:45 +0000 (22:03 +0800)]
rbd-nbd: fix ebusy when do map

When doing rbd-nbd map, if the Ceph service is not available,
the codes will wait on rados.connect(), unless killing the process.
In that case, the close_nbd logic is skipped with NBD_CLEAR_SOCK ioctl
not called. On the CentOS 7 kernel, it leaves nbd->file not cleared, which
causes the subsequent map requests return EBUSY, this patch fixes it
by connecting Ceph first prior to calling NBD_SET_SOCK ioctl

Fixes: http://tracker.ceph.com/issues/23528
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
7 years agolibrbd/cli-integration: Permit V1 image creation 20460/head
Julien COLLET [Tue, 27 Mar 2018 13:53:32 +0000 (15:53 +0200)]
librbd/cli-integration: Permit V1 image creation

Signed-off-by: Julien COLLET <julien.collet@cern.ch>
7 years agoMerge pull request #18317 from hitoshikamei/master-rbd
Jason Dillaman [Fri, 30 Mar 2018 12:45:15 +0000 (08:45 -0400)]
Merge pull request #18317 from hitoshikamei/master-rbd

rbd: eager-thick provisioning support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20868 from shun-s/fix-same-cookie
Jason Dillaman [Fri, 30 Mar 2018 12:44:49 +0000 (08:44 -0400)]
Merge pull request #20868 from shun-s/fix-same-cookie

librbd: fix refuse to release lock when cookie is the same at rewatch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20935 from trociny/wip-get-name
Jason Dillaman [Fri, 30 Mar 2018 12:44:28 +0000 (08:44 -0400)]
Merge pull request #20935 from trociny/wip-get-name

librbd: add API function to get image name

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoos/bluestore: change the type of aio_t:res to long 21136/head
kungf [Fri, 30 Mar 2018 12:15:42 +0000 (20:15 +0800)]
os/bluestore: change the type of aio_t:res to long

io_event::res was assigned to io_t::rval, but io_event::res
is long, if rval is int, this will cause overflow.

Fixes: http://tracker.ceph.com/issues/23527
Signed-off-by: kungf <yang.wang@easystack.cn>
7 years agoMerge pull request #21117 from smithfarm/wip-23504
Kefu Chai [Fri, 30 Mar 2018 01:45:44 +0000 (09:45 +0800)]
Merge pull request #21117 from smithfarm/wip-23504

tests: remove TestPGLog ASSERT_DEATH test

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #20927 into master
Patrick Donnelly [Thu, 29 Mar 2018 21:03:36 +0000 (14:03 -0700)]
Merge PR #20927 into master

* refs/pull/20927/head:
doc: use actual entity address for clarity
doc: make minor grammatical rectifications

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21131 from trociny/wip-23502
Jason Dillaman [Thu, 29 Mar 2018 19:45:07 +0000 (15:45 -0400)]
Merge pull request #21131 from trociny/wip-23502

qa/suites/rbd: set qemu task time_wait param

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc: Edits 21050/head
John Wilkins [Tue, 27 Mar 2018 17:55:13 +0000 (10:55 -0700)]
doc: Edits

Made a few minor edits.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agodoc: Updated add primary storage documentation for latest CloudStack release (4.11)
falcon78921 [Mon, 26 Mar 2018 19:44:11 +0000 (15:44 -0400)]
doc: Updated add primary storage documentation for latest CloudStack release (4.11)

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
7 years agoosd/OSD: make dout in _check_full conditional 20298/head
Mark Nelson [Thu, 29 Mar 2018 17:47:19 +0000 (12:47 -0500)]
osd/OSD: make dout in _check_full conditional

Signed-off-by: Mark Nelson <mnelson@redhat.com>
7 years agoMerge PR #20983 into master
Patrick Donnelly [Thu, 29 Mar 2018 16:47:59 +0000 (09:47 -0700)]
Merge PR #20983 into master

* refs/pull/20983/head:
ceph_authtool: add mode option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoceph_authtool: add mode option 20983/head
Sébastien Han [Fri, 23 Jun 2017 13:45:57 +0000 (15:45 +0200)]
ceph_authtool: add mode option

We now have the ability to set the keyring file mode with the help of
'--mode MODE'. The mode needs to be specified in octal using the format:
0600.

Closes: http://tracker.ceph.com/issues/23513
Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoqa/suites/rbd: set qemu task time_wait param 21131/head
Mykola Golub [Thu, 29 Mar 2018 11:10:58 +0000 (14:10 +0300)]
qa/suites/rbd: set qemu task time_wait param

so workloads qemu_dynamic_features.sh and qemu_rebuild_object_map.sh,
which check if qemu is finished with periodicity 60 sec, have enough
time to detect this before the rbd image is removed.

Fixes: https://tracker.ceph.com/issues/23502
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoqa/tasks/qemu: add a parameter to wait for workloads detect qemu finished
Mykola Golub [Thu, 29 Mar 2018 11:06:13 +0000 (14:06 +0300)]
qa/tasks/qemu: add a parameter to wait for workloads detect qemu finished

In the case when a workload needs to detect qemu finished by running a
check with a periodicity of N sec it needs to set time_wait to 2 * N
in order to avoid races on finish.

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agotest:qa:infra - teuthology crontab items as of 3/27/18 21075/head
Yuri Weinstein [Sun, 25 Mar 2018 00:42:36 +0000 (17:42 -0700)]
test:qa:infra - teuthology crontab items as of 3/27/18

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21121 from tchaikov/wip-no-relicensing
Kefu Chai [Thu, 29 Mar 2018 13:21:49 +0000 (21:21 +0800)]
Merge pull request #21121 from tchaikov/wip-no-relicensing

msg/async/dpdk: remove xsky copyright and LGPL copying

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #21105 from ashitakasam/wip-bug
Casey Bodley [Thu, 29 Mar 2018 13:19:22 +0000 (09:19 -0400)]
Merge pull request #21105 from ashitakasam/wip-bug

rgw: comparison between signed and unsigned integer expressions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21074 from trociny/wip-librados_test_stub-append
Jason Dillaman [Thu, 29 Mar 2018 12:18:32 +0000 (08:18 -0400)]
Merge pull request #21074 from trociny/wip-librados_test_stub-append

test/librados_test_stub: always create copy of buffers passed to operation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21116 from trociny/wip-23499
Jason Dillaman [Thu, 29 Mar 2018 12:17:51 +0000 (08:17 -0400)]
Merge pull request #21116 from trociny/wip-23499

qa/workunits/rbd: remove sanity check in test_admin_socket.sh

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agomsg/async/dpdk: remove xsky copyright and LGPL copying 21121/head
Kefu Chai [Thu, 29 Mar 2018 11:33:44 +0000 (19:33 +0800)]
msg/async/dpdk: remove xsky copyright and LGPL copying

it's not legitimate to relicense source code without original author's
permission. some of the source files are copied from seastar project
with minor changes. so xsky cannot claim the copyright of them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21107 from tchaikov/wip-pg-stat-cap-trimq
Kefu Chai [Thu, 29 Mar 2018 10:54:56 +0000 (18:54 +0800)]
Merge pull request #21107 from tchaikov/wip-pg-stat-cap-trimq

osd: cap snaptrimq_len at 2^32

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #21106 from tchaikov/wip-compressor-zstd
Kefu Chai [Thu, 29 Mar 2018 10:54:22 +0000 (18:54 +0800)]
Merge pull request #21106 from tchaikov/wip-compressor-zstd

compressor: add zstd back

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21097 from ceph/wip-ifed-fix-reclaim-cap-bug
Kefu Chai [Thu, 29 Mar 2018 10:53:07 +0000 (18:53 +0800)]
Merge pull request #21097 from ceph/wip-ifed-fix-reclaim-cap-bug

os/bluestore: fix broken cap in _balance_bluefs_freespace()

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20556 from yanghonggang/master
Kefu Chai [Thu, 29 Mar 2018 10:44:39 +0000 (18:44 +0800)]
Merge pull request #20556 from yanghonggang/master

lttng: Trace rgw data transfer, bi entry and object header update processes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agotests: remove TestPGLog ASSERT_DEATH test 21117/head
Nathan Cutler [Thu, 29 Mar 2018 09:40:09 +0000 (11:40 +0200)]
tests: remove TestPGLog ASSERT_DEATH test

Fixes: http://tracker.ceph.com/issues/23504
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoqa/workunits/rbd: remove sanity check in test_admin_socket.sh 21116/head
Mykola Golub [Thu, 29 Mar 2018 09:29:40 +0000 (12:29 +0300)]
qa/workunits/rbd: remove sanity check in test_admin_socket.sh

Fixes: https://tracker.ceph.com/issues/23499
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoosd: cap snaptrimq_len at 2^32 21107/head
Kefu Chai [Thu, 29 Mar 2018 01:38:29 +0000 (09:38 +0800)]
osd: cap snaptrimq_len at 2^32

(uint64_t)(1 << 31) evaluates to 0xffffffff80000000 instead of 0x80000000,
because the converted signed number is sign-extended.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21104 from neha-ojha/wip-minimal-perf-suite
Neha Ojha [Thu, 29 Mar 2018 03:31:30 +0000 (20:31 -0700)]
Merge pull request #21104 from neha-ojha/wip-minimal-perf-suite

qa/suites: add minimal performance suite

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Varada Kari <varada.kari@gmail.com>