[#2167] write-cache: Add "write-cache" to its logs

Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
Pavel Karpy 2022-12-20 15:29:05 +03:00 committed by Anton Nikiforov
parent eea2892109
commit 1608fd1c07
5 changed files with 44 additions and 8 deletions

View file

@ -67,6 +67,9 @@ type cache struct {
fsTree *fstree.FSTree
}
// wcStorageType is used for write-cache operations logging.
const wcStorageType = "write-cache"
type objectInfo struct {
addr string
data []byte