Create a file in bbssd in FTL #70
Unanswered
newcloudsu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry I have some questions ,
I run FEMU in black-box mode , and I create a large file in /dev/nvme0n1 (e.g. 2GB)
In ftl.c , I think "ssdparam" struct will allocate 2GB space to support it , and then I try to trace it , so I print get_tbl_ent() ppa . But it looks like allocate not enough space .
How do I know the system is already allocated enough space that I create?
Theoretically, I think I create 2G file twice (create-delete-create), it should go to do_gc() in ftl.c (suppose /dev/nvme0n1 is 4GB , I think created total more than 4GB will do gc) ,but it doesn't.
How can I trigger the do_gc() with allocate about full space?
Thanks for it!
Beta Was this translation helpful? Give feedback.
All reactions