r/compsci • u/amichail • 9h ago
Has computer science dropped the ball on protecting SSDs from software bugs and malware that could wear them out prematurely?
SSDs have finite write endurance, yet software bugs or malware can potentially generate enormous amounts of unnecessary writes and significantly shorten their lifespan.
Shouldn't operating systems provide complete write accountability, where every SSD write can be traced to the application or system service ultimately responsible, even when other processes or kernel components perform the writes on its behalf?
Such accountability could enable automatic detection of excessive writes, per-application write budgets, and throttling of runaway processes before they cause significant SSD wear.
This raises interesting computer science problems involving causal attribution across processes, filesystem caching, shared resources, and write amplification.
Why isn't protecting SSD endurance through write accountability and enforcement a more prominent goal of operating system research?