Commit Graph

58563 Commits

Author SHA1 Message Date
David Zafman
3a2be4874f Merge pull request #11206 from dzafman/wip-16474
osd: Remove extra call to reg_next_scrub() during splits

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-10-10 13:55:16 -07:00
Loic Dachary
ed82c02c54 Merge pull request #11399 from theanalyst/wip-release-notes
scripts/release-notes: allow title guesses from gh tags & description update

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-10-10 22:17:18 +02:00
Abhishek Lekshmanan
4d5cb5c852 build/ops: ceph-release-notes guess pr title based on gh tags
We add a switch --use-tags which helps guess the component of the pr
based on gh tags, still needs work, but provides better estimates when
looking at really large release notes where guessing each pr would be
too much work

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2016-10-10 21:59:56 +02:00
Abhishek Lekshmanan
d8955d5568 scripts: add description to ceph-release-notes
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2016-10-10 21:39:51 +02:00
Mykola Golub
e4a3d56e34 Merge pull request #11355 from dillaman/wip-17424
rbd: add support for separate image data pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-10-10 21:07:44 +03:00
Casey Bodley
4ededdba53 Merge pull request #10731 from yehudasa/wip-rgw-sync-plugins
rgw: sync modules, metadata search

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-10-10 13:51:10 -04:00
Jason Dillaman
97fb2e014e Merge pull request #11363 from xiexingguo/xxg-wip-fix-rbd-warn
cls_rbd: silence compiler warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-10 11:07:11 -04:00
Sage Weil
870c428004 Merge pull request #11371 from stiopaa1/mds_cinode_removeCount
mds/CInode.h: remove unneeded use of count

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-10 10:03:25 -05:00
Sage Weil
64daf4cfe6 Merge pull request #11383 from stiopaa1/mds_fsmap_passSharedPtrByConstRef
mds/FSMap: pass shared_ptr by const ref
2016-10-10 10:00:05 -05:00
Jason Dillaman
d54c44350b rbd: include data pool name within info command
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-10-10 10:41:57 -04:00
Jason Dillaman
f0d36b7a39 rbd: support overriding image data pool when creating images
Fixes: http://tracker.ceph.com/issues/17424
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-10-10 10:41:57 -04:00
Jason Dillaman
d776165f6a Merge pull request #11290 from trociny/wip-17017
rbd-mirror HA: move librbd::image_watcher::Notifier to librbd::object_watcher

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-10 10:41:25 -04:00
Jason Dillaman
297f21d88b Merge pull request #11260 from runsisi/wip-fix-mirror-image-disable
librbd: fix rollback if failed to disable mirroring for image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-10 10:40:33 -04:00
Sage Weil
5f0a360b52 Merge pull request #11301 from liewegas/wip-bluestore-buffered-write
os/bluestore: allow default to buffered write

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-10-10 09:40:06 -05:00
Jason Dillaman
99cd30914f Merge pull request #11370 from ceph/wip-krbd-unmap-options
rbd: expose rbd unmap options

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-10 10:17:09 -04:00
Sage Weil
3cc40d769b Merge pull request #11255 from dzafman/wip-scrub-boundary
osd: fix scrub boundary to not include a SnapSet

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-10 09:12:16 -05:00
Sage Weil
e416ccafc1 Merge pull request #11377 from xiexingguo/xxg-wip-bluestore-1008
os/bluestore: drop inline_dirty from struct ExtentMap

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-10 08:48:43 -05:00
xie xingguo
096811cf06 os/bluestore: narrow scope of 'pos'
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-10 19:39:18 +08:00
John Spray
150d383272 Merge pull request #11281 from jcsp/wip-17466
mds: handle bad standby_for_fscids in fsmap

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-10 13:21:07 +02:00
xie xingguo
262f2c429e os/bluestore: get rid of multiple call to dirty_blob()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-10 18:52:23 +08:00
Kefu Chai
7f21c6f7fc Merge pull request #10722 from stiopaa1/mon_moncap_addMoveToStrings
mon/MonCap.h: add std::move for std::string

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-10 14:47:21 +08:00
Kefu Chai
d2b6b34215 Merge pull request #10916 from jordan41177/fix-17169
mon: OSDMonitor: fix the check error of pg creating

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-10 14:39:56 +08:00
Kefu Chai
838de494fb Merge pull request #10720 from wjwithagen/wip-wjw-freebsd-socket-shutdown
msg/simple/Accepter.cc: replace shutdown() with selfpipe event in poll() (FreeBSD)

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-10 14:38:56 +08:00
Kefu Chai
d06c13c58d Merge pull request #10601 from stiopaa1/mon_monclient_subwantRemoveCount
mon/MonClient.h: remove repeated searching of map

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-10 14:33:54 +08:00
Kefu Chai
0566f7b635 Merge pull request #11145 from atheism/msg-async-fix-specifier
msg: fix format specifier for unsigned value id

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-10 14:32:31 +08:00
Michal Jarzabek
ab7a5dce76 mds/FSMap: pass shared_ptr by const ref
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-10-09 13:50:54 +01:00
xie xingguo
9ebdab9983 os/bluestore: fix raw blob encoded size
The maximum length of fixed fields of bluestore_blob_t shall be:

