Re:Programmer's critique of missing structure of operating s...
by GoblinSlayer on Wednesday February 19, 2020 @10:08AM
(#22366066)
The disk is a block device, i.e. it reads and writes data in blocks, the system just abstracts that into a stream interface.
[ Parent
| on HN ]
Re:Programmer's critique of missing structure of operating s...
by zaarn on Wednesday February 19, 2020 @11:24AM
(#22366953)
Yeah and that is IMO the wrong abstraction. Blocks on disk should be organized into records, where multiple blocks can belong to a single or multiple (if using dedup or Copy-on-Write) records. Implementing a performant stream over that can be done in libc with minimal overhead.
Re:Programmer's critique of missing structure of operating s...
by GoblinSlayer on Thursday February 20, 2020 @03:33AM
(#22373612)
Now you want a different block structure.