Может ли bcache всегда иметь не-нулевой грязный кеш?

Я люблю простые вещи; это будет работать для систем POSIX:

printenv | sed 's;=.*;;' | sort
HOME
HOSTNAME
PATH
PWD
SHLVL
TERM
1
17.12.2020, 11:17
1 ответ

Похоже, это ожидаемое поведение.

Write-back mode is usually safe because the caching device is journalled. Bcache will rewrite all dirty data after (unexpected) reboots to the persistent backing device, in fact bcache doesn't even finish writing dirty data at shutdown as part of its design, it will always boot dirty and continue writing back dirty data and reliably finish filesystem transactions. Only when the backing device has ack'ed all data written, the caching data is marked clean.

Из:https://wiki.archlinux.org/title/Talk:Bcache#Whole_article_revamp

1
21.11.2021, 08:54

Теги

Похожие вопросы