]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Wed, 3 Feb 2016 14:46:47 +0000 (09:46 -0500)]
Merge remote-tracking branch 'gh/jewel'

9 years agoMerge branch 'wip-rados-bench'
Sage Weil [Wed, 3 Feb 2016 14:46:12 +0000 (09:46 -0500)]
Merge branch 'wip-rados-bench'

9 years agorados: Add units to rados bench output
Gu Zhongyan [Wed, 30 Dec 2015 08:42:07 +0000 (16:42 +0800)]
rados: Add units to rados bench output

Fixes: #12248
Signed-off-by: Gu Zhongyan <guzhongyan@360.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7386 from liewegas/wip-features
Sage Weil [Wed, 3 Feb 2016 14:44:28 +0000 (09:44 -0500)]
Merge pull request #7386 from liewegas/wip-features

osd: skip redirect encoding if we can

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge branch 'weighted-priority-queue' of git://github.com/rldleblanc/ceph
Sage Weil [Wed, 3 Feb 2016 13:53:22 +0000 (08:53 -0500)]
Merge branch 'weighted-priority-queue' of git://github.com/rldleblanc/ceph

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge branch 'gelf-logging-backend' of git://github.com/irq0/ceph
Sage Weil [Wed, 3 Feb 2016 13:48:26 +0000 (08:48 -0500)]
Merge branch 'gelf-logging-backend' of git://github.com/irq0/ceph

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoscripts/run-coverity: fix upload process
Sage Weil [Wed, 3 Feb 2016 13:41:14 +0000 (08:41 -0500)]
scripts/run-coverity: fix upload process

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7357 from zhengbinh3c/master
Sage Weil [Wed, 3 Feb 2016 13:52:02 +0000 (08:52 -0500)]
Merge pull request #7357 from zhengbinh3c/master

osd: fix memory leak in ReplicatedPG.cc error path

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7362 from xiexingguo/xxg-wip-fixbs
Sage Weil [Wed, 3 Feb 2016 13:50:46 +0000 (08:50 -0500)]
Merge pull request #7362 from xiexingguo/xxg-wip-fixbs

osd: BlueStore: fix fsck and blockdevice read-relevant issue

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7468 from liewegas/wip-test-fuse
Sage Weil [Wed, 3 Feb 2016 13:49:37 +0000 (08:49 -0500)]
Merge pull request #7468 from liewegas/wip-test-fuse

qa/workunits/objectstore/test_fuse.sh: fix root check

9 years agoMerge pull request #7476 from tchaikov/wip-include-expat-in-source
Sage Weil [Wed, 3 Feb 2016 13:49:28 +0000 (08:49 -0500)]
Merge pull request #7476 from tchaikov/wip-include-expat-in-source

rgw: do not include "expat.h" in header file

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7479 from roidayan/fix_xio_compilation
Sage Weil [Wed, 3 Feb 2016 13:48:54 +0000 (08:48 -0500)]
Merge pull request #7479 from roidayan/fix_xio_compilation

msg/xio: fix compilation

9 years agoceph_test_objectstore: fix warning
Sage Weil [Tue, 2 Feb 2016 16:08:09 +0000 (11:08 -0500)]
ceph_test_objectstore: fix warning

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/KernelDevice: explicit on ctor
Sage Weil [Tue, 2 Feb 2016 16:03:48 +0000 (11:03 -0500)]
os/bluestore/KernelDevice: explicit on ctor

This was lost in the wip-spdk merge.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7467 from liewegas/wip-scrub-start
Sage Weil [Tue, 2 Feb 2016 16:03:14 +0000 (11:03 -0500)]
Merge pull request #7467 from liewegas/wip-scrub-start

osd: fix scrub start hobject

9 years agoMerge branch 'wip-spdk' of git://github.com/yuyuyu101/ceph
Sage Weil [Tue, 2 Feb 2016 16:02:12 +0000 (11:02 -0500)]
Merge branch 'wip-spdk' of git://github.com/yuyuyu101/ceph

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'me/wip-lockdep'
Sage Weil [Tue, 2 Feb 2016 16:00:37 +0000 (11:00 -0500)]
Merge remote-tracking branch 'me/wip-lockdep'

9 years agoMerge pull request #7438 from ifed01/wip-pgbackend-cleanup
Sage Weil [Tue, 2 Feb 2016 16:03:51 +0000 (11:03 -0500)]
Merge pull request #7438 from ifed01/wip-pgbackend-cleanup

