fix page size - #123
Conversation
|
Hello James23rc, However, I have little worries about hardcoding the numbers such as /4096, /8. (I know /4096 things are we did, but still) Size of the page in SSD is also a configurable parameter(Scalability) Using macro something like this is better, this is just an example Again, appreciate for your commit, we will reflect your point soon :) |
|
Thanks, and apologies this sat so long. You were right about the bug: The ZNS datapath has since been reworked and the functions this patches ( |
|
Thanks for catching this — your diagnosis was right, an LBA-to-page conversion was using 4096 where the page is 8 sectors of 512 B. That code has since been rewritten: Sorry it sat here so long. |
Size of a page is 4096 bytes, which is 8 * 512 bytes, not 4096 * 512 bytes(which is 2MB).