Files
document-haness/docs/virtualization/final/assets/diagrams/write-completion-boundaries/write-completion-boundaries.d2
T

31 lines
601 B
Plaintext

# fsync() 의 요구가 물리 storage 까지 내려가는 사슬
# Question: 게스트가 fsync() 를 부르면 그 요구는 어느 계층까지, 몇 번 손이 바뀌어 내려가야 하는가
direction: down
n0: "PostgreSQL" {
shape: rectangle
}
n1: "Guest Filesystem" {
shape: rectangle
}
n2: "Guest Block Layer" {
shape: rectangle
}
n3: "virtio-blk" {
shape: rectangle
}
n4: "QEMU / Backend" {
shape: rectangle
}
n5: "Host Storage Stack" {
shape: rectangle
}
n6: "Physical Storage" {
shape: rectangle
}
n0 -> n1: "fsync()"
n1 -> n2
n2 -> n3: "FLUSH 등"
n3 -> n4
n4 -> n5
n5 -> n6