Skip to content

Commit 23c33f6

Browse files
committed
src: sed -i 's/WITH_SEASTAR/WITH_CRIMSON/'
Signed-off-by: Matan Breizman <[email protected]>
1 parent 4034cae commit 23c33f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+177
-177
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ if (WITH_SYSTEM_ROCKSDB)
705705
find_package(RocksDB 5.14 REQUIRED)
706706
endif()
707707

708-
option(WITH_SEASTAR "Build seastar components")
709-
set(HAVE_SEASTAR ${WITH_SEASTAR})
708+
option(WITH_CRIMSON "Build seastar components")
709+
set(HAVE_SEASTAR ${WITH_CRIMSON})
710710

711711
# Boost
712712
option(WITH_SYSTEM_BOOST "require and build with system Boost" OFF)
@@ -721,7 +721,7 @@ if(WITH_MGR)
721721
list(APPEND BOOST_COMPONENTS
722722
python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR})
723723
endif()
724-
if(WITH_SEASTAR)
724+
if(WITH_CRIMSON)
725725
list(APPEND BOOST_COMPONENTS timer)
726726
endif()
727727

ceph.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ cmake .. \
15441544
-DWITH_SYSTEM_QATZIP:BOOL=ON \
15451545
%endif
15461546
%if 0%{with seastar}
1547-
-DWITH_SEASTAR:BOOL=ON \
1547+
-DWITH_CRIMSON:BOOL=ON \
15481548
-DWITH_JAEGER:BOOL=OFF \
15491549
%endif
15501550
-DWITH_GRAFANA:BOOL=ON \

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ifneq (,$(findstring WITH_STATIC_LIBSTDCXX,$(CEPH_EXTRA_CMAKE_ARGS)))
1212
# see http://tracker.ceph.com/issues/25209
1313
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
1414
endif
15-
ifeq (,$(findstring WITH_SEASTAR,$(CEPH_EXTRA_CMAKE_ARGS)))
15+
ifeq (,$(findstring WITH_CRIMSON,$(CEPH_EXTRA_CMAKE_ARGS)))
1616
export CEPH_OSD_BASENAME = ceph-osd
1717
else
1818
export CEPH_OSD_BASENAME = crimson-osd

do_freebsd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ mkdir ${BUILD_DIR}
4949
-D WITH_SYSTEM_NPM=ON \
5050
-D WITH_LTTNG=OFF \
5151
-D WITH_BABELTRACE=OFF \
52-
-D WITH_SEASTAR=OFF \
52+
-D WITH_CRIMSON=OFF \
5353
-D WITH_FUSE=ON \
5454
-D WITH_KRBD=OFF \
5555
-D WITH_XFS=OFF \

doc/dev/crimson/crimson.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Building Crimson
1515

1616
Crimson is not enabled by default. Enable it at build time by running::
1717

18-
$ WITH_SEASTAR=true ./install-deps.sh
19-
$ ./do_cmake.sh -DWITH_SEASTAR=ON
18+
$ WITH_CRIMSON=true ./install-deps.sh
19+
$ ./do_cmake.sh -DWITH_CRIMSON=ON
2020

2121
Please note, `ASan`_ is enabled by default if Crimson is built from a source
2222
cloned using ``git``.

etc/sysctl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
44
set(sysctl_pid_max "kernel.pid_max = 4194304")
55
endif()
66

7-
if(WITH_SEASTAR)
7+
if(WITH_CRIMSON)
88
configure_file(90-crimson-osd.conf.in
99
${CMAKE_CURRENT_SOURCE_DIR}/90-ceph-osd.conf
1010
@ONLY)

install-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ if [ x$(uname)x = xFreeBSDx ]; then
372372
sysutils/fusefs-libs \
373373
exit
374374
else
375-
[ $WITH_SEASTAR ] && with_seastar=true || with_seastar=false
375+
[ $WITH_CRIMSON ] && with_seastar=true || with_seastar=false
376376
[ $WITH_PMEM ] && with_pmem=true || with_pmem=false
377377
source /etc/os-release
378378
case "$ID" in

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ set_target_properties(Boost::MPL PROPERTIES
391391
INTERFACE_COMPILE_DEFINITIONS
392392
"BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS;BOOST_MPL_LIMIT_LIST_SIZE=30")
393393

394-
if(WITH_SEASTAR)
394+
if(WITH_CRIMSON)
395395
find_package(c-ares 1.13.0 QUIET)
396396
if(NOT c-ares_FOUND)
397397
message(STATUS "Could not find c-ares, will build it")

src/auth/AuthSessionHandler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ AuthSessionHandler *get_auth_session_handler(
3131
{
3232

3333
// Should add code to only print the SHA1 hash of the key, unless in secure debugging mode
34-
#ifndef WITH_SEASTAR
34+
#ifndef WITH_CRIMSON
3535
ldout(cct,10) << "In get_auth_session_handler for protocol " << protocol << dendl;
3636
#endif
3737
switch (protocol) {

src/auth/cephx/CephxProtocol.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ bool cephx_verify_authorizer(CephContext *cct, const KeyStore& keys,
526526
// generate a connection secret
527527
connection_secret->resize(connection_secret_required_len);
528528
if (connection_secret_required_len) {
529-
#ifdef WITH_SEASTAR
529+
#ifdef WITH_CRIMSON
530530
std::random_device rd;
531531
std::generate_n(connection_secret->data(),
532532
connection_secret_required_len,

0 commit comments

Comments
 (0)