Project

General

Profile

Actions

Bug #52457

closed

D3N: when trying to write to cache object larger than the free disk space in cache lru_eviction() enters infinite loop

Added by Mark Kogan over 2 years ago. Updated over 2 years ago.

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

0%

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

Description

if `rgw_d3n_l1_datacache_size` is set by mistake to 1MB for example
logs similar to below can be sen in the rgw log to indicate that the problem is occuring

2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                                                                                                   
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: enter eviction, r=0                                                                                                                
2021-08-30T17:30:15.947+0300 7ffe4bee7700 20 D3nDataCache: lru_eviction()                                                                                                                     
2021-08-30T17:30:15.947+0300 7ffe4bee7700  2 D3nDataCache: lru_eviction: del_entry=null_ptr                 
Actions #1

Updated by Mark Kogan over 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 42981
Actions #2

Updated by Casey Bodley over 2 years ago

  • Status changed from Fix Under Review to Resolved

@Mark, i'm closing as resolved. feel free to tag for backports if you think it needs it

Actions

Also available in: Atom PDF