Commit Graph

59683 Commits

Author SHA1 Message Date
Sage Weil
3b1b5a9c7c os/bluestore/KernelDevice: debug support to detect stalled aios
This is additional bookkeeping to track the oldest aio in flight, so we
make it optional, and disabled by default.  It is useful for identifying
buggy kernel aio or bad devices.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 17:57:01 -05:00
Sage Weil
3bbfcf153f os/fs: add aio_list_t type
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 17:51:17 -05:00
Sage Weil
9cb879ad2b os/fs: uninline aio methods
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 17:51:01 -05:00
John Spray
f80c7a8f20 Merge pull request #11647 from ceph/wip-jlayton-cephfs
libcephfs client API overhaul and update

Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-07 21:07:40 +01:00
Yehuda Sadeh
351911a20e Merge pull request #11425 from weiqiaomiao/wqm-rgw-oplog
rgw: fix the field 'total_time'  of log entry in log show opt

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-11-07 10:45:10 -08:00
Yehuda Sadeh
ace03b97ab Merge pull request #8712 from diwakargoel/master
doc: Correcting the sample python tempurl generation script.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-07 10:41:04 -08:00
Yehuda Sadeh
82740e9be3 Merge pull request #11648 from cbodley/wip-17698
rgw: fix for bucket delete racing with mdlog sync

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-11-07 10:36:29 -08:00
Yehuda Sadeh
996e59f05c Merge pull request #11598 from cbodley/wip-rgw-bucket-sync
rgw multisite: move lease up to RunBucketSync instead of child crs

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-07 10:35:26 -08:00
Loic Dachary
b51aec70fb Merge pull request #11715 from dzafman/wip-test-ec-eio
Fix racey test by setting noout flag (tracker 17757)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-11-07 17:26:53 +01:00
Daniel Gryniewicz
28a338a381 Merge pull request #11624 from yuyuyu101/wip-rgwfile-pybind
Wip rgwfile pybind
2016-11-07 11:08:35 -05:00
Haomai Wang
b4fc122754 pybind/rgwfile: change description
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-08 00:04:07 +08:00
Haomai Wang
334d125f78 pybind/rgwfile: fixes hardcode way to find include dir
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-08 00:00:57 +08:00
Haomai Wang
aef68c458e pybind/rgwfile: raise Exception when failing to umount
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-07 23:58:59 +08:00
Haomai Wang
7a4ecd8323 pybind/rgwfile: change FileHandler to FileHandle
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-07 23:56:05 +08:00
Casey Bodley
a50ede03f6 Merge pull request #11794 from rzarzynski/wip-rgw-17803
rgw: fix uncompressed object size deduction in RGWRados::copy_obj_data.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-11-07 10:13:45 -05:00
Sage Weil
c2a94808e1 Merge pull request #11797 from yuyuyu101/wip-bluestore-pending
os/bluestore: reap collection after all pending ios done

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-07 08:16:18 -06:00
John Spray
60e9b9f960 Merge pull request #11713 from stiopaa1/mds_mantle_passByConstRef
mds/Mantle: pass parameters by const ref

Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-07 14:13:58 +01:00
John Spray
06732de7d1 Merge pull request #11727 from stiopaa1/mds_mdsrank_addOverideToThreadClass
mds/MDSRank.h: add override to virtual function

Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-07 14:13:34 +01:00
Jason Dillaman
860df296bd Merge pull request #11781 from trociny/wip-qa-rbd-nbd-sudo
qa/workunits/rbd: simplify running nbd test under build env

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-07 08:02:46 -05:00
Yan, Zheng
ebb6f5ee81 Merge pull request #11806 from david-z/wip-remove-dup-log
mds: remove duplicated log in handle_client_readdir
2016-11-07 17:02:48 +08:00
Zhi Zhang
004bfc4264 mds: remove duplicated log in handle_client_readdir
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2016-11-07 16:41:39 +08:00
Yehuda Sadeh
45722ecbe4 Merge pull request #11343 from ceph/wip-civetweb-1.8
Update version of civetweb to 1.8
2016-11-05 12:53:23 -07:00
Haomai Wang
f46527a934 os/bluestore: reap collection after all pending ios done
Otherwise when umount finish reap and wait for pending io done, the last
pending io may aim to remove collection and make removed_collection not
empty. So the leaked collection ref will result in BlueStore deconstruction
segment failt

Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-06 02:55:24 +08:00
Kefu Chai
916d46172f Merge pull request #11251 from stiopaa1/osd_replicatedpg_removeCount2
osd/ReplicatedPG: remove unneeded use of count

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-06 01:50:37 +08:00
Jason Dillaman
5e03f4880b Merge pull request #11510 from vshankar/wip-17356
librbd: batch object map updates during trim

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-05 13:15:27 -04:00
Jason Dillaman
8adf3848ef Merge pull request #11766 from trociny/wip-rbd-info-fix-upgrade-client
librbd: snap_get_limit compatibility check

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-05 13:15:08 -04:00
Sage Weil
4f1070c331 Merge pull request #10907 from jecluis/wip-mon-features
mon: have mon-specific features & rework internal monmap structures

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-05 07:58:14 -05:00
Sage Weil
aa5b8e7e4c Merge pull request #11772 from liewegas/wip-sortbitwise
osd,mon: require sortbitwise flag to upgrade beyond jewel
2016-11-05 07:57:17 -05:00
Sage Weil
b7f8e099e1 Merge pull request #11791 from liewegas/wip-remove-move-ranges
os: remove move_ranges_destroy_src
2016-11-05 07:57:07 -05:00
Radoslaw Zarzynski
5007dbbb1c rgw: fix uncompressed object size deduction in RGWRados::copy_obj_data.
Fixes: http://tracker.ceph.com/issues/17803
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-11-05 13:11:18 +01:00
Kefu Chai
a7e42ab89a Merge pull request #10447 from stiopaa1/msg_pipe_moveDelayedDelivery2
msg/Pipe: move DelayedDelivery class to cc file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-05 14:53:13 +08:00
Sage Weil
b009f5a8ed Merge pull request #11780 from xiexingguo/xxg-wip-bluestore-1104
os/bluestore: a few more cleanups

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-11-04 21:33:54 -05:00
Sage Weil
b231a67da4 Merge pull request #11498 from liewegas/wip-stop-at-jewel
mon: prevent post-jewel OSDs from booting if require_jewel_osds is not set
2016-11-04 21:24:50 -05:00
xie xingguo
e7f2c03de1 os/bluestore: fix output message when passing the end of list range
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-05 08:28:30 +08:00
xie xingguo
f046343508 os/bluestore: fix typo in comments
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-05 08:26:36 +08:00
xie xingguo
c96ecc521b os/bluestore: add sanity check against collection existence
To keep pace with other methods.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-05 08:26:12 +08:00
xie xingguo
4ebc5ab420 os/bluestore: narrow boundary check for fiemap
By including off-by-one.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-05 08:26:07 +08:00
David Zafman
c680804141 test-erasure-eio: Avoid racing recovery by setting noout
Fixes: http://tracker.ceph.com/issues/17757

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-11-04 17:06:13 -07:00
David Zafman
354e696370 Revert "tests: disable failing test-erasure-eio.sh"
This reverts commit f018c9ec08.

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-11-04 17:04:33 -07:00
Sage Weil
d95d522846 Merge pull request #11527 from wjwithagen/wip-wjw-readable.sh
test/encoding/readable.sh: fix shell script warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 17:16:32 -05:00
Sage Weil
2812e093c2 Merge pull request #11775 from jdurgin/wip-jewel-osds-warning
mon/OSDMonitor: remove duplicate jewel/kraken flag warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 17:15:30 -05:00
Sage Weil
cf154f2668 Merge pull request #9345 from SUSE/wip_remove_mon_startup_magic
mon: remove ceph-create-keys from mon startup

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-11-04 17:14:37 -05:00
Owen Synge
cc441cbd6e src/init-ceph.in:Remove ceph-create-keys for sysv
ceph-create-keys should not be started on boot of mons with sysv init.

