Haomai Wang
b154a5d450
pycephfs: Let open call's flags imitate python open
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-05-05 00:05:31 +08:00
Haomai Wang
280ad75417
pycephfs: Add stat result class definition for callers
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:44 +08:00
Haomai Wang
d7ffc71c81
pycephfs: Add dirent class definition to ease caller
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:44 +08:00
Haomai Wang
0f76ca0a35
test_cephfs: Add python binding cephfs tests
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:44 +08:00
Haomai Wang
14c953f319
pycephfs: Ensure passing argument is a instance of basestring
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:44 +08:00
Haomai Wang
448a6c1f70
pycephfs: export self and parent dirent too
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:43 +08:00
Haomai Wang
940b4f0284
pycephfs: Add rename, rmdir and getxattr support
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:43 +08:00
Haomai Wang
08030316be
pycephfs: Fix getcwd call
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:43 +08:00
Haomai Wang
08a60bbf0c
pycephfs: Add directory operations for pybind
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-30 22:06:43 +08:00
Josh Durgin
94a7d11e4a
Merge pull request #4186 from ceph/wip-7787
...
librbd: add fast diff feature
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-29 16:42:03 -07:00
David Zafman
affba9620b
Merge pull request #4381 from ceph/wip-system-retcode
...
ceph-fuse: check return value on system() invocation
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-04-29 16:15:39 -07:00
Gregory Farnum
adda0f39ea
Merge pull request #4457 from ceph/wip-client-osd-caps
...
client: check OSD caps before read/write
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-04-29 16:12:20 -07:00
Greg Farnum
55414ae294
ceph-fuse: check return value on system() invocation
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-04-29 15:45:42 -07:00
Yehuda Sadeh
fa0d59692d
Merge pull request #4495 from rzarzynski/wip-11501
...
rgw: fix broken account listing of Swift API.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-29 09:14:48 -07:00
Sage Weil
25c9f9a4b2
Merge pull request #4487 from ceph/wip-11464
...
Revert "osd: For object op, first check object whether unfound."
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-04-29 08:03:26 -07:00
Radoslaw Zarzynski
4757bf900b
rgw: fix broken account listing of Swift API.
...
Fixes : #11501
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-04-29 16:38:20 +02:00
Kefu Chai
e24509b696
Merge pull request #4445 from tchaikov/wip-doxygen-comments-in-throttle
...
doc: doxygen comments in throttle
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-29 14:35:44 +08:00
Haomai Wang
9948e1ead9
Merge pull request #4488 from ceph/wip-async-fix-6
...
Event: Delete driver after cleanup
2015-04-29 11:36:47 +08:00
Haomai Wang
ab511307bb
Event: Delete driver after cleanup
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-29 10:54:01 +08:00
Sage Weil
04b00029e1
qa/workunits/post-file: pick a dir that's readable by world
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-28 17:40:29 -07:00
Sage Weil
999dcc890b
Revert "osd: For object op, first check object whether unfound."
...
This reverts commit b16b080332
.
It is normal for objects to be unfound for brief periods of time
after peering--we do not want to EIO in that case.
Fixes : #11464
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-28 15:19:37 -07:00
Sage Weil
c18cc4e0bb
Merge pull request #4483 from xinxinsh/wip-keyvalue-perfcounter
...
add perf counter for keyvalue db
Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-28 12:48:03 -07:00
Kefu Chai
04a0534ed8
Merge pull request #4480 from wonzhq/indent
...
osd/ReplicatedPG: fix an indent in find_object_context
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-28 20:02:24 +08:00
John Spray
eb275f2b29
Merge pull request #4474 from ceph/wip-11482
...
mds: remove caps from revoking list when caps are voluntarily released
Reviewed-by: John Spray <john.spray@redhat.com>
2015-04-28 11:34:17 +02:00
Zhiqiang Wang
a84337b35b
osd/ReplicatedPG: fix an indent in find_object_context
...
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-04-28 16:45:04 +08:00
Yan, Zheng
86788c4ea4
mds: remove caps from revoking list when caps are voluntarily released
...
Fixes : #11482
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-04-28 15:50:44 +08:00
xinxin shu
6e50f645c4
add perf counter for rocksdb to evaluate latency of get and transaction commit
...
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-04-28 14:44:11 +08:00
xinxin shu
d2fb5bd740
add perf counter for leveldb to evaluate latency of get&commit
...
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-04-28 09:25:35 +08:00
Josh Durgin
7fc37d8ec1
Merge pull request #4454 from ceph/wip-11447
...
rgw: use correct oid when creating gc chains
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-27 15:46:08 -07:00
Josh Durgin
93bc83197a
Merge pull request #4471 from ceph/wip-11477
...
rbd: correct issues with cli integration tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-27 12:51:12 -07:00
Josh Durgin
cbf4bf4e15
Merge pull request #4470 from ceph/wip-11475
...
librbd: correct issues discovered by Python unit tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-27 12:45:18 -07:00
Sage Weil
fd11e32993
doc/release-notes: v0.87.2
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-27 11:45:43 -07:00
Yan, Zheng
3c4028ec21
client: check OSD caps before read/write
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-04-27 17:16:10 +08:00
Jason Dillaman
0e499f306c
tests: rbd cli integration test should explicitly select image format
...
RBD format 2 is now the default image format, so tests involving the old
format should explicitly request the old format.
Fixes : #11477
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-27 02:00:53 -04:00
Jason Dillaman
6d2490749f
librbd: do not attempt to retrieve metadata for old format images
...
An unnecessary error message is being logged due to a failure to retrieve
metadata for old-format images -- which don't support metadata.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-27 02:00:21 -04:00
Jason Dillaman
f141e02ab7
librbd: flatten should return -EROFS if image is read-only
...
Fixes : #11475
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-27 01:03:52 -04:00
Jason Dillaman
594a661080
librbd: allow snapshots to be created when snapshot is active
...
The librbd API previously permitted the creation of snapshots while
the image context was associated to another snapshot. A recent code
cleanup broke that ability, so this re-introduces it. The code change
also allows minor cleanup with rebuild_object_map.
Fixes : #11475
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-27 01:00:38 -04:00
Sage Weil
a26a2cf6b5
Merge pull request #4455 from liewegas/wip-civetweb-gitignore
...
civetweb: add .gitignore
2015-04-25 17:06:35 -07:00
Josh Durgin
bff825bdbb
Merge pull request #4434 from ceph/wip-7385
...
librbd: updated cache max objects calculation
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-24 11:45:54 -07:00
Gregory Farnum
927105b021
Merge pull request #4395 from ceph/wip-11381
...
Fix clear_pipe after reaping progress
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-04-24 11:20:41 -07:00
Josh Durgin
4df9c8e83d
Merge pull request #4440 from ceph/wip-11442
...
Wip 11442
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-24 11:18:38 -07:00
Sage Weil
49d17a1a6e
Merge pull request #4401 from yuyuyu101/wip-async-fix-5
...
Wip async fix 5
2015-04-24 10:43:06 -07:00
Yehuda Sadeh
06d67d9139
rgw_admin: add --remove-bad flag to bucket check
...
Add this flag so that the bad object will be removed (should be called
only after user has verified that objects content is correct).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-24 09:40:12 -07:00
Yehuda Sadeh
b8beb9be6a
Merge pull request #4438 from oritwas/wip-10295
...
rgw: civetweb should use unique request id
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-24 09:26:24 -07:00
Haomai Wang
8a7e58e2de
AsyncMessenger: Don't need to join thread if not started
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-24 21:18:50 +08:00
Haomai Wang
0ea0e011a6
Fix clear_pipe after reaping progress
...
In pipe.cc:1353 we stop this connection and we will let reader and write threads stop. If now reader and writer quit ASAP and we call queue_reap to trigger the reap progress. Now we haven't call "connection_state->clear_pipe(this)" in pipe.cc:1379, so we may assert failure here.
Fixes : #11381
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-04-24 14:52:36 +08:00
Sage Weil
eb6738c0b5
civetweb: add .gitignore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-23 16:03:21 -07:00
Sage Weil
66e90d00dc
Merge pull request #4165 from liewegas/wip-post-file
...
qa/workunits/post-file.sh: s/base-files/aclocal/
2015-04-23 15:39:11 -07:00
Yehuda Sadeh
cc5d34678c
rgw: use correct oid when creating gc chains
...
Fixes : #11447
Backport: hammer
When creating gc chain, use the appropriate oid, otherwise objects will
leak.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-23 15:33:03 -07:00
Sage Weil
74b36c4d30
Merge pull request #4439 from ceph/wip-11453-rgw-init-as-root
...
#11453 init-radosgw: run RGW as root
Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-23 15:05:57 -07:00