Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/concurrency/ocf_metadata_concurrency.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static inline int hash_lock_lock(struct ocf_cache *cache,
uint32_t step = 0;

while (1) {
newline.raw = curline.raw = entry->raw;
newline.raw = curline.raw = env_atomic_read(entry_raw);

if (curline.wr)
goto next;
Expand Down Expand Up @@ -111,7 +111,7 @@ static inline void hash_lock_unlock(struct ocf_cache *cache, int index, int rw)
uint32_t step = 0;

while (1) {
newline.raw = curline.raw = entry->raw;
newline.raw = curline.raw = env_atomic_read(entry_raw);

if (curline.wr) {
newline.wr = 0;
Expand Down
Loading