Closed attack204 closed 1 year ago
It depends on controller implementation. Finishes may cause write amp on the drive, but necessarily so, same thing with resets on non-full zones.
That's really helpful. So I think I should count 2 write amplifications. One is count Finish/Reset io and the other is not.
I want to count the write amplification of ZenFS, so I need to calculate device io. One thing is not for sure that Zone::Finish will move the write pointer to the end, will this operation in the ZNS SSD layer cause write io? I mean it directly moves wp to the end or fills some invalid data? And the same problem in Zone::Reset, will this cause device io before it moves wp to start?