Commit Graph

72244 Commits

Author SHA1 Message Date
Abhishek Lekshmanan
b4a4416e1f rgw: drop using namespace std in header files
We're still having the include in include/type.h, so just sweeping
things under the rug for now

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-17 16:13:54 +02:00
John Spray
3155335c4c Merge pull request #15094 from fullerdj/wip-djf-19893
qa/cephfs: Fix for test_data_scan

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-16 10:51:55 +01:00
John Spray
71e3a85368 Merge pull request #14938 from michaelsevilla/f19362
mds: add perf counters for file system operations

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-16 10:45:34 +01:00
John Spray
5efad43ec8 Merge pull request #15018 from ukernel/wip-19890
pybind: fix open flags calculation

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-16 10:15:03 +01:00
John Spray
ea4a165f17 Merge pull request #14769 from ukernel/wip-19755
osdc/Filer: truncate large file party by party

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-16 10:13:58 +01:00
John Spray
6f1bf0dd9b Merge pull request #15052 from batrick/i19734
mds: use debug_mds for most subsys

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-15 22:31:27 +01:00
Douglas Fuller
7f659e104d qa/cephfs: Fix for test_data_scan
Don't assume that test_data_scan will be run on exactly 2 MDS nodes.

Fixes: http://tracker.ceph.com/issues/19893
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-05-15 16:01:02 -04:00
Sage Weil
880dde8e47 Merge pull request #15091 from ceph/luminous
merge v12.0.2 release tag
2017-05-15 12:47:42 -05:00
Michael Sevilla
6de3e18414 mds: add perf counters for file system operations
Shows the types of operations that clients are doing by adding counters to the
spot where the MDS responds to clients. This avoids counting operations that
were restarted while waiting for locks or for metadata to load.  Does not
support per-client activity. This is the first step towards comprehensive
performance tracking in the file system.

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
2017-05-15 10:43:21 -07:00
Kefu Chai
6db74cf102 Merge pull request #15079 from ztczll/master
mailmap: ztczll affiliation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-16 00:25:01 +08:00
Casey Bodley
bd58423b97 Merge pull request #15081 from tchaikov/wip-fio-readme
fio: update README.md so only the fio ceph engine is built

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-15 10:03:24 -04:00
Jason Dillaman
6b86362036 Merge pull request #15048 from trociny/wip-19907
rbd-mirror: resolve admin socket path names collision

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-15 08:43:55 -04:00
John Spray
17f669a868 Merge pull request #15026 from ukernel/wip-19891
qa/suites/fs: reserve more space for mds in full tests

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-15 13:21:52 +01:00
John Spray
a1e51dfc90 Merge pull request #15039 from ukernel/wip-19903
client: fix UserPerm::gid_in_group()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-15 13:18:09 +01:00
John Spray
897b5f5bbe Merge pull request #15035 from batrick/quiet-mds-grow-shrink
qa: silence spurious insufficient standby health warnings

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-05-15 13:17:38 +01:00
John Spray
d63962f194 Merge pull request #14991 from ukernel/wip-19828
mds: fix use-after-free in Locker::file_update_finish()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-15 13:16:35 +01:00
John Spray
0f250a889d Merge pull request #14978 from cernceph/dvanders_quota
client: client_quota no longer optional

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-15 13:16:09 +01:00
Kefu Chai
1a0a89de96 fio: update README.md so only the fio ceph engine is built
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-15 16:13:46 +08:00
Kefu Chai
43a55828c6 Merge pull request #15044 from lixiaoy1/master
test/fio_ceph_objectstore: fix fio plugin build failure by engine_data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-15 16:10:09 +08:00
zhanglei
c003d900a7 mailmap:ztczll affiliation
Signed-off-by: zhanglei <243290414@qq.com>
2017-05-15 03:13:37 -04:00
Sage Weil
3e138f88dc Merge pull request #15076 from atheism/atheism-mailmap
mailmap: Weibing Zhang mailmap affiliation
2017-05-14 22:06:47 -05:00
Sage Weil
ade9fec92b Merge pull request #15007 from ztczll/master
test/objectstore/: Check put_ref return value

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-14 21:50:37 -05:00
Sage Weil
a869c9a56a Merge pull request #15021 from runsisi/wip-fix-writefull
osd/PrimayLogPG: update modified range to include the whole object size for write_full op

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-14 21:50:09 -05:00
Sage Weil
d53127a27f Merge pull request #15046 from ukernel/wip-osdmap-encode
osd/OSDMap: bump encoding version for require_min_compat_client

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-14 21:49:21 -05:00
Weibing Zhang
1624b063c5 mailmap: Weibing Zhang mailmap affiliation
Signed-off-by: Weibing Zhang <atheism.zhang@gmail.com>
2017-05-14 13:12:58 +08:00
Mykola Golub
cd71ffce19 rbd-mirror: resolve admin socket path names collision
If global admin_socket parameter is set, for PoolReplayer admin
sockets generate and use unique paths in $run_dir. Provide the socket
paths in output of PoolReplayer's "rbd mirror status" admin socket
command.

A possible use case:

1) run "rbd mirror status $pool_replayer" command using global admin
   socket (known from configuration) and obtain socket paths for the
   PoolReplayer local and remote context sockets.