Signed-off-by: Owen Synge <osynge@suse.com>
2016-11-04 23:05:52 +01:00
Owen Synge
639385a7f4 systemd/CMakeLists.txt:Remove ceph-create-keys cmake
ceph-create-keys should not be started on boot of mons with systemd so should
not exist as 'After' or 'Wants' for the ceph-mon.service

Signed-off-by: Owen Synge <osynge@suse.com>
2016-11-04 23:05:44 +01:00
Owen Synge
dc5fe8d415 systemd/ceph-mon@.service:Remove ceph-create-keys for mon in systemd
ceph-create-keys should not be started on boot of mons with systemd so should
not exist as 'After' or 'Wants' for the ceph-mon.service

Signed-off-by: Owen Synge <osynge@suse.com>
2016-11-04 23:05:26 +01:00
Owen Synge
8bcb4646b6 systemd/ceph-create-keys@.service:Remove ceph-create-keys for systemd
ceph-create-keys should not be started on boot of mons with systemd so should
not exist in the systemd files

Signed-off-by: Owen Synge <osynge@suse.com>
2016-11-04 23:05:17 +01:00
Owen Synge
4e27f27fbe src/upstart/ceph-create-keys.conf:Remove ceph-create-keys for upstart
ceph-create-keys should not be started on boot of mons with upstart so should
not exist in the upstart files

Signed-off-by: Owen Synge <osynge@suse.com>
2016-11-04 23:05:08 +01:00
Owen Synge
d5af77f309 debian/rules:Remove ceph-create-keys for deb packaging
ceph-create-keys should not be started on boot of mons with upstart so should
not exist in the deb.

Signed-off-by: Owen Synge <osynge@suse.com>
2016-11-04 23:04:58 +01:00
Owen Synge
c2dd25f2f9 ceph.spec.in:Remove ceph-create-keys for systemd
ceph-create-keys should not be started on boot of mons with systemd so should
not exist in the rpm.

Signed-off-by: Owen Synge <osynge@suse.com>
2016-11-04 23:04:40 +01:00
Tamilarasi Muthamizhan
9ffafc7bc5 Merge pull request #11749 from ceph/wip-17753
ceph-create-keys should not try forever to do things
2016-11-04 13:27:55 -07:00