Convert "free_ids" list to bitmap, reducing its memory usage from
16 + MAX_LOCKS * 20 (~20KB) to MAX_LOCKS/8 (512b) and save some time
(re)populating the free id array.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
we decided to drop the static libraries from the *-dev debian packages.
so no more tricky changes for supporting creating both libraries.
* partially revert 1dbfb26: s/BUILD_SHARED_LIBS/ENABLE_SHARED/
- add_library() command use BUILD_SHARED_LIBS as the default library
type, and all intermediate libraries should static ones. it would
cause unnecessary confusion if some developer uses add_library() without
specifying the library type, and ends up with a .so. so we use our
own setting variables for specifying the type of user facing libraries.
* revert ac47440
- the BUILD_SHARED_LIBS setting is also populated to the gmock libraries,
which should be compiled as static ones. otherwise the unit tests will
crash on exit.
Signed-off-by: Kefu Chai <kchai@redhat.com>
they are:
- ceph_test_rados: used by
tasks/rados.py
- ceph_test_rados_delete_pools_parallel: used by
suites/rados/monthrash/workloads/pool-create-delete.yaml
- ceph_test_filejournal
suites/rados/objectstore/filejournal.yaml
- ceph_test_objectstore: used by
suites/rados/objectstore/objectstore.yaml
- ceph_test_{async_driver,msgr}: used by
suites/rados/singleton-nomsgr/all/msgr.yaml
Signed-off-by: Kefu Chai <kchai@redhat.com>
os is a top level target which is linked into executables or user facing
libraries. so it is not included by any libraries linked by
ceph-dencoder so far.
Signed-off-by: Kefu Chai <kchai@redhat.com>
* add keyword "INSTALL_SCRIPT" to distutils_install_module(), so we can
override the install path of ceph-disk script.
* refactor the Distutils.cmake module a little bit, the ${option}
variable out lives the CODE snipplet. so we need to reset it
at the beginning.
Signed-off-by: Kefu Chai <kchai@redhat.com>
The get_next implementation assumed the lru was local to the OnodeSpace,
but it includes the whole cache now.
Signed-off-by: Sage Weil <sage@redhat.com>
In fact ThreadPool::drain will do
a)wait WorkQueue::empty() is true
b)wait processing thread to complete.
So it can remove the same work which wait WorkQueue::empty().
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
When authenticating requests using the Authorization header in AWS4, you have
the option of uploading the payload in chunks. You can send data in fixed size
or variable size chunks.
This patch enables streaming mode and signed headers support with chunked
uploads.
Fixes: http://tracker.ceph.com/issues/16146
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>