You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to get some values like erase count, device space usage ratio, migration page count during garbage collection , L2P mapping info and so on. But how can I print or view/check this info? Thanks in advance.
The text was updated successfully, but these errors were encountered:
dujingwen
changed the title
How can I get various info about the device internal behavior?
How can I get various info about the device internal state and behavior?
Sep 25, 2018
It seems the ssdstate struct isn't around anymore (and I can't find a page write counter elsewhere). If I wanted to track the number of page writes, would it be best to put the counter in the NANDFlashState struct, and then increment the counter in the nand_blk_write_ function (here)?
You might want to check code under hw/block/femu/ftl/. The ideal place to add the counter you need is ssd_advance_status(), which is called every time a NAND level I/O needs to be triggered.
Hi,
I want to get some values like erase count, device space usage ratio, migration page count during garbage collection , L2P mapping info and so on. But how can I print or view/check this info? Thanks in advance.
The text was updated successfully, but these errors were encountered: