Skip to content

Commit

Permalink
Merge pull request #312 from gbregman/devel
Browse files Browse the repository at this point in the history
Lock Omap file before changing it to protect against multi gateway corruption
  • Loading branch information
gbregman authored Nov 9, 2023
2 parents 643879a + 22f6081 commit e62d484
Show file tree
Hide file tree
Showing 6 changed files with 796 additions and 449 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
strategy:
fail-fast: false
matrix:
test: ["cli", "state", "multi_gateway", "server", "grpc"]
test: ["cli", "state", "multi_gateway", "server", "grpc", "omap_lock"]
runs-on: ubuntu-latest
env:
HUGEPAGES: 512 # for multi gateway test, approx 256 per gateway instance
Expand Down
4 changes: 4 additions & 0 deletions ceph-nvmeof.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ state_update_interval_sec = 5
#min_controller_id = 1
#max_controller_id = 65519
enable_spdk_discovery_controller = False
#omap_file_lock_duration = 60
#omap_file_lock_retries = 15
#omap_file_lock_retry_sleep_interval = 5
#omap_file_update_reloads = 10

[discovery]
addr = 0.0.0.0
Expand Down
Loading

0 comments on commit e62d484

Please sign in to comment.