Skip to content

Commit ebb865c

Browse files
author
Alexander Indenbaum
committed
nvmeof: enable rbd crc option by default
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
1 parent afb8c0f commit ebb865c

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

.github/workflows/build-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ jobs:
507507
strategy:
508508
fail-fast: false
509509
matrix:
510-
test: ["sanity", "no_huge", "ns_lb_change", "no_subsystems", "auto_load_balance", "state_transitions", "state_transitions_both_gws", "state_transitions_loop", "state_transitions_rand_loop", "late_registration", "late_registration_loop", "connect_panic", "4gws", "4gws_loop", "4gws_create_delete", "4gws_create_delete_loop", "namespaces", "namespaces_loop", "mtls", "notify", "ceph_status", "blocklist", "main_exit", "listener_hostname", "cluster_pool", "flat_bdev_per_cluster", "set_qos", "set_qos_2ms", "rbd_qos", "auto_resize", "ns_read_only", "reuse_image", "reuse_image2", "image_shrink", "gateway_removal", "rados_namespace", "crc32c"]
510+
test: ["sanity", "no_huge", "ns_lb_change", "no_subsystems", "auto_load_balance", "state_transitions", "state_transitions_both_gws", "state_transitions_loop", "state_transitions_rand_loop", "late_registration", "late_registration_loop", "connect_panic", "4gws", "4gws_loop", "4gws_create_delete", "4gws_create_delete_loop", "namespaces", "namespaces_loop", "mtls", "notify", "ceph_status", "blocklist", "main_exit", "listener_hostname", "cluster_pool", "flat_bdev_per_cluster", "set_qos", "set_qos_2ms", "rbd_qos", "auto_resize", "ns_read_only", "reuse_image", "reuse_image2", "image_shrink", "gateway_removal", "rados_namespace", "nocrc"]
511511
runs-on: ubuntu-latest
512512
env:
513513
HUGEPAGES: 1024 # 4 spdk instances

ceph-nvmeof.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ timeout = 60.0
100100
# DSA CRC32 acceleration, enabled by default
101101
#enable_dsa_acceleration = False
102102

103-
# RBD CRC32C usage, disabled by default
104-
#rbd_with_crc32c = False
103+
# RBD CRC32C usage, enabled by default
104+
#rbd_with_crc32c = True
105105

106106
# Example value: -m 0x3 -L all
107107
# tgt_cmd_extra_args =

control/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ def _set_num_ssl_tickets(self, tickets_number=0):
865865
def _initialize_rbd_crc32c(self):
866866
"""Initialize RBD CRC32C configuration."""
867867

868-
rbd_with_crc32c = self.config.getboolean_with_default("spdk", "rbd_with_crc32c", False)
868+
rbd_with_crc32c = self.config.getboolean_with_default("spdk", "rbd_with_crc32c", True)
869869
self.logger.debug(f"initialize_rbd_crc32c: rbd_with_crc32c: {rbd_with_crc32c}")
870870

871871
try:
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ timeout = 60.0
9797
# DSA CRC32 acceleration, enabled by default
9898
#enable_dsa_acceleration = False
9999

100-
# RBD CRC32C usage, enabled for testing
101-
rbd_with_crc32c = True
100+
# RBD CRC32C usage, disabled for testing
101+
rbd_with_crc32c = False
102102

103103
# Example value: -m 0x3 -L all
104104
# tgt_cmd_extra_args =
@@ -117,3 +117,4 @@ qos_timeslice_in_usecs = 0
117117
[monitor]
118118
#timeout = 1.0
119119
#log_file_dir =
120+
File renamed without changes.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ else
99
test_dir=$(dirname $0)
1010
fi
1111

12-
export NVMEOF_CONFIG=./tests/ceph-nvmeof.crc32c.conf
13-
$test_dir/start_up.sh
12+
export NVMEOF_CONFIG=./tests/ceph-nvmeof.nocrc.conf
13+
$test_dir/start_up.sh
14+

0 commit comments

Comments
 (0)