| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
rgw:fix some indentation errors of "radosgw-admin --help"
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
|
| |
| |
| |
| | |
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
|
|\ \
| | |
| | |
| | |
| | | |
cmake: detection scripts use lowercase project name
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changing the detection scripts to use the new project name, changed in commit
c1a37101ea87a973068f2dc9858487f83ae57f88 (cmake: project name should be "ceph")
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
os/bluestore: Some improvement for crc32c calculations
Reviewed-by: Sage Weil <sage@redhat.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
fix following warning by returning `nullptr` after an assert(0).
```
ceph/src/test/osd/TestRados.cc: In member function ‘TestOp*
WeightedTestGenerator::gen_op(RadosTestContext&, TestOpType)’:
ceph/src/test/osd/TestRados.cc:241:3: warning: control reaches
end of non-void function [-Wreturn-type]
}
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added rbd_test_mock lib, also changed name of
journal_test to journal_test_mock to mimic
automake naming.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
|
|\ \
| | |
| | |
| | |
| | | |
cmake: more fixes
fixes make install workflow
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and s/libradosstriper/radosstriper/ otherwise the created .so
filename would be liblibradosstriper.so with the default prefix.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
to match with automake and packager
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
(incomplete)
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
happens for neighboring csum blocks to verify for potential alignment issue
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
data length.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Starts using it for BufferCacheTest
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
simplified test case to highlight an issue for append to existing blob
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We reference count which parts of the blob are used (by lextents), but
currently we only release our space back to the system when all references
go away. That is a problem if the blob is large (say, 4MB), and we, say,
truncate off most (but not all) of it.
Unfortunately, we can't simply deallocate anything that doesn't have a
reference, because the logical refs are on byte boundaries, and allocation
happens in larger units (min_alloc_size). A one byte logical punch_hole
might be responsible for the release of a larger block of storage.
To resolve this, we keep track of which portions of the blob have been
released by poisoning the offset in the extents vector. We expect that
this vector will be almost always short, so we do not bother with a
indexed structure, since iterating a blob offset to determine if it is
still allocated is likely faster.
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
crc32c wins on my laptop.
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This keeps the CSUM_* definitions local to blob_t, and avoids passing
arguments around.
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
improves test coverage
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Efficiently iterate over buffers in a list, via an iterator.
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
- no more add, or weird add vs get assumptions
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Trying to remove the old extent_t
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Read handler prototype implementation.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Signed-off-by: Sage Weil <sage@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | |
| | | |
Fixes: http://tracker.ceph.com/issues/14937
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
rgw: support size suffixes for --max-size in radosgw-admin command
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
radosgw-admin command
Fixes: http://tracker.ceph.com/issues/16004
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
Hopefully this will catch the intermittent segv we are
seeing.
Signed-off-by: Sage Weil <sage@redhat.com>
|