Earlier quoted context omitted.
> ...and I'm not sure that will change. The thing is, the "drive-managed SMR" models I've managed to get my hands on don't have a zoned storage API. I'm not sure how a filesystem (or application that directly goes to the block device layer) is supposed to work with them intelligently. Mostly by making large sequential writes. F2FS is a lot faster on a consumer drive-managed SMR drive than the others (at least until y…
Maybe, but I'm not sure I trust that to be enough. The drive's proprietary SMR management firmware might still end up doing something really wasteful under normal usage patterns, in a way that's hard to diagnose and might not be necessary if the application were in control. Let's imagine an NVR that simply uses the drive as a ring buffer for media data. [1] And it does it via an application using the whole thing at t…
If the firmware is competent the drive will have TRIM support.
Also it could start overwriting a zone even when there's old live data in it, as long as it buffers a few megabytes to stay at least a track away from the old live data.
And even if it does have to read back the whole zone, it could keep that in RAM to keep the performance impact from being too bad. (Ideally with some kind of power loss protection.)