Commit Graph

74350 Commits

Author SHA1 Message Date
John Spray
b6cfa35458 qa: no longer need to explicitly enable multimds
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-23 17:07:34 +01:00
John Spray
687b4e909f mds: enable multimds by default in new filesystems
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-23 17:07:34 +01:00
John Spray
377e8efb6e mon: remove experimental warning on multimds
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-23 17:07:33 +01:00
Yan, Zheng
7f5bd004b3 mds: don't call StrayManager::eval_stray() for undefined inode
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:33 +01:00
Yan, Zheng
58a2f98e89 mds: drop locks before waiting for export targets
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:33 +01:00
Yan, Zheng
7432adb36e mds: handle MDirUpdate race
mds may try discover several times for MDirUpdate, rename may kick
in and cause MDCache::path_traverse() to return error.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:33 +01:00
Yan, Zheng
ad2a95d98c mds: don't forge replica dirfrag
MDCache::forge_replica_dir() set wrong dir_auth if the forged replica
dirfrag is subtree root.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:32 +01:00
Yan, Zheng
34988c3799 mds: avoid submitting log entry while adjusting subtree map
MDCache::eval_subtree_root() may tigger scatter-gather process, which
submits log entry. Submitting log entry while adjusting subtree map is
bad, because subtree map in intermediate state may get used/logged.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:32 +01:00
Yan, Zheng
4f43737df8 mds: don't mark nestlock dirty on improper inode
If inode is replica and it has no auth subtree dirfrag, We should
not mark its nestlock dirty.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:32 +01:00
Yan, Zheng
944821fec1 mds: create subtree root immediately after directory tree becomes frozen
When a directory tree become frozen, its WAIT_FROZEN contexts are
executed asynchronously. Before Migrator::export_frozen() set export
bounds, MDCache::try_subtree_merge_at() can merge newly imported
subtree into the frozen directory tree. This causes problem if there
are auth pins in newly imported subtree.

The fix is creating subtree root immediately after directory tree
becomes frozen. The new subtree root has dir_auth 'me, me', so it's
not meregeable.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:32 +01:00
Yan, Zheng
9d3bb981dc mds: fix stray dentry replication in cache rejoin ack
To replicate s stray dentry, we need to replicate all its ancestors.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-06-23 17:07:31 +01:00
Yuri Weinstein
e2fd54b15c Merge pull request #15795 from myoungwon/wip-print-ignore_redirect
osd/osd_types: add flag name (IGNORE_REDIRECT)

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-23 08:52:31 -07:00
Casey Bodley
a4d01a6f13 Merge pull request #15656 from aclamk/download_err_with_comp_followup
rgw: use 64-bit offsets for compression

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-06-23 11:40:20 -04:00
Sage Weil
eb61a97511 Merge pull request #15848 from xiexingguo/wip-fix-rmcc
src/vstart.sh: kill dead upmap option
2017-06-23 09:42:57 -05:00
Sage Weil
0848bc53d0 Merge pull request #15851 from liewegas/wip-luminous-notes
doc/release-notes: update luminous notes
2017-06-23 09:37:04 -05:00
Sage Weil
987fac2e8c doc/release-notes: 'osd crush class rename' is coming
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
7c58966e4e doc/release-notes: ceph tell <foo> help
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
8f44e6f69a doc/start/os-recommendations: update
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
a5436bd234 doc/release-notes: note debian stretch addition
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
12590d9ec1 doc/release-notes: sleep settings
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
0307c1e5c1 doc/release-notes: link to EC docs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
7cc863b690 doc/release-notes: update RGW metadata
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
2ba6c29d33 dev/release-notes: various updates from other PR
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
43dcb5be61 doc/release-notes: notes on new CLI commands
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
Sage Weil
11d9541a6f mon: 'mon feature list' -> 'mon feature ls'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:18 -04:00
Sage Weil
829e767d49 doc/release-notes: update luminous notes
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:18 -04:00
Kefu Chai
b86cda7040 Merge pull request #15764 from tchaikov/wip-20342
qa/suites/upgrade/hammer-jewel-x: add luminous.yaml

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-06-23 22:26:03 +08:00
Sage Weil
f6a49b7b16 Merge pull request #15877 from wjwithagen/wip-wjw-vstart-ceph-mgr-restfull
vstart.sh: Work around mgr restfull not available
2017-06-23 08:57:19 -05:00
Willem Jan Withagen
3ae960d6be ./src/vstart.sh: Work around mgr restfull not available
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-06-23 11:33:18 +02:00
Haomai Wang
6ffb6eb0e8 Merge pull request #15832 from Adirl/pd_assert
msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-06-23 09:26:06 +08:00
Matt Benjamin
45f4853da1 Merge pull request #15283 from donglinpeng/copyPartUpload
rgw: multipart copy-part remove '/' for s3 java sdk request header.
(make check failures not related)
2017-06-22 19:15:00 -04:00
Sage Weil
90c8484618 Merge pull request #15857 from theanalyst/doc/v12.1.0/release-notes-3
doc: v12.1.0 release notes notable changes addition again
2017-06-22 16:25:06 -05:00
Abhishek Lekshmanan
570fa825fd doc: v12.1.0 release notes notable changes addition again
commmits from 9f259cb923e7474229bb2e5e54b59f3b7f068bc5..luminous && sort

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-06-22 22:58:37 +02:00
Matt Benjamin
34ab09b614 Merge pull request #15819 from linuxbox2/wip-clru-lockfix
rgw_file: avoid a recursive lane lock in LRU drain
(failing make check is unrelated)
2017-06-22 15:33:50 -04:00
Matt Benjamin
e12fc13e25 rgw_file: avoid a recursive lane lock in LRU drain
While highly unlikely in normal fs operations, draining an
entire filesystem could induce a recursion on object delete/unref,
when provoked by cohort_lru::drain().

