Commit Graph

84667 Commits

Author SHA1 Message Date
Patrick Donnelly
ebd0fcd067
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>
2018-04-03 15:41:19 -07:00
Patrick Donnelly
d4ee7b5056
Merge PR #20915 into master
* refs/pull/20915/head:
	Add config doc for exporting CephFS over NFS

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2018-04-03 12:52:48 -07:00
Patrick Donnelly
b1f8e9f948
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>
2018-04-03 11:38:43 -07:00
Patrick Donnelly
a09b37721c
Merge PR #21221 into master
* refs/pull/21221/head:
	client: fix _read return for invalid offset

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-03 11:36:58 -07:00
Patrick Donnelly
4fd23a1eae
client: fix _read return for invalid offset
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-03 11:34:35 -07:00
Patrick Donnelly
30fb3129bc
Merge PR #21088 into master
* refs/pull/21088/head:
	client: fixup warning

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-03 11:33:55 -07:00
John Wilkins
9b8c048192
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>
2018-04-03 09:55:06 -07:00
David Galloway
34e0ecd105
Merge pull request #21218 from ceph/wip-dgall-crontab
test:qa:infra - Run update daily and use bash
2018-04-03 12:27:34 -04:00
David Galloway
07186a5b87 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>
2018-04-03 11:39:13 -04:00
Sage Weil
643253c326 Merge tag 'v13.0.2'
v13.0.2
2018-04-03 10:08:22 -05:00
Patrick Donnelly
0186795496
Merge PR #21180 into master
* refs/pull/21180/head:
	vstart_runner: examine check_status before error

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-03 06:51:18 -07:00
Jason Dillaman
3b08c0609c Merge pull request #20460 from colletj/v1_image_creation_disallow
librbd: disallow creation of v1 image format

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 09:18:39 -04:00
Jason Dillaman
98bae81f17
Merge pull request #21202 from tchaikov/wip-rbd-replay
rbd-replay: remove boost dependency

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 09:14:39 -04:00
Jason Dillaman
ccb2646a03
Merge pull request #21142 from dragonylffly/wip-fix-ebusy
rbd-nbd: fix ebusy when do map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 07:39:15 -04:00
Jason Dillaman
de03571aa7
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>
2018-04-03 07:38:40 -04:00
Kefu Chai
440c597df3 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>
2018-04-03 16:30:47 +08:00
Patrick Donnelly
8b7892f6c9
Merge PR #20855 into master
* refs/pull/20855/head:
	client: add the fuse parameter max_write

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-02 21:15:20 -07:00
Patrick Donnelly
9d8037f8da
Merge PR #21096 into master
* refs/pull/21096/head:
	pybind/cephfs: added comments to cephfs.pyx

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-02 21:10:56 -07:00
Yuri Weinstein
9b7b5a7673
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>
2018-04-02 13:56:08 -07:00
David Galloway
17f9d4e351
Merge pull request #21075 from ceph/wip-yuriw-try-crontab
test:qa:infra - teuthology crontab items as of 3/27/18
2018-04-02 16:08:02 -04:00
Neha Ojha
ca3c2156f8 qa/suites/perf-basic: add desc regarding test machines
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-04-02 13:01:30 -07:00
Mykola Golub
d49cfcdeb7 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>
2018-04-02 22:44:16 +03:00
Jason Dillaman
5585e52c47
Merge pull request #21165 from Songweibin/wip-drop-redefine-func
librbd: minor code cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-02 11:17:04 -04:00
Patrick Donnelly
9a558c51dc
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>
2018-04-02 08:08:43 -07:00
Sage Weil
ed9182c266 CMakeLists: v13.0.2
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-02 10:03:02 -05:00
Kefu Chai
1993e161a4
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>
2018-04-02 22:10:30 +08:00
Kefu Chai
d824357a94
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>
2018-04-02 22:08:17 +08:00
Kefu Chai
6a981eb842
Merge pull request #20820 from guzhongyan/nodels-improve
mon: node ls improvement

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-02 22:06:49 +08:00
Kefu Chai
ace8c45eba
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>
2018-04-02 22:05:57 +08:00
Ramana Raja
c33cba3230 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>
2018-04-02 18:10:43 +05:30
Kefu Chai
3cd8489773
Merge pull request #21159 from tchaikov/wip-no-more-use-wheel
src: s/pip --use-wheel/pip/

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-04-02 20:00:51 +08:00
songweibin
74839033f3 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>
2018-04-02 12:38:19 +08:00
songweibin
1b7d2fe64e librbd: return error when r < 0
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-04-02 11:09:26 +08:00
songweibin
5539309996 librbd: drop a duplicate definition function
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-04-02 09:33:19 +08:00
Kefu Chai
a80cce4ba6 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>
2018-04-01 21:01:39 +08:00
Patrick Donnelly
b7fce64601
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>
2018-03-30 22:25:10 -07:00
Kefu Chai
4eb4d4fb0f
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>
2018-03-31 08:59:07 +08:00
Ricardo Dias
5c1f4d2925
mgr/dashboard: notification queue: fix priority tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-30 23:18:05 +01:00
vasukulkarni
7a244301bf
Merge pull request #20979 from ceph/wip-cd-smoke-fix
qa/tests: use ceph-deploy stable branch for single node tests
2018-03-30 12:20:09 -07:00
Vasu Kulkarni
80f84baa94 qa/tests: use stable branch for single node tests
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-03-30 09:09:37 -07:00
Willem Jan Withagen
3806d8ec7c 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>
2018-03-30 17:49:08 +02:00
Li Wang
ab77dcc017 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>
2018-03-30 14:09:03 +00:00
Julien COLLET
bd750f8ef4 librbd/cli-integration: Permit V1 image creation
Signed-off-by: Julien COLLET <julien.collet@cern.ch>
2018-03-30 15:03:58 +02:00
Jason Dillaman
6885380c24
Merge pull request #18317 from hitoshikamei/master-rbd
rbd: eager-thick provisioning support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-30 08:45:15 -04:00
Jason Dillaman
24e566af84
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>
2018-03-30 08:44:49 -04:00
Jason Dillaman
285a2fdbfc
Merge pull request #20935 from trociny/wip-get-name
librbd: add API function to get image name 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-30 08:44:28 -04:00
kungf
a9b9477a44 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>
2018-03-30 20:15:42 +08:00
Kefu Chai
9e8af3e243
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>
2018-03-30 09:45:44 +08:00
Patrick Donnelly
0e3d5653e4
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>
2018-03-29 14:03:36 -07:00
Jason Dillaman
4e36277bd3
Merge pull request #21131 from trociny/wip-23502
qa/suites/rbd: set qemu task time_wait param

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-29 15:45:07 -04:00