Open-CAS / open-cas-linux

Open CAS Linux
https://open-cas.com
BSD 3-Clause "New" or "Revised" License
219 stars 82 forks source link

[origin/cache_detach] CAS hang during cache flush operation #1489

Closed Kamoppl closed 1 month ago

Kamoppl commented 2 months ago

Description

Flushing cache ends with CAS hang

Expected Behavior

Flush ends

Actual Behavior

CAS hang during flush operation

Steps to Reproduce

  1. Start cache and add 2 cores
  2. Fill cores with dirty data
  3. Flush first core

Context

-

Possible Fix

Logs

[<0>] _cache_mngt_core_flush_sync.constprop.0+0xa1/0x150 [cas_cache] [<0>] cache_mngt_flush_object+0x8a/0xc0 [cas_cache] [<0>] cas_service_ioctl_ctrl+0x2354/0x3690 [cas_cache] [<0>] __x64_sys_ioctl+0x92/0xd0 [<0>] do_syscall_64+0x59/0xc0 [<0>] entry_SYSCALL_64_after_hwframe+0x61/0xcb

Your Environment

Kamoppl commented 1 month ago

Fixed