Skip to content
Snippets Groups Projects
  1. Apr 22, 2019
    • Sage Weil's avatar
      relicense LGPL-2.1 code as LGPL-2.1 or LGPL-3.0 · 2f361a6e
      Sage Weil authored
      
      The primary motivation to relicense is a desire to integrate with projects
      that are licensed under the Apache License version 2.0.  Although opinions
      vary, there are some who argue the the LGPL-2.1 and Apache-2.0 licenses
      are not fully compatible.  We would like to avoid the ambiguity and
      potential for controversy.
      
      Projects we would like to consume that are Apache-2.0 licensed include
      Seastar, OpenSSL (which is in the process of relicensing to Apache-2.0),
      and Swagger (swagger.io).  Note that some of these are dynamically linked
      or consumed via a high-level language and may or may not require a change
      to LGPL-3.0, but providing the option for LGPL-3.0 certainly avoids any
      uncertainty.
      
      A few other source files are already incorporated into Ceph that claim an
      Apache-2.0 license:
      
          src/common/deleter.h
          src/common/sstring.h
          src/include/cpp-btree
      
      The Ceph developers would further like to provide a license option that is
      more modern than the current LGPL-2.1.  LGPL-3.0 includes updated,
      clarified language around several issues and is widely considered
      more modern, superior license.
      
      Signed-off-by: default avatarSage Weil <sage@redhat.com>
      2f361a6e
    • Sage Weil's avatar
    • Sage Weil's avatar
      COPYING: LGPL2.1 -> LGPL-2.1 · c9ee32bc
      Sage Weil authored
      
      Signed-off-by: default avatarSage Weil <sage@redhat.com>
      c9ee32bc
    • Sage Weil's avatar
      COPYING: extra bits from debian/copyright · efc80e57
      Sage Weil authored
      
      Signed-off-by: default avatarSage Weil <sage@redhat.com>
      efc80e57
  2. Apr 08, 2019
  3. Nov 05, 2018
  4. Oct 01, 2018
  5. Sep 17, 2018
  6. Mar 21, 2018
    • Casey Bodley's avatar
      Squashed 'src/dmclock/' changes from 6f9250b4e9..5538352024 · b7c8aeb6
      Casey Bodley authored
      5538352024 Merge pull request #49 from cbodley/wip-remove-by-ptr
      2dbd66d039 PriorityQueueBase uses RequestRef&& for remove_by callbacks
      729d8c0400 Merge pull request #48 from ivancich/wip-add-license
      3f2e0b4bf4 Added LGPL2.1 license to all files.
      
      git-subtree-dir: src/dmclock
      git-subtree-split: 5538352024bd6a774305218b4a27063ce5563162
      b7c8aeb6
  7. Mar 13, 2018
    • Nathan Cutler's avatar
      legal: remove doc license ambiguity · e294dd59
      Nathan Cutler authored
      The license applicable to the files under doc/ was originally declared (in the
      top-level file COPYING) to be "Creative Commons Attribution-ShareAlike (CC
      BY-SA)" by ed0653b4
      
      This license declaration omitted a version number.
      
      Some time later ef741842 was merged, mentioning
      CC-BY-SA-1.0 as one of the Ceph source code licenses. Although the purpose of that
      commit was only to summarize the canonical license information from COPYING, it
      unintentionally became the only place in the source code where the doc license
      version was specified.
      
      In March 2018, the Debian project warned that CC-BY-SA-1.0 does not meet its
      criteria for inclusion in the "free" section of the Debian distribution. (For
      that, at least version 3.0 must be used.)
      
      This new commit removes the doc license ambiguity by setting it to CC-BY-SA-3.0
      in all places where the license is mentioned.
      
      The exact spelling of the license name is taken from https://spdx.org/licenses/
      
      Fixes: http://tracker.ceph.com/issues/23336
      
      
      Signed-off-by: default avatarNathan Cutler <ncutler@suse.com>
      e294dd59
  8. Oct 04, 2017
  9. Jun 14, 2017
  10. Nov 13, 2015
  11. Aug 25, 2015
  12. May 31, 2015
  13. Feb 27, 2015
  14. Aug 04, 2014
    • Loic Dachary's avatar
      erasure-code: HTML display of benchmark results · 8363a94a
      Loic Dachary authored
      The ceph_erasure_code_benchmark output is converted into a JSON series
      suitable to display in HTML with the http://www.flotcharts.org/
      
      
      library. A self contained copy of the HTML,JS,CSS files is included for
      durability and can be used from the source tree with:
      
          CEPH_ERASURE_CODE_BENCHMARK=src/ceph_erasure_code_benchmark  \
          PLUGIN_DIRECTORY=src/.libs \
              qa/workunits/erasure-code/bench.sh fplot jerasure |
              tee qa/workunits/erasure-code/bench.js
      
      and display with:
      
          firefox qa/workunits/erasure-code/bench.html
      
      Signed-off-by: default avatarLoic Dachary <loic@dachary.org>
      8363a94a
    • Loic Dachary's avatar
      COPYING: Cloudwatt copyright is inline · 3cc72345
      Loic Dachary authored
      
      Remove partial list of contributions since Cloudwatt copyright has been
      placed in the copyright notices of the files where works covered by
      copyright have been included.
      
      Signed-off-by: default avatarLoic Dachary <loic@dachary.org>
      3cc72345
  15. Oct 02, 2013
  16. Sep 13, 2013
  17. Sep 10, 2013
  18. Aug 21, 2013
  19. Aug 14, 2013
    • Sage Weil's avatar
      rbd.cc: relicense as LGPL2 · 2206f557
      Sage Weil authored
      
      All past authors for rbd.cc have consented to relicensing from GPL to
      LGPL2 via email:
      
      ---
      
      Date: Sat, 27 Jul 2013 01:59:36 +0200
      From: Sylvain Munaut <s.munaut@whatever-company.com>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      I hereby consent to the relicensing of any contribution I made to the
      aforementioned rbd.cc file from GPL to LGPL2.1.
      
      (I hope that'll be impressive enough, I did my best :p)
      
      btw, tnt@246tNt.com and s.munaut@whatever-company.com are both me.
      
      
      Cheers,
      
          Sylvain
      
      ---
      
      Date: Fri, 26 Jul 2013 17:00:48 -0700
      From: Yehuda Sadeh <yehuda@inktank.com>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      I consent.
      
      ---
      
      Date: Fri, 26 Jul 2013 17:02:24 -0700
      From: Josh Durgin <josh.durgin@inktank.com>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      I consent.
      
      ---
      
      Date: Fri, 26 Jul 2013 18:17:46 -0700
      From: Stanislav Sedov <stas@freebsd.org>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      I consent.
      
      Thanks for taking care of it!
      
      ---
      
      Date: Fri, 26 Jul 2013 18:24:15 -0700
      From: Colin McCabe <cmccabe@alumni.cmu.edu>
      
      I consent.
      
      cheers,
      Colin
      
      ---
      
      Date: Sat, 27 Jul 2013 07:08:12 +0200
      From: Christian Brunner <christian@brunner-muc.de>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      I consent
      
      Christian
      
      ---
      
      Date: Sat, 27 Jul 2013 12:17:34 +0300
      From: Stratos Psomadakis <psomas@grnet.gr>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      Hi,
      
      I consent with the GPL -> LGL2.1 re-licensing.
      
      Thanks
      Stratos
      
      ---
      
      Date: Sat, 27 Jul 2013 16:13:13 +0200
      From: Wido den Hollander <wido@42on.com>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      I consent!
      
      You have my permission to re-license the code I wrote for rbd.cc to LGPL2.1
      
      ---
      
      Date: Sun, 11 Aug 2013 10:40:32 +0200
      From: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
      Subject: Re: btw
      
      Hi Sage,
      
      I agree to switch the license of ceph_argparse.py and rbd.cc from GPL2
      to LGPL2.
      
      Regards
      
      Danny Al-Gaaf
      
      ---
      
      Date: Tue, 13 Aug 2013 17:15:24 -0700
      From: Dan Mick <dan.mick@inktank.com>
      Subject: Re: Ceph rbd.cc GPL -> LGPL2 license change
      
      I consent to relicense any contributed code that I wrote under LGPL2.1 license.
      
      ---
      
      ...and I consent too.  Drop the exception from COPYING and debian/copyright
      files.
      
      Signed-off-by: default avatarSage Weil <sage@inktank.com>
      2206f557
  20. Jul 26, 2013
  21. Feb 11, 2013
    • Loic Dachary's avatar
      Unit tests for chain_xattr.cc · a62d5198
      Loic Dachary authored
      Create a new test file covering most (> 97%) of src/os/chain_xattr.{cc,h}
      lines of code. The following functions are tested:
      
      int chain_getxattr(const char *fn, const char *name, void *val, size_t size);
      int chain_fgetxattr(int fd, const char *name, void *val, size_t size);
      int chain_setxattr(const char *fn, const char *name, const void *val, size_t size);
      int chain_fsetxattr(int fd, const char *name, const void *val, size_t size);
      int chain_listxattr(const char *fn, char *names, size_t len);
      int chain_flistxattr(int fd, char *names, size_t len);
      int chain_removexattr(const char *fn, const char *name);
      int chain_fremovexattr(int fd, const char *name);
      
      The function translate_raw_name substitutes @@ into @. When the trailing
      character is a @, it breaks. However, such an occurence cannot be created by
      chain_setxattr because it always create pairs of @. Instead of silently
      breaking the loop, the function should probably return on error so that the
      caller can ignore it.
      
      The function chain_fgetxattr_len may return on error if fgetxattr
      returns on error. However, it is only called after another attr function
      returned success and the tests cannot create the conditions under which
      it would fail.
      
      The function chain_fsetxattr may leak attributes when used to override
      an existing attribute. This leak is not tested or fixed, it is just
      discussed in http://marc.info/?l=ceph-devel&m=136027076615853&w=4
      
      If the file system in which the tests are run does not support extended
      attributes, the tests are not run. The detection uses the same logic as
      the one implemented in FileStore::_detect_fs
      
      The output of the tests are silenced to reduce the output when testing
      assertions ( except for the dout_emergency function which cannot be
      controlled).
      a62d5198
  22. Feb 05, 2013
    • Loic Dachary's avatar
      Relax Throttle::_reset_max conditions and associated unit tests · 64ded02c
      Loic Dachary authored
      
      Removes a condition in Throttle::_reset_max by which the waiting queue is only
      Signal()ed if the new maximum is lower than the current maximum.
      There is no evidence of a use case where such a restriction would be
      useful. In addition waking up a thread when the maximum increases
      gives it a chance to immediately continue the suspended process
      instead of waiting for the next put().
      
      Create a new test file covering 100% of src/Throttle.{cc,h} lines of code.
      The following methods are tested:
      
      * Throttle::Throttle with and without a maximum
      * Throttle::~Throttle when each pending Cond is deleted
      * Throttle::take
      * Throttle::get when updating the maximum ( lower or higher ),
        when going to sleep waiting for the count to lower under
        the maximum, when going to sleep because another thread is
        already asleep waiting
      * Throttle::get_or_fail when there is no maximum,
        when requesting a count that is larger than the maximum, either
        when the current value is under the maximum or above the maximum.
      * Throttle::wait when used to reset the maximum and wake up
        another thread asleep waiting
      
      All asserts checking the arguments sanity are exercised ( negative argument
      for Throttle::take etc. ).
      Adds the LGPLv2+ licensing terms to COPYING along with the others.
      Adds a Contributors section to the AUTHORS file.
      
      Notes:
      Testing asserts outputs verbose error messages that should be silenced
      but it does not seem possible.
      
      Signed-off-by: default avatarLoic Dachary <loic@dachary.org>
      64ded02c
  23. Apr 11, 2012
  24. Feb 24, 2012
    • Sage Weil's avatar
      add libjson_spirit.la · 2677c72f
      Sage Weil authored
      
      This is lightweight and relies on boost spirit, which we already use, so
      there are no new dependencies.
      
      There were some other libraries that also looked good, but they weren't
      already packages for existing Debian distros like squeeze or even wheezy.
      
      Signed-off-by: default avatarSage Weil <sage.weil@dreamhost.com>
      2677c72f
  25. Jan 12, 2012
  26. Jan 28, 2008
  27. Dec 19, 2007
  28. Mar 15, 2007
  29. Jan 22, 2007
  30. Jan 19, 2007
  31. Oct 03, 2006
Loading