osd: cleanup OSD/PGBackend interface a bit

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7480 from trociny/fix-journal-commit_position_task
Jason Dillaman [Tue, 2 Feb 2016 14:51:54 +0000 (09:51 -0500)]
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>
9 years agoscript/run-coverity: fix user
Sage Weil [Tue, 2 Feb 2016 14:01:28 +0000 (09:01 -0500)]
script/run-coverity: fix user

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agojournal: reset commit_position_task_ctx pointer after task complete 7480/head
Mykola Golub [Tue, 2 Feb 2016 13:31:34 +0000 (15:31 +0200)]
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>
9 years agoMerge remote-tracking branch 'gh/wip-da-SCA-20150910'
Sage Weil [Tue, 2 Feb 2016 13:08:26 +0000 (08:08 -0500)]
Merge remote-tracking branch 'gh/wip-da-SCA-20150910'

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoxio: fix compilation 7479/head
Roi Dayan [Mon, 1 Feb 2016 09:46:15 +0000 (11:46 +0200)]
xio: fix compilation

Signed-off-by: Roi Dayan <roid@mellanox.com>
9 years agoMerge pull request #7473 from yehudasa/wip-14516
Orit Wasserman [Tue, 2 Feb 2016 09:10:38 +0000 (10:10 +0100)]
Merge pull request #7473 from yehudasa/wip-14516

rgw-admin: document orphans commands in usage

9 years agoMerge pull request #7451 from wjin/fix
Kefu Chai [Tue, 2 Feb 2016 06:56:12 +0000 (14:56 +0800)]
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>
9 years agorgw: do not include "expat.h" in heade file 7476/head
Kefu Chai [Tue, 2 Feb 2016 06:24:46 +0000 (14:24 +0800)]
rgw: do not include "expat.h" in heade file

Building Ceph without the Expat development library currently results in
the following build error:

~/ceph> ./configure --without-fuse --without-tcmalloc --without-radosgw
...
~/ceph> make
...
CXX ceph_dencoder-rgw_dencoder.o
In file included from rgw/rgw_dencoder.cc:6:0:
rgw/rgw_acl_s3.h:9:19: fatal error: expat.h: No such file or directory

The ceph-dencoder binary is built with rgw_dencoder.cc, which includes
rgw_acl_s3.h, which in turn includes expat.h. However, configure.ac
currently only checks for Expat as part of radosgw.

but we don't need expat.h for testing the encoding of rgw structs, so
move "#include <expat.h>" into the source file to avoid this dependency.
and as a side effect, this also speed up the compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoBlueStore: fix wrong action scope of enode 7362/head
xie xingguo [Tue, 2 Feb 2016 06:22:41 +0000 (14:22 +0800)]
BlueStore: fix wrong action scope of enode

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #7472 from badone/wip-ceph-disk-typo
Kefu Chai [Tue, 2 Feb 2016 06:11:44 +0000 (14:11 +0800)]
Merge pull request #7472 from badone/wip-ceph-disk-typo

ceph-disk: Fix trivial typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoBlueStore: add error handling for clone
xie xingguo [Wed, 27 Jan 2016 06:20:09 +0000 (14:20 +0800)]
BlueStore: add error handling for clone

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: add error handling for clone_range
xie xingguo [Wed, 27 Jan 2016 04:11:45 +0000 (12:11 +0800)]
BlueStore: add error handling for clone_range

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix wrong decode logic of nid_max
xie xingguo [Tue, 26 Jan 2016 14:22:49 +0000 (22:22 +0800)]
BlueStore: fix wrong decode logic of nid_max

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix unhandled return code from blockdevice APIs
xie xingguo [Tue, 26 Jan 2016 08:41:20 +0000 (16:41 +0800)]
BlueStore: fix unhandled return code from blockdevice APIs

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: try to scan as many errors as possible
xie xingguo [Tue, 26 Jan 2016 09:25:42 +0000 (17:25 +0800)]
BlueStore: try to scan as many errors as possible

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix duplicated counting of errors
xie xingguo [Tue, 26 Jan 2016 09:17:59 +0000 (17:17 +0800)]
BlueStore: fix duplicated counting of errors

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix enode verification logic
xie xingguo [Tue, 26 Jan 2016 09:16:19 +0000 (17:16 +0800)]
BlueStore: fix enode verification logic

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: add a guard for collection loading
xie xingguo [Tue, 26 Jan 2016 09:12:25 +0000 (17:12 +0800)]
BlueStore: add a guard for collection loading

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: add a guard for overlay loading
xie xingguo [Tue, 26 Jan 2016 09:03:49 +0000 (17:03 +0800)]
BlueStore: add a guard for overlay loading

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #6813 from manens/pybind_rados_snapshot_read
Kefu Chai [Tue, 2 Feb 2016 03:26:47 +0000 (11:26 +0800)]
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>
9 years agorgw-admin: document orphans commands in usage 7473/head
Yehuda Sadeh [Tue, 2 Feb 2016 00:33:55 +0000 (16:33 -0800)]
rgw-admin: document orphans commands in usage