uint64_t sbid                       ///< 8 bytes
uint32_t compressed_length_orig     ///< 4 bytes
uint32_t compressed_length          ///< 4 bytes
uint32_t flags                      ///< 4 bytes
uint8_t csum_type                   ///< 1 byte
uint8_t csum_chunk_order            ///< 1 byte
unused_t unused;                    ///< 2 bytes

8 + 4 + 4 + 4 + 1 + 1 + 2 = 24

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-09 20:04:33 +08:00
xie xingguo
70de0985eb os/bluestore: add counter to trace number of garbage collection reads
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-09 17:33:27 +08:00
xie xingguo
9d8f444cd2 os/bluestore: kill dead lines to keep code clean
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-09 15:40:50 +08:00
Kefu Chai
cece97d993 Merge pull request #11379 from zealoussnow/fix-dead-link
doc: fix dead link "Hardware Recommendations"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-09 13:53:28 +08:00
Leo Zhang
c387c87434 doc: fix dead link "Hardware Recommendations"
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2016-10-08 22:41:59 +08:00
xie xingguo
14158a9028 os/bluestore: drop inline_dirty from struct ExtentMap
We don't need this member as we can simply clear inline_bl
to mark it as dirty.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-08 16:24:22 +08:00
xiexingguo
ff617e9c4b rbd/cls_rbd: silence compiler warnings
Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
2016-10-08 06:44:32 +08:00
Michal Jarzabek
542855ded6 mds/CInode.h: remove unneeded use of count
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-10-07 23:15:27 +01:00
Yehuda Sadeh
a4ce1f56c1 Merge pull request #10057 from Yan-waller/yj-wip-rgwradosccremover-0701
rgw: minor cleanup

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 14:04:45 -07:00
Yehuda Sadeh
799ee64702 Merge pull request #10674 from ceph/wip-rgw-no-empty-amzrqid
rgw/rest: don't print empty x-amz-request-id

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-07 14:02:27 -07:00
Yehuda Sadeh
4e62c99bb3 Merge pull request #10849 from zhangsw/master
rgw: remove a redundant judgement when listng objects.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 13:57:18 -07:00
Sage Weil
7ae800b7c9 os/bluestore: allow default to buffered write
Add config option to buffered writes (in the absense of
a client WILLNEED hint).  Set the config option to false,
though, so that the default behavior is unchanged.

2Q should do a half-decent job of preventing this from
pushing actually-hot data from the cache when it's
enabled, but we'll need to do more testing first.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-07 16:07:59 -04:00
Mykola Golub
b170f9ddc0 Merge pull request #11353 from dillaman/wip-17423
librbd: API changes to support separate data pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-10-07 22:04:15 +03:00
Yehuda Sadeh
881cb98874 rgw: index metadata in elasticsearch using realm name for path
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:28 -07:00
Yehuda Sadeh
8c030fd924 rgw_admin: sync status command shows if not syncing from zone
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:28 -07:00
Yehuda Sadeh
9ef728a1a3 rgw: setting sync-from zone by name not by id
Using the zone name is easier and clearer.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:28 -07:00
Yehuda Sadeh
962449fbb6 rgw_admin: update usage
add refrence to --sync-from*

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:28 -07:00
Yehuda Sadeh
5f3c41fa26 rgw_admin: config options to set sync_from and sync_from_all
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:28 -07:00
Yehuda Sadeh
8bd26428ab rgw: support partial mesh for zone sync
zone configuration now includes two new fields: sync_from_all
which is boolean, and sync_from, which is a least of zones to
sync from. By default sync_from_all is set to true. Sync will
only happen from all the zones, or from the specified zones if
sync_from all is false. We also check to see whether zone can
export data (depending on tier_type).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:27 -07:00
Yehuda Sadeh
61902f724d rgw: es module, remove entry on delete
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:27 -07:00
Yehuda Sadeh
24bc83e84b rgw: add cr to send DELETE to remove endpoint
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:26 -07:00
Yehuda Sadeh
4e41af1984 rgw: rest conn functions cleanup, only append zonegroup if not empty
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:24 -07:00
Yehuda Sadeh
9b0bf845bd rgw: es sync module, store custom metadata
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:23 -07:00
Yehuda Sadeh
4c96e9b29a rgw: es sync module, keep object mtime
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-07 10:31:22 -07:00