Loic Dachary
8bc8085a00
tests: add Ubuntu 16.04 xenial dockerfile
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-04-09 10:18:53 +02:00
Wei Jin
0e4a92e5d0
crush: fix typo
...
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
2016-04-09 14:52:11 +08:00
Kris Jurka
0a622e6054
doc: rgw admin uses "region list" not "regions list"
2016-04-08 21:47:28 -07:00
runsisi
3c772925ca
journal: fix final result for JournalTrimmer::C_RemoveSet
...
if the first journal object got removed successfully while later objects
failed then the final result should be set to fail
Signed-off-by: runsisi <runsisi@zte.com.cn>
2016-04-09 11:33:06 +08:00
Samuel Just
3b54d5df28
test/rados/misc.cc: add long locator key and namespace tests
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 15:39:13 -07:00
Samuel Just
cb03d4d3c2
LFNIndex: use chain_getxattr_buf
...
LFN attrs can be longer than these hard coded limits, let's just do
buffer doubling everywhere.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 15:39:13 -07:00
Samuel Just
c7db303028
chain_xattr: add chain_getxattr_buf
...
Otherwise callers need to implement buffer doubling in a lot of cases,
which is error prone.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 15:39:13 -07:00
Samuel Just
755c685f2d
LFNIndex::lfn_parse_object_name: return int rather than bool
...
All current callers (except list_objects) already expect
ret < 0 for error. Adjust list_objects to skip on EINVAL
instead of 0.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 15:38:17 -07:00
Samuel Just
e4916f68dd
LFNIndex::list_objects: lfn_translate does not set errno
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 14:57:16 -07:00
Samuel Just
25f937e364
FileStore::set_xattr_limits_via_conf: add warning if max xattr size smaller than max name
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 14:57:16 -07:00
Samuel Just
18b9f95a4a
test/objectstore/chain_xattr.cc: add test for ensure_single_attr
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 14:57:13 -07:00
Samuel Just
73778f1eb9
LFNIndex: ensure that lfn and directory attrs are written atomically
...
We leave skip_chain_cleanup = false since the object may have been
written using code that split the lfn attr over multiple attrs.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 14:16:04 -07:00
Samuel Just
ac750cebc2
chain_[f]getxattr: always use size, no reaon to consider CHAIN_XATTR_MAX_BLOCK_LEN
...
Users of setxattr can now set attrs larger than that size.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 14:16:04 -07:00
Samuel Just
8dc033078f
chain_xattr: s/onechunk/skip_chain_cleanup, add ensure_single_attr
...
onechunk was a deceptive name since it didn't actually ensure that
a single chunk would be used. Rename to ensure_single_attr. Also,
add a parameter to ensure that we use a single attribute. We need
these to be distinct since we have LFN attrs which have been split
over 254 byte xattrs since after hammer which we need to correctly
clean up. However, we need to ensure going forward that those attrs
are never split over more than one chunk -- it's not atomic.
Further, skip_chain_cleanup should imply ensure_single_attr, so make
them template params and add a static check to make sure we don't
mess this up in the future.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 14:16:04 -07:00
Samuel Just
21487fd0c2
os/,osd/: restructure the rados name length check
...
Enforce locator length vs the max name length and also
introduce a namespace length limit.
In addition to these checks, also pass the head object to the
ObjectStore implementation to validate. This allows LFNIndex to account
for the idiosyncracies of its filename escaping and for different xattr
value max sizes.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-08 14:16:00 -07:00
Orit Wasserman
7a94d9767b
Merge pull request #8453 from cbodley/wip-rgw-sync-master-down
...
rgw: retry RGWRemoteMetaLog::read_log_info() while master is down
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-04-08 17:43:25 +02:00
youji
8770043506
ceph-disk: fix set_data_partition() when data is partition.
...
Signed-off-by: You Ji <youji@ebay.com>
2016-04-08 08:17:43 -07:00
Karol Mroz
a330078e29
rgw-admin: fix period delete error message
...
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-08 16:47:40 +02:00
Karol Mroz
3320f8fe31
rgw-admin: remove unused iterator
...
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-08 16:44:34 +02:00
Matt Benjamin
3ea7af87eb
Merge pull request #8434 from theanalyst/rgw/typo-fix
...
rgw: fix a typo in error message
2016-04-08 10:39:09 -04:00
Orit Wasserman
3680c0e581
Merge pull request #8481 from weiqiaomiao/wq
...
rgw: the map 'headers' is assigned a wrong value
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-04-08 16:19:29 +02:00
Matt Benjamin
77e0a1b753
Merge pull request #8488 from oritwas/wip-15318
...
rgw: fix problem deleting objects begining with double underscores
2016-04-08 09:57:44 -04:00
Jason Dillaman
b1bc14680c
rbd-mirror: fixed infinite loop when disabling image mirroringReviewed-by: Jason Dillaman <dillaman@redhat.com>
...
librbd: fixed infinite loop when disabling image mirroring
2016-04-08 08:36:55 -04:00
Ricardo Dias
64a8a6a1b7
rbd-mirror: fixed bug that caused infinite loop when disabling image mirroring
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-04-08 11:02:42 +01:00
Loic Dachary
e2b8ce4a87
Merge pull request #8501 from dachary/wip-releases
...
releases: update the v10.1.0 release link
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2016-04-08 11:41:08 +02:00
Swami Reddy
a651598138
mailmap: Luo Kexue name normalization
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:57:38 +05:30
Swami Reddy
c36c5d4633
mailmap: Ning Yao affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:51:18 +05:30
Swami Reddy
eb536bb279
mailmap: Vitja Makarov affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:49:31 +05:30
Loic Dachary
323276e06a
release-notes: v10.1.1 release notes
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-04-08 11:19:13 +02:00
Loic Dachary
18d06efd80
release-notes: v10.1.1 release notes (draft)
...
cd src/script
virtualenv v
source v/bin/activate
pip install githubpy GitPython requests
GITHUB_ACCESS_TOKEN=xxxxxxx ./ceph-release-notes \
-r tags/v10.1.0..tags/v10.1.1 $(git rev-parse --show-toplevel)
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-04-08 11:15:03 +02:00
Swami Reddy
1be8dba4f7
mailmap: sunspot affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:44:03 +05:30
Swami Reddy
c256a9c673
mailmap: Qinghua Jin affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:40:01 +05:30
Swami Reddy
c312b523d8
mailmap: Richard W.M. Jones affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:37:16 +05:30
Swami Reddy
b441722bd5
mailmap: Ira Cooper affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:31:44 +05:30
Swami Reddy
f4f9d9162d
mailmap: Star Guo affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:27:57 +05:30
Swami Reddy
ceb2a72503
mailmap: Xiaoxi Chen affiliation
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:25:49 +05:30
Swami Reddy
885db9512c
mailmap: Jenkins name normalization
...
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2016-04-08 14:23:06 +05:30
Loic Dachary
fb63721e42
releases: firefly was EOL december 2015
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-04-08 09:54:12 +02:00
Loic Dachary
fc29dc2e68
releases: update the v10.1.0 release link
...
And add the v10.1.1 release notes as well.
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-04-08 09:45:55 +02:00
Dan Mick
872ad16e4a
Merge pull request #8500 from linuxbox2/ldap-include
...
rgw_ldap: make ldap.h inclusion conditional
Reviewed-by: Dan Mick <dmick@redhat.com>
2016-04-07 17:43:18 -07:00
Greg Farnum
eb36957346
Merge branch 'wip-fuse-log' of git://github.com/liewegas/ceph into greg-fs-testing
...
Enable log rotation: handle SIGHUP in ceph_fuse.cc and add it to the conf.
https://github.com/ceph/ceph/pull/8485
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-04-07 17:38:17 -07:00
Greg Farnum
59b86ca70d
Merge branch 'wip-layout-snafu-followup' of git://github.com/jcsp/ceph into greg-fs-testing
...
Be more transparent about several failure modes and do more validation on replay
https://github.com/ceph/ceph/pull/8468
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-04-07 17:28:00 -07:00
Greg Farnum
eadc0e05ed
Merge branch 'jewel-fs-pool-perm' of git://github.com/ukernel/ceph into greg-fs-testing
...
Extend the existing pool access checking to include specific RADOS namespacse.
https://github.com/ceph/ceph/pull/8444
Reviewed-by: John Spray <john.spray@redhat.com>
2016-04-07 17:26:37 -07:00
Greg Farnum
d1a03356a6
Merge branch 'xxg-wip-mds' of git://github.com/xiexingguo/ceph into greg-fs-testing
...
Fix several message leaks and handle clock skew more politely.
https://github.com/ceph/ceph/pull/8408
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-04-07 17:23:06 -07:00
Greg Farnum
441c9e0115
Merge branch 'renhw-wip-mds-clean_up_admin_socket' of git://github.com/renhwsky/ceph into greg-fs-testing
...
Clean up some admin socket commands on shutdown.
https://github.com/ceph/ceph/pull/8483
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-04-07 17:21:14 -07:00
Greg Farnum
d033d708ec
Merge branch 'wip-fs-set-default' of git://github.com/ukernel/ceph into greg-fs-testing
...
Allow changing the default filesystem used by "legacy" clients.
https://github.com/ceph/ceph/pull/8391
Reviewed-by: John Spray <john.spray@redhat.com>
2016-04-07 17:20:17 -07:00
Greg Farnum
f6209798f8
Merge remote-tracking branch 'github/wip-fs-lockouts' into greg-fs-testing
...
Protect a number of unstable/experimental features behind durable flags
https://github.com/ceph/ceph/pull/8383
Reviewed-by: John Spray <john.spray@redhat.com>
2016-04-07 17:07:16 -07:00
Greg Farnum
c4e888f90e
Merge branch 'jewel-15303' of git://github.com/ukernel/ceph into greg-fs-testing
...
Resolve certain issues with incorrectly skipping dentries in listing.
https://github.com/ceph/ceph/pull/8353
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Tested-by: John Spray <john.spray@redhat.com>
2016-04-07 17:01:06 -07:00
Sage Weil
9821b29b75
Merge pull request #8495 from athanatos/wip-14777
...
osd/ReplicatedPG::_rollback_to: update the OMAP flag
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-07 19:40:56 -04:00
Greg Farnum
d82c49703d
doc: add a page for CephFS' experimental features describing lockout rules
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-04-07 16:40:24 -07:00