2) Use these paths to run commands provides by the contexts.

Fixes: http://tracker.ceph.com/issues/19907
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-05-12 20:28:16 +02:00
Yehuda Sadeh
404cee744f Merge pull request #13111 from cbodley/wip-rgw-mdlog-trim
rgw multisite: automated mdlog trimming

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-05-12 07:12:17 -07:00
Kefu Chai
cf8b54ae7d Merge pull request #15004 from liewegas/wip-19880
os/bluestore: fix deferred write race

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-12 19:45:01 +08:00
Kefu Chai
c8262225de Merge pull request #15029 from xiexingguo/wip-bluestore-20170510
os/bluestore: pre-calculate number of ghost buffers to evict

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-12 19:40:59 +08:00
Kefu Chai
6fbcac46a3 Merge pull request #15012 from tchaikov/wip-byteswap
byteorder: use gcc intrinsics for byteswap

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-12 19:40:02 +08:00
Kefu Chai
5a32cd3d3c Merge pull request #15019 from badone/wip-redundant-headers-2
common: Remove redundant includes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-12 19:38:28 +08:00
Kefu Chai
e08283a970 Merge pull request #15040 from tchaikov/wip-19902
osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-12 19:36:02 +08:00
Kefu Chai
a4d4a9bcc9 Merge pull request #15009 from tchaikov/wip-kill-warnings
libradosstriper: do not assign garbage to returned value

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-12 19:34:13 +08:00
Kefu Chai
05e2528b92 Merge pull request #14940 from ceph/wip-radosgw-admin-package-move
debian/rpm: move radosgw-admin to ceph-common

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-12 19:06:09 +08:00
zhanglei
fc9fa8acb8 test/common: Check block_device_model return value
Signed-off-by: zhanglei <243290414@qq.com>
2017-05-12 04:59:33 -04:00
Yan, Zheng
e6493f64ba pybind: fix cephfs.OSError initialization
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cephfs.pyx", line 672, in cephfs.LibCephFS.open (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:10160)
  File "cephfs.pyx", line 155, in cephfs.OSError.__init__ (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:1889)
TypeError: __init__() takes exactly 3 positional arguments (2 given)

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-05-12 10:41:43 +08:00
Sage Weil
d0a73ec955 Merge pull request #13610 from liewegas/wip-snapset
osd: eliminate snapdir objects and move clone snaps vector into SnapSet

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-11 21:18:11 -05:00
Sage Weil
bc6e9a304c Merge pull request #15056 from liewegas/wip-fix-osdmap-comment
osd/OSDMap: fix feature commit comment
2017-05-11 17:30:27 -05:00
Sage Weil
44ad0acf78 osd/OSDMap: fix feature commit comment
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-11 17:29:26 -05:00
Casey Bodley
74ddaa5eae Merge pull request #10260 from weiqiaomiao/wqm-wip-clean-opstate
rgw: clean unuse code in cls_statelog_check_state

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-11 12:01:26 -04:00
Casey Bodley
6e8d337151 Merge pull request #14411 from mikulely/rgw-cleanup-rados
rgw: rgw_rados drop deprecated global var

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-11 11:59:23 -04:00
Casey Bodley
9fbea01c96 Merge pull request #14906 from mikulely/lc-cleanup-2
rgw: cleanup lc continuation

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-05-11 11:58:38 -04:00
Casey Bodley
84fb0cd505 Merge pull request #15010 from shashalu/fix-bucket-create
rgw: when create_bucket use the same num_shards with info.num_shards

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-11 11:56:02 -04:00
Sage Weil
381f465839 Merge pull request #15017 from dillaman/wip-19863
common/bit_vector: utilize deep-copy during data decode

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-11 10:17:15 -05:00
Patrick Donnelly
bdf1a7a943
mds: use debug_mds for most subsys
DOUT_COND was obsoleted by f41887e38d.

Balancer and Mantle use a dout hack to continue working since we will probably
specifically want very verbose balancer output in the future.

Fixes: http://tracker.ceph.com/issues/19734

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-11 10:49:54 -04:00
lisali
2c91e91b8a test/fio_ceph_objectstore: fix fio plugin build failure by engine_data
The commit in fio 710bf9c592
changed engine_data to a union which leads build of fio_ceph_objectstore failed.

Signed-off-by: Lisa Li xiaoyan.li@intel.com
2017-05-11 10:44:43 -04:00
runsisi
1fdc92716e osd/PrimayLogPG: update modified range to include the whole object size for write_full op
Signed-off-by: runsisi <runsisi@zte.com.cn>
2017-05-11 21:54:30 +08:00
runsisi
bb6d2de31a osd/PrimaryLogPG: drop parameter count_bytes for write_update_size_and_usage
Signed-off-by: runsisi <runsisi@zte.com.cn>
2017-05-11 21:45:08 +08:00
Yan, Zheng
4a09e9431d osd/OSDMap: bump encoding version for require_min_compat_client
Otherwise, OSDMap::decode() throws expcetion when decoding old
version osdmap

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-05-11 21:37:50 +08:00
John Spray
745902aec6 Merge pull request #14743 from ukernel/wip-19635
mds: issue new caps when sending reply to client

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-11 10:46:41 +01:00