Yan, Zheng
aaaa6f616c
Merge pull request #18784 from taodd/client-bugfix
...
Client:Fix readdir bug
2017-11-19 20:47:09 +08:00
Yan, Zheng
b730db7dc7
Merge pull request #18786 from taodd/master
...
Client: setattr should drop "Fs" rather than "As" for mtime and size
2017-11-19 20:46:22 +08:00
Yan, Zheng
d4c96095e7
Merge pull request #18836 from taodd/cephfs-hadoop
...
MDS: correct the error msg when init mon client
2017-11-19 20:44:43 +08:00
Yan, Zheng
7bcaf9522f
Merge pull request #18892 from taodd/client-bugfix2
...
MDS: add null check before we push_back "onfinish"
2017-11-19 20:43:39 +08:00
Yan, Zheng
6fa601019b
Merge pull request #18893 from taodd/mds-inotable-cleanup
...
mds: simplify the code logic in replay_alloc_ids
2017-11-19 20:43:03 +08:00
Yan, Zheng
67d1e6d0c7
Merge pull request #18904 from taodd/mds-sesseionmap-cleanup
...
mds: get rid of the "if" check which is unnecessary inside a loop
2017-11-19 20:40:48 +08:00
Yan, Zheng
ff71fbdcbb
mds: properly execute scrub finish context
...
Bug was introduced by commit 7e52729699
(mds: flush after scrub repairs)
Fixes: http://tracker.ceph.com/issues/22058
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-11-19 20:26:41 +08:00
Mykola Golub
a168d838c1
rbd-mirror: missing lock when re-sending update_sync_point
...
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-19 09:45:41 +02:00
Shinobu Kinjo
0279c6f874
src/libcephfs.cc: Cleanup nullptr initializations against deleted objects, etc
...
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-11-19 07:24:46 +09:00
Mykola Golub
b9ea759556
Merge pull request #19003 from dillaman/wip-22158
...
librbd: set deleted parent pointer to null
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-18 18:07:48 +02:00
Jason Dillaman
7b53256bb8
librbd: set deleted parent pointer to null
...
Fixes: http://tracker.ceph.com/issues/22158
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-18 08:30:27 -05:00
Kefu Chai
a83609b9b5
Merge pull request #18963 from amitkumar50/test-cov-test-9
...
test: Incorrect conversion to double
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 21:14:16 +08:00
Kefu Chai
e5aee684a9
Merge pull request #18901 from jan--f/jan-crushtool-decompile-missing-ids
...
tools/crushtool: skip device id if no name exists
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 21:12:23 +08:00
Kefu Chai
fe2b7ffc73
Merge pull request #18939 from majianpeng/bluestore-reap-collection
...
os/bluestore: fix the wrong usage for map_any
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-18 21:10:52 +08:00
Kefu Chai
eb413d18c5
Merge pull request #18913 from yaozongyou/wip-rados-add-touch-command
...
tools/rados: add touch command to change object modification time
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-18 21:10:16 +08:00
Kefu Chai
205609cd9d
Merge pull request #18848 from jcsp/wip-22098
...
mgr/dashboard: fix audit log loading
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 21:08:29 +08:00
Kefu Chai
d5bb6e4034
Merge pull request #18847 from jcsp/wip-mgr-mon-upness
...
mgr/dashboard: show warnings if data is out of date or mons are down
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2017-11-18 21:05:50 +08:00
Kefu Chai
e0a7ef57e0
Merge pull request #18484 from Liuchang0812/wip-mgr-request-osd-metadata
...
mgr: request daemon's metadata when receiving a report from an unknown server
Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-18 21:04:37 +08:00
Kefu Chai
6515dbeccd
Merge pull request #18976 from yahooguntu/patch-1
...
udev: Fix typo in udev OSD rules file
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 20:57:56 +08:00
Kefu Chai
1ac89cb799
rpm: add cunit-devel for 'suse_version'
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 14:05:25 +08:00
Kefu Chai
b9c822a29d
Merge pull request #18944 from tchaikov/wip-dpdk-spdk
...
cmake: WITH_SPDK=ON by default
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2017-11-18 13:15:52 +08:00
chunmei
0610332585
msg/async: rebase msg/async/dpdk to spdk/dpdk
...
Signed-off-by: Liu-Chunmei <chunmei.liu@intel.com>
2017-11-18 10:45:28 +08:00
Kefu Chai
a69bd61b8c
cmake: use BuildDPDK if libdpdk not found
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:45:26 +08:00
Kefu Chai
e8add075ec
cmake: add rte_mempool_{ring,stack} to Finddpdk.cmake
...
* also refactor it a little bit
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:44:56 +08:00
Kefu Chai
9964ac9251
cmake: BuildDPDK: do not build kernel modules
...
see also http://pkgs.fedoraproject.org/cgit/rpms/dpdk.git/tree/dpdk.spec
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:44:56 +08:00
Kefu Chai
79db2c4095
cmake: remove duplicated spdk linkage
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:44:56 +08:00
Kefu Chai
dbe04b4a85
cmake: refactor dpdk related code
...
* move the check of `USE_CRYPTOPP` to $top_srcdir/CMakeLists.txt
* remove reference of DPDK_LIBRARY, it's defined nowhere
* move the dpdk code to a single place
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:43:33 +08:00
Peter Woodman
dff64a2de2
doc: add 'deep' state to pg-states.rst, change description of 'scrubbing' state to differentiate from 'deep' state
...
Signed-off-by: Peter Woodman <peter@shortbus.org>
2017-11-17 16:38:34 -08:00
Peter Woodman
8c93c0eeaf
mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin
...
without this the endpoint throws 500s when any PG is doing a deep scrub.
Signed-off-by: Peter Woodman <peter@shortbus.org>
Fixes: http://tracker.ceph.com/issues/22116
2017-11-17 16:38:34 -08:00
Andrew Schoen
664a2f9fae
Merge pull request #18988 from ceph/wip-rm22154
...
ceph-disk: create deprecation warnings
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-11-17 14:36:42 -06:00
Alfredo Deza
e433efe514
doc/ceph-volume create a migration section to help users coming from ceph-disk
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-17 13:39:17 -05:00
Alfredo Deza
c9da92e1ec
ceph-disk add deprecation warnings in favor of ceph-volume
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Fixes: http://tracker.ceph.com/issues/22154
2017-11-17 13:38:02 -05:00
Yuri Weinstein
f870729aa1
Merge pull request #18917 from ZVampirEM77/wip-em-copyobjdata-cleanup
...
rgw: cleanup unused parameters in RGWRados::copy_obj_data
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-11-17 09:55:29 -08:00
Mitch Birti
515417294c
udev: Fix typo in udev OSD rules file
...
The rule for lockbox partitions had an invalid UUID for the "change" action.
Signed-off-by: Mitch Birti <yahooguntu@gmail.com>
2017-11-17 11:31:38 -06:00
J. Eric Ivancich
a5c88f61cb
rgw clean-up: remove unused var & func in RGWRados::SystemObject
...
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-11-17 11:59:26 -05:00
Yuri Weinstein
383dd576d9
Merge pull request #18922 from Synesis-LLC/fix-22122
...
rgw: fix radosgw-admin bucket rm with --purge-objects and --bypass-gc
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-17 08:49:31 -08:00
Yuri Weinstein
6ce6be64db
Merge pull request #18956 from Jeegn-Chen/wip-issue-22129
...
rgw: AWS v4 authorization work when INIT_MULTIPART is chunked
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2017-11-17 08:48:37 -08:00
Andrew Schoen
ee4447e3a6
Merge pull request #18984 from ceph/wip-cv-unittest-fix
...
ceph-volume tests.devices.lvm prepare isn't bluestore specific anymore
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-11-17 09:38:08 -06:00
Casey Bodley
3bb3419c19
Merge pull request #18968 from joscollin/wip-rgwadmin-rewrite
...
rgw: fix rewrite options usage text
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-17 10:25:47 -05:00
Sage Weil
4ee67364d5
Merge pull request #17797 from amitkumar50/cov-msg-3
...
msg: Initialize lkey,bound,port_cnt,num_chunk,gid_idx
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-17 08:52:50 -06:00
Sage Weil
4c19f6f2da
Merge pull request #17874 from ShowingCloud/master
...
ceph-bluestore-tool: check if bdev is empty on 'bluefs-bdev-expand'
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-17 08:51:07 -06:00
Sage Weil
52bd432cd0
Merge pull request #18090 from amitkumar50/test-cov-8
...
test: checking negative returns from creat()
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-17 08:49:59 -06:00
Abhishek Lekshmanan
347c5148a5
rgw: keystone: bump up logging when error is received
...
When keystone engine is used and there is an error (often due to
misconfigured urls etc) these do not show up at the final logs as we
just return -1 at the final stage. Adding logs at level 5 for these
cases, as they can help identify a possible misconfigured url or admin
token. Eg:
```
5 Failed keystone auth from http://localhost:5000/v3/v3/auth/tokens with 404
```
Fixes: http://tracker.ceph.com/issues/22151
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-11-17 15:31:19 +01:00
Alfredo Deza
2f40dbac38
ceph-volume tests.devices.lvm prepare isn't bluestore specific anymore
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-17 08:41:24 -05:00
David Disseldorp
14a0c2a727
sysctl.d: set kernel.pid_max=4194304 on 64-bit systems
...
For CONFIG_BASE_FULL Linux kernels, the maximum number of proc/thread
IDs is set to 32768 by default. This default limit can be quite easily
hit during recovery on nodes with high OSD counts.
To avoid hitting the pid_max default limit, attempt to configure it to
4194304, which corresponds to the maximum limit possible on 64-bit
CONFIG_BASE_FULL kernels.
Fixes: http://tracker.ceph.com/issues/21929
Signed-off-by: David Disseldorp <ddiss@suse.de>
2017-11-17 14:40:23 +01:00
David Disseldorp
4d0b700688
sysctl: relocate 90-ceph-osd.conf under etc/sysctl/
...
Signed-off-by: David Disseldorp <ddiss@suse.de>
2017-11-17 14:40:23 +01:00
Jianpeng Ma
ede0d94177
os/filestore: remove redudant check.
...
If next is null, we already set a non-null to it. So don't check again.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-11-17 19:22:37 +08:00
Jianpeng Ma
d681562bb7
os/bluestore: using ghobject_t::is_max to judge.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-11-17 19:21:59 +08:00
Neha Ojha
c8419dee19
osd/PG: const cleanup for recoverable/readable predicates
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-11-17 16:20:00 +05:30
Jianpeng Ma
07280086db
os/bluestore: bypass check if collection has more objects than nonexistent_count.
...
If next != ghobject_t::get_max(), this mean collection has more data
than nonexistent_count. For this we should bypass check.
And fix wrong comments because _collection_list don't return object num.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-11-17 18:16:00 +08:00