Comments (3)
To extend the NVMe command set, if it's an admin cmd, check https://github.com/vtess/FEMU/blob/master/hw/femu/nvme-admin.c#L1029. Yes, you need to define your new NVMe command and implement the processing logics for both the software (e.g., NVMe driver) and FEMU.
from femu.
I have some new question now.
When i run FEMU, there is two disk (qemu image's and BBSSD's), I want to know the LBA of a file in BBSSD to do something with BBSSD FTL.
If i use FIEMAP ioctl, it will print a filesystem logical address (FS LBA). And after that i found the FS LBA is not the LBA in BBSSD.I think it's because the two disk shared the filesystem logical address space (e.g. 0~100 for qemu image, 101~150 for BBSSD,if the file's FS LBA is 101,in fact the device LBA is 1).
Is there a easy way to get the true device LBA of a file? @huaicheng
Here is the detail: https://stackoverflow.com/questions/76762319/how-to-get-the-start-logical-address-of-a-block-device-partition.
from femu.
If your file system is mounted on FEMU BBSSD, it owns the entire LBA space.
It seems filefrag is reporting offsets in blocks of 4096 bytes, by default, FEMU BBSSD is using 512 block sizes. You might need to do the conversion here by yourself.
from femu.
Related Issues (20)
- a bug in the function declaration "nvme_discontig" in "nvme.h" HOT 1
- Black-ssd HOT 1
- Dose FEMU require certain configuration of Linux kernel when emulating zns? HOT 2
- TLC+SLC HOT 1
- The emulated devices disappeared in /dev HOT 1
- what is the simplest way to insert modified zns module in guest os? HOT 1
- Problem when write to the drive under whitebox mode. HOT 2
- Implement namespace in black box mode HOT 1
- how can i configure zone size in femu zns mode? HOT 6
- How to emulate GC impact with FEMU HOT 2
- Many problems with the current ZNS delay emulation code, DO NOT use it !!! HOT 2
- Can I simulate a QLC SSD in BB mode? HOT 1
- when I use the SHA 76a9d8e333f081a9df30b5f8706e9be81517665c to compile femu,It produces the error outside array bounds. HOT 3
- Can FEMU simulate the difference in sequential and random read/write performance on SSD? HOT 1
- Error when building RAID-5 on FEMU drives HOT 2
- how can i add computational power to FEMU? HOT 1
- How to create 256GB zns ssd ? HOT 2
- Problem solved. Sorry.
- There is currently a memory leak HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from femu.