Remix.run Logo
▲ londons_explore 33 minutes ago

I think the future of hard drives involves absolutely huge error correction block sizes - 1 gigabyte or more.

The way it would work is:

* The underlying disk would do sequential writes only, in 1Gb blocks, rather like a log filesystem.

* The large block size enables much better information density due to being able to tolerate far more errors.

* Random reads within blocks can usually be done - but occasionally most or all of the whole block will need to be read to decode the data.

* A small capacitor+disk momentum ensures any writes that happened before a power failure can always be completed - either to the real disk or to flash.

* The OS still only sees 4k pages - versioning, packing those into 1Gb blocks, mappings and garbage collection are all handled inside the drive.

▲kvemkon 15 minutes ago | parent [-]

> any writes that happened before a power failure can always be completed

It can be also the data milliseconds after loosing power. The minimal amount of data in question is the data that the drive has acknowledged to the OS after a special command.

Anyway, this problem is already solved at least few years ago.