Project

General

Profile

Actions

Bug #50670

closed

[pwl ssd] head / tail pointer corruption

Added by Ilya Dryomov about 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After filling the ssd cache to capacity and maintaining the load (so that the cache is constantly retiring old and generating new log entries), I have observed that the head (m_first_valid_entry) and tail (m_first_free_entry) pointers can get corrupted. Since the cache is at capacity, they are expected to cycle through the log space very close to each other, with the invariant that head > tail (head - tail = 8-12K, the rest is allocated). However, the tail pointer sometimes "jumps" the head pointer, violating the invariant and making the full cache appear almost empty (only 8-12K used).


Related issues 2 (0 open2 closed)

Related to rbd - Bug #50675: [pwl ssd] cache larger than 4G will corrupt itselfResolvedCONGMIN YIN

Actions
Copied to rbd - Backport #52310: pacific: [pwl ssd] head / tail pointer corruptionResolvedDeepika UpadhyayActions
Actions

Also available in: Atom PDF