Commit Graph

48402 Commits

Author SHA1 Message Date
Kefu Chai
8c2bb7e5c6 cmake: add Find{dpdk,pciaccess}.cmake
to ready the SPDK support

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-04 14:03:21 +08:00
Kefu Chai
ff56154620 NVMEDevice: fix the build error with latest spdk
* include spdk headers in source file
* declare const string with "const" specifier
* pass flag to nvme_ns_cmd_{write,read}()

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-04 14:03:21 +08:00
Sage Weil
06cecb4b90 ceph_test_objectstore: fix warning
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-02 11:08:09 -05:00
Sage Weil
9a349338f0 os/bluestore/KernelDevice: explicit on ctor
This was lost in the wip-spdk merge.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-02 11:03:48 -05:00
Sage Weil
87efba42fe Merge branch 'wip-spdk' of git://github.com/yuyuyu101/ceph
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-02 11:02:12 -05:00
Sage Weil
dc50f31079 Merge remote-tracking branch 'me/wip-lockdep' 2016-02-02 11:00:37 -05:00
Sage Weil
75395c11e9 Merge pull request #7438 from ifed01/wip-pgbackend-cleanup
osd: cleanup OSD/PGBackend interface a bit

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-02 11:03:51 -05:00
Jason Dillaman
482d1ca51d Merge pull request #7480 from trociny/fix-journal-commit_position_task
journal: reset commit_position_task_ctx pointer after task complete

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-02 09:51:54 -05:00
Sage Weil
a682e77a73 script/run-coverity: fix user
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-02 09:01:28 -05:00
Mykola Golub
4f49c6bec9 journal: reset commit_position_task_ctx pointer after task complete
Otherwise, schedule_commit_task() would never schedule the next task
and the commit position would not be committed until shutdown.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-02 15:43:57 +02:00
Sage Weil
aa5e8db78b Merge remote-tracking branch 'gh/wip-da-SCA-20150910'
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-02 08:08:26 -05:00
Orit Wasserman
73651d9e96 Merge pull request #7473 from yehudasa/wip-14516
rgw-admin: document orphans commands in usage
2016-02-02 10:10:38 +01:00
Kefu Chai
1650324f1a Merge pull request #7451 from wjin/fix
msg/async: fix array boundary

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-02 14:56:12 +08:00
Kefu Chai
3b93bc4764 Merge pull request #6813 from manens/pybind_rados_snapshot_read
pybind: Implementation of Ioctx.set_read to allow read from snapshots

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-02 11:26:47 +08:00
Yehuda Sadeh
105a76bf54 rgw-admin: document orphans commands in usage
Fixes: #14516

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-01 16:33:55 -08:00
Sage Weil
1179ddc2e3 Merge pull request #7445 from xiexingguo/xxg-wip-mem
osd: memstore: fix blocksize for statfs

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-01 17:12:53 -05:00
Sage Weil
eb5db371c4 os/memstore: disable lockdep on Collection::lock
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:02:38 -05:00
Sage Weil
18d3a39aed os/kstore: disable lockdep on Collection::lock
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:02:37 -05:00
Sage Weil
fe649a34f6 os/bluestore: disable lockdep on Collection::lock
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:02:37 -05:00
Sage Weil
08df77a271 os/filestore/CollectionIndex: disable lockdep on access_lock
This overflows the lockdep table when there are too many PGs. This
code is static so I'm not worried about new locking bugs.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:02:37 -05:00
Sage Weil
622ed5ad17 common/RWLock: alloc lockdep to be disabled
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:02:37 -05:00
Sage Weil
ada41f469e lockdep: dump lock names if we run out of IDs
..just in case we are doing something silly, like misnaming locks.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:02:37 -05:00
Sage Weil
300b15d5ad os/bluestore: fix typo (again)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 15:02:20 -05:00
Sage Weil
98586263e0 os/bluestore: fix typo
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-01 14:59:42 -05:00
Josh Durgin
70704837b3 Merge pull request #7400 from yuyuyu101/wip-13938
librbd: Avoid create two threads per image

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-01 11:44:42 -08:00
Josh Durgin
f5419676a9 Merge pull request #7409 from dillaman/wip-librbd-watch-notify
tests: improve simulation of watch/notify handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-02-01 11:42:27 -08:00
Yehuda Sadeh
da9c39554e Merge pull request #6562 from Aran85/authedpermcheck
rgw: fix the condition of  authenticated user's permit check .
2016-02-01 10:56:14 -08:00
Kefu Chai
5374e4f40c Merge pull request #7291 from majianpeng/vstart.sh
vstart.sh: If use '-n' delete related source rather than consider '-k'.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-01 23:52:32 +08:00
Igor Fedotov
4d2c0f5034 osd/ECTransaction: Removing unused local
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-02-01 18:34:39 +03:00
Igor Fedotov
ccebf7a37a osd/PGBackend: PGBackend interface cleanup - make some interface methods pure virtual instead of assertion usage.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-02-01 18:33:43 +03:00
Sage Weil
1dfc8ef869 Merge pull request #7397 from tchaikov/wip-kill-warnings
build: kill warnings

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-01 10:26:39 -05:00
Haomai Wang
7d02b82210 configure: remove unused lines
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:05:02 +08:00
Haomai Wang
55c99558e7 BlueStore: use special symbol to distinguish backend type
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:02:19 +08:00
Haomai Wang
86cd2f8bdf NVMEDevice: use the only aio thread to process task
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:02:19 +08:00
Haomai Wang
81defd1643 NVMEDevice: add buffer write support
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:02:18 +08:00
Haomai Wang
557206408c BlueStore: add logger to record state transition latency
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:02:18 +08:00
Haomai Wang
dd5c36d9b2 NVMEDevice: add perf counter for queue time
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:01:27 +08:00
Haomai Wang
5497e2fa4e BlueStore: allow nvme driver read from path
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:01:27 +08:00
Haomai Wang
619c08c100 NVMEDevice: no need to detach nvme device
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:01:27 +08:00
Haomai Wang
79f9d1e129 NVMEDevice: add polling time perf counter
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:01:27 +08:00
Haomai Wang
584f8f98a9 NVMEDevice: add flush perf counter calculate
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:01:27 +08:00
Haomai Wang
bb5d9095c1 RocksDB: add block cache size option to RocksDB
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:01:27 +08:00
Haomai Wang
6b637df73f NVMEDevice: let perf counter do early
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:47 +08:00
Haomai Wang
91bf3bb39f NVMEDevice: make flush wait for all write completed
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:47 +08:00
Haomai Wang
b561d448ac NVMEDevice: delay nvme aio thread start in case of logger is null
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:47 +08:00
Haomai Wang
47335108e1 NVMEDevice: let aio_write submit request FIFO
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00
Haomai Wang
23fd140d6a NVMEDevice: impl read_buffered method
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00
Haomai Wang
83c8261e23 NVMEDevice: adjust indent
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00
Haomai Wang
30342ab67e BlockDevice: Move KernelDevice reap ioc to BlockDevice
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00
Haomai Wang
b365d2c668 NVMEDevice: add log message to reminder potential failed reason
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00