]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoosd: min_write_recency_for_promote & min_read_recency_for_promote are only used in... 8081/head
huanwen ren [Mon, 14 Mar 2016 05:45:23 +0000 (13:45 +0800)]
osd: min_write_recency_for_promote & min_read_recency_for_promote are only used in cache pool

min_write_recency_for_promote & min_read_recency_for_promote are only used in cache pool

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
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 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 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 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 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 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 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>
9 years agoNVMEDevice: nvme.h use _Static_assert which from c11
Haomai Wang [Mon, 4 Jan 2016 16:20:08 +0000 (00:20 +0800)]
NVMEDevice: nvme.h use _Static_assert which from c11

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: let IOContext can use NVMEDevice pointer
Haomai Wang [Mon, 4 Jan 2016 16:07:32 +0000 (00:07 +0800)]
NVMEDevice: let IOContext can use NVMEDevice pointer

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: remove unused variables
Haomai Wang [Mon, 4 Jan 2016 16:04:14 +0000 (00:04 +0800)]
NVMEDevice: remove unused variables

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoconfigure.ac: fix spdk external header location
Haomai Wang [Mon, 4 Jan 2016 15:55:00 +0000 (23:55 +0800)]
configure.ac: fix spdk external header location

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlueFS: fix comparison warning
Haomai Wang [Mon, 4 Jan 2016 14:36:25 +0000 (22:36 +0800)]
BlueFS: fix comparison warning

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlockDevice: Add override to explicit
Haomai Wang [Mon, 4 Jan 2016 14:33:58 +0000 (22:33 +0800)]
BlockDevice: Add override to explicit

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlockDevice: Fix compile error
Haomai Wang [Mon, 4 Jan 2016 14:30:05 +0000 (22:30 +0800)]
BlockDevice: Fix compile error

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: fix compile error
Haomai Wang [Mon, 4 Jan 2016 14:17:08 +0000 (22:17 +0800)]
NVMEDevice: fix compile error

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoNVMEDevice: use device name instead of path
Haomai Wang [Mon, 4 Jan 2016 14:13:31 +0000 (22:13 +0800)]
NVMEDevice: use device name instead of path

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomakefile: add SPDK detect and NVMEDevice to Makefile
Haomai Wang [Mon, 4 Jan 2016 09:57:02 +0000 (17:57 +0800)]
makefile: add SPDK detect and NVMEDevice to Makefile

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlueStore: Add BlockDevice ability to create different backend
Haomai Wang [Mon, 4 Jan 2016 09:45:27 +0000 (17:45 +0800)]
BlueStore: Add BlockDevice ability to create different backend

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoBlueStore: abostract BlockDevice based KernelDevice and NVMEDevice
Haomai Wang [Tue, 5 Jan 2016 19:45:17 +0000 (03:45 +0800)]
BlueStore: abostract BlockDevice based KernelDevice and NVMEDevice

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agobluestore: rename BlockDevice to KernelDevice matching NVMEDevice
Haomai Wang [Mon, 4 Jan 2016 09:21:40 +0000 (17:21 +0800)]
bluestore: rename BlockDevice to KernelDevice matching NVMEDevice

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agobluestore: add NVMEDevice backend
Haomai Wang [Mon, 4 Jan 2016 09:20:18 +0000 (17:20 +0800)]
bluestore: add NVMEDevice backend

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agocivetweb: update submodule to silence a compile warning 7397/head
Kefu Chai [Sun, 31 Jan 2016 17:55:20 +0000 (01:55 +0800)]
civetweb: update submodule to silence a compile warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocommon,osd: remove _process(T *t) to silence warnings
Kefu Chai [Sat, 30 Jan 2016 17:49:47 +0000 (01:49 +0800)]
common,osd: remove _process(T *t) to silence warnings

* and mark the WorkQueue::_process(T *, TPHandle&) a pure virtual
  method. so we must override it
* and mark all override methods with the "override" specifier.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agorgw: fix the condition of authenticated user's permit check 6562/head
Zengran Zhang [Mon, 1 Feb 2016 04:58:58 +0000 (23:58 -0500)]
rgw: fix the condition of authenticated user's permit check

before fix:
put a bucket under one user with authenticated-read permit
> ./s3curl.pl http://myobs.com/mybucket --put --H "x-amz-acl: authenticated-read"
GET the bucket with anonymous user
> curl http://myobs.com/mybucket -X GET

> successed!

after fix:
anonymous cant GET the authenticated-read bucket
other users who authenticated could GET it

Signed-off-by: Zengran Zhang <zhangzengran@h3c.com>
9 years agoMerge pull request #7266 from sahithi-rv/master 6985/head
Sage Weil [Sun, 31 Jan 2016 15:03:14 +0000 (10:03 -0500)]
Merge pull request #7266 from sahithi-rv/master

common/str_map: cleanup: replaced get_str_map() function overloading by using default parameters for delimiters

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7344 from songbaisen/song8
Sage Weil [Sun, 31 Jan 2016 15:02:13 +0000 (10:02 -0500)]
Merge pull request #7344 from songbaisen/song8

crush: add safety assert

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7363 from cxwshawn/mon-sync-fix
Sage Weil [Sun, 31 Jan 2016 15:01:24 +0000 (10:01 -0500)]
Merge pull request #7363 from cxwshawn/mon-sync-fix

mon: add mon_config_key prefix when sync full

Fixes: #14577
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7383 from liewegas/wip-bluestore
Sage Weil [Sun, 31 Jan 2016 15:00:10 +0000 (10:00 -0500)]
Merge pull request #7383 from liewegas/wip-bluestore

osd: bluestore: some new c++11-isms, a couple reverts

9 years agoEvent: fix array boundary 7451/head
Wei Jin [Sun, 31 Jan 2016 09:55:22 +0000 (17:55 +0800)]
Event: fix array boundary

fd should be less than nevent when deleting

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
9 years agocmake: fix "jobserver unavailable" warning
Kefu Chai [Sun, 31 Jan 2016 08:27:12 +0000 (16:27 +0800)]
cmake: fix "jobserver unavailable" warning

use ${MAKE} so the make command can be properly propagated to their
children

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: disable unused-variable warning for rocksdb
Kefu Chai [Sat, 30 Jan 2016 17:58:34 +0000 (01:58 +0800)]
cmake: disable unused-variable warning for rocksdb

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agorgw: fix the signed/unsigned comparison warning
Kefu Chai [Sat, 30 Jan 2016 17:38:51 +0000 (01:38 +0800)]
rgw: fix the signed/unsigned comparison warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agorados: bench: fix the signed/unsigned comparison warning
Kefu Chai [Sat, 30 Jan 2016 17:37:18 +0000 (01:37 +0800)]
rados: bench: fix the signed/unsigned comparison warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: remove duplicated HAVE_EXECINFO_H macro
Kefu Chai [Sat, 30 Jan 2016 17:12:12 +0000 (01:12 +0800)]
cmake: remove duplicated HAVE_EXECINFO_H macro

fixes the `"HAVE_EXECINFO_H" redefined` warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoos/*stores: fix hidden warnings
Kefu Chai [Thu, 28 Jan 2016 10:15:26 +0000 (02:15 -0800)]
os/*stores: fix hidden warnings

the CollectionHandle variant methods are hidden by the subclasses
who do not override it. so the compiler complains. by adding
"using" statement we expose them again.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoos/bluestore: fix unsigned/signed comparision warning
Kefu Chai [Thu, 28 Jan 2016 10:14:41 +0000 (02:14 -0800)]
os/bluestore: fix unsigned/signed comparision warning

Signed-off-by: Kefu Chai <kchai@redhat.com>