News for hackers. Stuff that matters.
Re:Disks lie. And the controllers that run them are partners... by gavinsyancey on Friday November 17, 2023 @02:57AM (#38300764)
My understanding is that disks use the inertia of their spinning platters to power themselves long enough to flush their cache in the event of sudden power loss.
Re:Disks lie. And the controllers that run them are partners... by Galanwe on Friday November 17, 2023 @03:01AM (#38300794)
Yeah, I just had a look and it seems BBUs don't actually power the disk. They just keep the volatile cache alive until the disk is powered to flush them.
Re:Disks lie. And the controllers that run them are partners... by tinus_hn on Friday November 17, 2023 @05:48AM (#38301808)
They use this to finish writing the sector they were writing so they can guarantee they always completely write the sector or not at all.

As far as I know this mechanism is not used for write caches.