Adjusted to use intrusive slist rather than std:vector<T*>
after review.

Found running librgw_file_nfsns unit test.

Fixes: http://tracker.ceph.com/issues/20374

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-06-22 15:00:42 -04:00
Adam Kupczyk
96f9198385 radosgw: fixed sizes of integers used to operate on offsets and lengths in compression,
followup of http://tracker.ceph.com/issues/20231

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
2017-06-22 17:43:53 +02:00
Sage Weil
580c890522 Merge pull request #15814 from liewegas/wip-everyone-hates-btrfs
qa/objectstore/filestore-btrfs: test btrfs on trusty only
2017-06-22 09:50:55 -05:00
xie xingguo
78e0ea3d4d src/vstart.sh: kill dead upmap option
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-22 22:14:30 +08:00
Sage Weil
bc867c7299 Merge pull request #15820 from liewegas/wip-20303
mon/PGMap: slightly better debugging around pgmap updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-22 08:38:50 -05:00
Sage Weil
4a76eaee7a Merge pull request #15846 from xiexingguo/wip-remap-upmap
mon/OSDMonitor: _apply_remap -> _apply_upmap; less code redundancy

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-22 08:33:35 -05:00
xie xingguo
3e1e10b5d1 mon/OSDMonitor: less code redundancy
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-22 20:00:04 +08:00
John Spray
53fc7a5fc1 Merge pull request #15805 from jcsp/wip-mds-flush-upgrade
client: check for luminous MDS before sending FLUSH_MDLOG

Reviewed-by: Sage Weil <sage@redhat.com>
2017-06-22 07:08:51 -04:00
John Spray
b7048b2c7b Merge pull request #15800 from ukernel/wip-20340
mds: save  projected path into inode_t::stray_prior_path

Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-22 07:07:59 -04:00
John Spray
1e917eb8d6 Merge pull request #15776 from ukernel/wip-20338
osdc/Journaler: fix memory leak in Journaler::_issue_read()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-22 07:07:21 -04:00
John Spray
7e991fe36e Merge pull request #15430 from jcsp/wip-20165
mds: fix hangs involving re-entrant calls to journaler

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-06-22 07:06:41 -04:00
John Spray
38dccd2c72 Merge pull request #15548 from ukernel/wip-20196
mds: improvements for stray reintegration

Reviewed-by: John Spray <john.spray@redhat.com>
2017-06-22 06:46:27 -04:00
xie xingguo
422e218486 mon/MonCommand: fix description of "osd pg-upmap"
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-22 17:26:47 +08:00
xie xingguo
b84ab54280 osd/OSDMap: _apply_remap -> _apply_upmap
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-22 16:50:27 +08:00
Igor Fedotov
670d18e61b Merge pull request #15796 from lixiaoy1/fio_ceph_objectstore
fio_ceph_objectstore: Print db_statistics when rocksdb_perf is enabled
2017-06-22 12:01:00 +04:00
Orit Wasserman
c320fbd9f8 Merge pull request #15753 from pritha-srivastava/wip-rgw-s3tests-conf
rgw: Changes for s3test config file, to add user under a tenant.
Reviewed-by: Casey Bodely <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-06-22 11:00:26 +03:00