Fixes: #14516
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoceph-disk: Fix trivial typo 7471/head 7472/head
Brad Hubbard [Tue, 2 Feb 2016 00:22:00 +0000 (10:22 +1000)]
ceph-disk: Fix trivial typo

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
9 years agomsg: ignore request_redirect_t encode/decode when we not need 7386/head
Xinze Chi [Wed, 11 Nov 2015 11:10:09 +0000 (19:10 +0800)]
msg: ignore request_redirect_t encode/decode when we not need

Signed-off-by: Xinze Chi <xinze@xsky.com>
9 years agoMerge pull request #7445 from xiexingguo/xxg-wip-mem
Sage Weil [Mon, 1 Feb 2016 22:12:53 +0000 (17:12 -0500)]
Merge pull request #7445 from xiexingguo/xxg-wip-mem

osd: memstore: fix blocksize for statfs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoqa/workunits/objectstore/test_fuse.sh: fix root check 7468/head
Sage Weil [Mon, 1 Feb 2016 20:48:53 +0000 (15:48 -0500)]
qa/workunits/objectstore/test_fuse.sh: fix root check

$EUID not defined everywhere.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/memstore: disable lockdep on Collection::lock 7448/head
Sage Weil [Mon, 1 Feb 2016 19:40:17 +0000 (14:40 -0500)]
os/memstore: disable lockdep on Collection::lock

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/kstore: disable lockdep on Collection::lock
Sage Weil [Mon, 1 Feb 2016 19:40:10 +0000 (14:40 -0500)]
os/kstore: disable lockdep on Collection::lock

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: disable lockdep on Collection::lock
Sage Weil [Mon, 1 Feb 2016 19:40:03 +0000 (14:40 -0500)]
os/bluestore: disable lockdep on Collection::lock

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/filestore/CollectionIndex: disable lockdep on access_lock
Sage Weil [Sat, 30 Jan 2016 14:28:54 +0000 (09:28 -0500)]
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>
9 years agocommon/RWLock: alloc lockdep to be disabled
Sage Weil [Sat, 30 Jan 2016 14:29:07 +0000 (09:29 -0500)]
common/RWLock: alloc lockdep to be disabled

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agolockdep: dump lock names if we run out of IDs
Sage Weil [Fri, 29 Jan 2016 17:40:43 +0000 (12:40 -0500)]
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>
9 years agoos/bluestore: fix typo (again)
Sage Weil [Mon, 1 Feb 2016 20:02:20 +0000 (15:02 -0500)]
os/bluestore: fix typo (again)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix typo
Sage Weil [Mon, 1 Feb 2016 19:59:42 +0000 (14:59 -0500)]
os/bluestore: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7400 from yuyuyu101/wip-13938
Josh Durgin [Mon, 1 Feb 2016 19:44:42 +0000 (11:44 -0800)]
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>
9 years agoMerge pull request #7409 from dillaman/wip-librbd-watch-notify
Josh Durgin [Mon, 1 Feb 2016 19:42:27 +0000 (11:42 -0800)]
Merge pull request #7409 from dillaman/wip-librbd-watch-notify

tests: improve simulation of watch/notify handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6562 from Aran85/authedpermcheck
Yehuda Sadeh [Mon, 1 Feb 2016 18:56:14 +0000 (10:56 -0800)]
Merge pull request #6562 from Aran85/authedpermcheck

rgw: fix the condition of  authenticated user's permit check .

9 years agoosd/PG: fix scrub start object 7467/head
Sage Weil [Mon, 1 Feb 2016 18:32:30 +0000 (13:32 -0500)]
osd/PG: fix scrub start object

