Haomai Wang
ef7c3e304e
AsyncConnection: execute existing fault in another
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
c33753e97e
Event: add submit_to apis
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
4dc2e1367b
AsyncConnection: add EventCenter id
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
761f147159
AsyncConnection: move delete timers to cleanup handler
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
9d952ad820
test_msgr: add connection read timeout tests
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
fa4767cc76
AsyncConnection: add tick timer
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
dd9c43a440
test_async_driver: add missing headers
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
fe6564ce62
AsyncConnection: make connection timeout when idle a lot
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
6e24d9a334
Event: implement effective delete_time_event
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
b58f6df23d
Event: remove next_time which isn't needed
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
018b48c1c6
Event: remove extra header files
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
eebc6c2b82
Event: replace Mutex with c++ mutex
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
e515c9dfea
Event: replace atomic_t with c++ atomic
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
ba470cea09
Event: remove time_lock which is no need
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
7ca8839f97
Event: use local_center instead of pthread id
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
d493b6bf62
Event: remove clock skew detect since we use mono clock now
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
8f0cd8e2a8
Event: use multimap instead of map
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-29 12:14:04 +08:00
Haomai Wang
4c26faedd3
Merge pull request #9781 from yuyuyu101/wip-epoll
...
msg/async: harden error logic handle
2016-06-29 12:08:33 +08:00
Tim Serong
34fc83ce19
autotools: Simplify fcgiapp.h include for rgw
...
This commit updates autotools to add /usr/include/fastcgi to the include
directories if necessary for rgw, so we can always just include
<fcgiapp.h> (see previous commit for further commentary).
Signed-off-by: Tim Serong <tserong@suse.com>
2016-06-29 13:27:02 +10:00
Kefu Chai
aee60ffeb0
Merge pull request #9990 from dillaman/wip-rbd-mirror-cmake
...
cmake: fix unittest_rbd_mirror failures under non-optimized builds
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-29 10:58:28 +08:00
xie xingguo
2d52677be7
client: end scope of std::hex properly
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-29 09:11:30 +08:00
xie xingguo
9fcf00e273
SyntheticClient: fix fd leak for dump_placement() method
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-29 09:11:30 +08:00
John Spray
af7731b04b
Merge pull request #9794 from xiexingguo/xxg-wip-fix-libcephfs
...
libcephfs: fix portability-related error settings
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-29 01:11:53 +01:00
John Spray
e7a0c3feb5
Merge pull request #9835 from dx9/wip-client-accessperms
...
client: added def for ACCESSPERMS when undefined
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-29 01:01:45 +01:00
John Spray
ae239d742f
Merge pull request #9884 from david-z/wip-fix-async-msg-shutdown
...
mds: fix shutting down mds timed-out due to deadlock
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-29 00:57:34 +01:00
Gregory Farnum
ab869ae3fb
Merge pull request #9809 from xiexingguo/xxg-wip-fix-fuse-ll
...
fuse_ll: fix incorrect error settings of fuse_ll_mkdir()
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-28 14:55:15 -07:00
Gregory Farnum
c0cc48b99e
Merge pull request #9803 from xiexingguo/xxg-wip-fix-client_hexscope
...
client: fast abort if underlying statsf() call failed; end scope of std::hex properly
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-28 14:55:01 -07:00
Gregory Farnum
ee9555390e
Merge pull request #9793 from xiexingguo/xxg-wip-client-mr
...
client: fix access violation
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-28 14:54:50 -07:00
Gregory Farnum
0377e1d560
Merge pull request #9774 from xiexingguo/xxg-wip-client_dupmdsmap
...
client: discard mds map if it is identical to ours
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-28 14:54:14 -07:00
Gregory Farnum
19016581fa
Merge pull request #9773 from xiexingguo/xxg-wip-cinode_finleak
...
mds/CInode: fix potential fin hanging
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-28 14:53:58 -07:00
Gregory Farnum
aa7e487c21
Merge pull request #9769 from ukernel/wip-16358
...
mds: fix Session::check_access()
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-28 14:53:06 -07:00
Greg Farnum
2ee3d02c8f
test: fix CMake build of ceph_test_objectcacher_stress
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-06-28 14:39:46 -07:00
Sage Weil
59ddf4d619
include/assert: define ceph_assert[f]_always
...
These variants we promise never to compile out based on NDEBUG.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 16:13:46 -04:00
Sage Weil
ae9991054f
include/assert: define ceph_assert[f] that mirror assert[f]
...
We will transition to these.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 16:13:46 -04:00
Sage Weil
bc1ca22a3f
include/assert: drop some dead code
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 16:13:46 -04:00
Sage Weil
23d6438f12
include/assert: define ceph_abort_msg(cct, msg)
...
Abort with an error string.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 16:13:46 -04:00
Sage Weil
8b4aef679c
include/assert: ceph_abort should call abort(), not assert(0)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 16:13:46 -04:00
Michal Jarzabek
027035de74
msg/AsyncMessenger: move C_processor_accept class
...
Move C_processor_accept class to cc file.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-06-28 20:46:57 +01:00
Jason Dillaman
995a16ebcb
test: ensure unique template specializations per test case
...
With optimizations disabled, there can be cross translation unit
symbol leaking that is not present when inlining is enabled.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-28 15:18:51 -04:00
Jason Dillaman
187e2c87b5
test: missing template specialization for unittest_rbd_mirror
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-28 14:59:17 -04:00
Jason Dillaman
8db54c6733
cmake: add missing cls object dependencies
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-28 14:58:43 -04:00
Ali Maredia
864d1b3e97
Merge pull request #9975 from ceph/wip-cmake
...
cmake changes
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-06-28 14:46:26 -04:00
Dan Mick
d136f7b452
Merge pull request #9986 from liewegas/wip-make-dist
...
make-dist: generate ceph.spec
Reviewed-by: Dan Mick <dmick@redhat.com>
2016-06-28 11:43:10 -07:00
Mykola Golub
af03b8d020
Merge pull request #9964 from dillaman/wip-16491
...
rbd-mirror: 'wait_for_scheduled_deletion' callback might deadlock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-28 21:11:18 +03:00
Sage Weil
8528aea8cf
v11.0.0
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 11:43:46 -04:00
Sage Weil
b1ca522c6e
make-dist: generate ceph.spec
...
Fixes: http://tracker.ceph.com/issues/16501
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 11:40:37 -04:00
Casey Bodley
b31c899ecb
Merge pull request #9889 from Yan-waller/yj-wip-rgwbucketcc
...
rgw: add string describing for error number
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-28 11:17:55 -04:00
Casey Bodley
785203e142
Merge pull request #9888 from weiqiaomiao/wqm-wip-clean-swiftapi
...
rgw: duplicate check for acl op in RGWHandler_REST_Bucket_SWIFT::op_get()
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-28 11:17:33 -04:00
Casey Bodley
20a3a4a5ff
Merge pull request #9854 from Yan-waller/yj-wip-rgwunlinkbucket
...
rgw: remove unused bufferlist variable
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-28 11:17:13 -04:00
Casey Bodley
acfefbe3af
Merge pull request #9822 from Yan-waller/yj-wiph-rgwfixinitwatch
...
rgw: fix the missing return value of init_watch
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-28 11:16:50 -04:00