Groups
Groups
Sign in
Groups
Groups
中正資工,系統程式設計
Conversations
About
Send feedback
Help
fdatasync後資料就真的存入了嗎
20 views
Skip to first unread message
魯智深
unread,
May 8, 2024, 10:16:48 AM
5/8/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 中正資工,系統程式設計
底下影片是一個很有趣的實驗,
我想大家可以設計類似的東西去驗證穩定性
這類的專題也不錯
上課時我提到:系統當中具有各種buffer
libc buffer
kernel buffer
disk/SSD buffer(我們買硬碟時,硬碟上的記憶體就是buffer)
硬碟和SSD也是有buffer,那麼作業系統可以強制資料寫入disk嗎?
這部分我只能說:應該有
企業級的硬碟或者SSD應該都會有,對企業來說資料的完整性是很重要的
作業系統可以命令 硬體層 將資料寫出
但普通的硬碟就很難知道他是否真正的將資料寫入到可以永久性保存的區域
https://www.youtube.com/watch?v=qwOtli08GG0&ab_channel=epcdiy
Reply all
Reply to author
Forward
0 new messages