This was changed in 05d79faa512210b0f0a91640d18db33b887a6e73 but it needs
to be more precise to avoid breaking BlueStore's assertions (that the
start position is within the collection range).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7291 from majianpeng/vstart.sh
Kefu Chai [Mon, 1 Feb 2016 15:52:32 +0000 (23:52 +0800)]
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>
9 years agoosd/ECTransaction: Removing unused local 7438/head
Igor Fedotov [Fri, 29 Jan 2016 17:24:34 +0000 (20:24 +0300)]
osd/ECTransaction: Removing unused local

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoosd/PGBackend: PGBackend interface cleanup - make some interface methods pure virtual...
Igor Fedotov [Fri, 29 Jan 2016 17:19:24 +0000 (20:19 +0300)]
osd/PGBackend: PGBackend interface cleanup - make some interface methods pure virtual instead of assertion usage.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoMerge pull request #7397 from tchaikov/wip-kill-warnings
Sage Weil [Mon, 1 Feb 2016 15:26:39 +0000 (10:26 -0500)]
Merge pull request #7397 from tchaikov/wip-kill-warnings

build: kill warnings

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoconfigure: remove unused lines 7145/head
Haomai Wang [Mon, 1 Feb 2016 14:05:02 +0000 (22:05 +0800)]
configure: remove unused lines

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlueStore: use special symbol to distinguish backend type
Haomai Wang [Thu, 21 Jan 2016 03:29:35 +0000 (11:29 +0800)]
BlueStore: use special symbol to distinguish backend type

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: use the only aio thread to process task
Haomai Wang [Wed, 20 Jan 2016 03:48:39 +0000 (11:48 +0800)]
NVMEDevice: use the only aio thread to process task

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add buffer write support
Haomai Wang [Tue, 19 Jan 2016 10:26:58 +0000 (18:26 +0800)]
NVMEDevice: add buffer write support

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlueStore: add logger to record state transition latency
Haomai Wang [Mon, 18 Jan 2016 14:11:39 +0000 (22:11 +0800)]
BlueStore: add logger to record state transition latency

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add perf counter for queue time
Haomai Wang [Mon, 18 Jan 2016 11:38:59 +0000 (19:38 +0800)]
NVMEDevice: add perf counter for queue time

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlueStore: allow nvme driver read from path
Haomai Wang [Mon, 18 Jan 2016 07:30:08 +0000 (15:30 +0800)]
BlueStore: allow nvme driver read from path

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: no need to detach nvme device
Haomai Wang [Mon, 18 Jan 2016 03:37:32 +0000 (11:37 +0800)]
NVMEDevice: no need to detach nvme device

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add polling time perf counter
Haomai Wang [Mon, 18 Jan 2016 03:16:10 +0000 (11:16 +0800)]
NVMEDevice: add polling time perf counter

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add flush perf counter calculate
Haomai Wang [Sun, 17 Jan 2016 17:18:07 +0000 (01:18 +0800)]
NVMEDevice: add flush perf counter calculate

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoRocksDB: add block cache size option to RocksDB
Haomai Wang [Sun, 17 Jan 2016 16:57:32 +0000 (00:57 +0800)]
RocksDB: add block cache size option to RocksDB

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: let perf counter do early
Haomai Wang [Sun, 17 Jan 2016 16:01:32 +0000 (00:01 +0800)]
NVMEDevice: let perf counter do early

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: make flush wait for all write completed
Haomai Wang [Sun, 17 Jan 2016 15:21:29 +0000 (23:21 +0800)]
NVMEDevice: make flush wait for all write completed

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: delay nvme aio thread start in case of logger is null
Haomai Wang [Sun, 17 Jan 2016 13:52:30 +0000 (21:52 +0800)]
NVMEDevice: delay nvme aio thread start in case of logger is null

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: let aio_write submit request FIFO
Haomai Wang [Fri, 15 Jan 2016 11:29:58 +0000 (19:29 +0800)]
NVMEDevice: let aio_write submit request FIFO

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: impl read_buffered method
Haomai Wang [Sat, 9 Jan 2016 14:12:46 +0000 (22:12 +0800)]
NVMEDevice: impl read_buffered method

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: adjust indent
Haomai Wang [Sat, 9 Jan 2016 13:56:37 +0000 (21:56 +0800)]
NVMEDevice: adjust indent

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlockDevice: Move KernelDevice reap ioc to BlockDevice
Haomai Wang [Fri, 8 Jan 2016 16:27:49 +0000 (00:27 +0800)]
BlockDevice: Move KernelDevice reap ioc to BlockDevice

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add log message to reminder potential failed reason
Haomai Wang [Thu, 7 Jan 2016 17:20:53 +0000 (01:20 +0800)]
NVMEDevice: add log message to reminder potential failed reason

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: use stringify instead of std::to_string
Haomai Wang [Thu, 7 Jan 2016 16:39:24 +0000 (00:39 +0800)]
NVMEDevice: use stringify instead of std::to_string

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: disable flush command now
Haomai Wang [Thu, 7 Jan 2016 16:00:52 +0000 (00:00 +0800)]
NVMEDevice: disable flush command now

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add perf counter
Haomai Wang [Thu, 7 Jan 2016 15:18:06 +0000 (23:18 +0800)]
NVMEDevice: add perf counter

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: adjust request/task memory pool size
Haomai Wang [Thu, 7 Jan 2016 14:24:16 +0000 (22:24 +0800)]
NVMEDevice: adjust request/task memory pool size

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: don't try to acquire lock always
Haomai Wang [Thu, 7 Jan 2016 14:11:00 +0000 (22:11 +0800)]
NVMEDevice: don't try to acquire lock always

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: make aio thread pause when idle
Haomai Wang [Wed, 6 Jan 2016 06:54:59 +0000 (14:54 +0800)]
NVMEDevice: make aio thread pause when idle

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add retry support
Haomai Wang [Wed, 6 Jan 2016 06:47:45 +0000 (14:47 +0800)]
NVMEDevice: add retry support

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add flush support
Haomai Wang [Wed, 6 Jan 2016 05:45:55 +0000 (13:45 +0800)]
NVMEDevice: add flush support

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: fix multi ops in one IOContext bug
Haomai Wang [Wed, 6 Jan 2016 05:16:20 +0000 (13:16 +0800)]
NVMEDevice: fix multi ops in one IOContext bug

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: Fix typo
Haomai Wang [Wed, 6 Jan 2016 04:10:07 +0000 (12:10 +0800)]
NVMEDevice: Fix typo

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoKernelDevice: Remove redundancy lines
Haomai Wang [Wed, 6 Jan 2016 04:06:46 +0000 (12:06 +0800)]
KernelDevice: Remove redundancy lines

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: make controller global shared
Haomai Wang [Wed, 6 Jan 2016 03:55:03 +0000 (11:55 +0800)]
NVMEDevice: make controller global shared

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: reorder signal in case of signaled thread modify IOContext
Haomai Wang [Tue, 5 Jan 2016 18:53:10 +0000 (02:53 +0800)]
NVMEDevice: reorder signal in case of signaled thread modify IOContext

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlueFS: Use num_pending instead of pending_aios
Haomai Wang [Tue, 5 Jan 2016 18:51:08 +0000 (02:51 +0800)]
BlueFS: Use num_pending instead of pending_aios

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlockDevice: initialize backend_priv
Haomai Wang [Tue, 5 Jan 2016 17:01:37 +0000 (01:01 +0800)]
BlockDevice: initialize backend_priv

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: make read/write all async
Haomai Wang [Tue, 5 Jan 2016 15:50:15 +0000 (23:50 +0800)]
NVMEDevice: make read/write all async

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: Fix static method
Haomai Wang [Tue, 5 Jan 2016 10:14:04 +0000 (18:14 +0800)]
NVMEDevice: Fix static method

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: SPDK only permit submit/poll within one thread
Haomai Wang [Tue, 5 Jan 2016 09:57:44 +0000 (17:57 +0800)]
NVMEDevice: SPDK only permit submit/poll within one thread

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: fix unknown serial number problem
Haomai Wang [Tue, 5 Jan 2016 09:19:20 +0000 (17:19 +0800)]
NVMEDevice: fix unknown serial number problem

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: wrap C header file
Haomai Wang [Tue, 5 Jan 2016 05:54:20 +0000 (13:54 +0800)]
NVMEDevice: wrap C header file

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoMakefile: let spdk/dpdk libraries linked in upper layer
Haomai Wang [Tue, 5 Jan 2016 05:54:00 +0000 (13:54 +0800)]
Makefile: let spdk/dpdk libraries linked in upper layer

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: add spdk/pci.h
Haomai Wang [Mon, 4 Jan 2016 16:25:47 +0000 (00:25 +0800)]
NVMEDevice: add spdk/pci.h

Signed-off-by: Haomai Wang <haomai@xsky.com>