-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inquiry Regarding txid Passing in ccNVMe #1
Comments
In our implementation, the txid is not passed across various layers. Instead, it's directly passed to the ccnvme module (see Figure 9 of the paper) and stored in the PMR. If you want to pass the txid across the I/O stack, I think the best way is to record the txid in the bio->bi_private field and pass it to the block layer via submit_bio. |
Thank you for your response. I may not have been very clear in my previous explanation, but I still have a question regarding the issue. I noticed that the
This Thank you in advance for your assistance. |
When |
Issue Title: Inquiry Regarding txid Passing in ccNVMe
Description
I have recently had the opportunity to explore your article on "Crash Consistent Non-Volatile Memory Express," and I am genuinely fascinated by the methodologies outlined in the piece. Subsequently, I downloaded the corresponding source code for the project to gain a deeper understanding.
In the article, there is a mention of
txid
as a pivotal identifier for transactions, crucial for maintaining data consistency across multiple levels of the IO stack during normal write operations and recovery processes. However, while examining the current source code, I observed thattxid
is generated inext4_sync_file
andext4_atomic_file
and appears to be passed down by callingSTREAM_COMMIT_TX(stream, txid)
.Upon further inspection into the implementation of
STREAM_COMMIT_TX
and its specific counterpart,stream_tx_commit_core
(source code link), I noticed that thetxid
parameter is accepted, but its utilization within the function seems to be absent.In my attempt to trace the path of
txid
from the upper file system layer to the lower layers, I couldn't find any other instances. Consequently, I would like to humbly seek your guidance on the specific methodology employed in this project for passingtxid
from the upper file system layer to the lower layers.I am genuinely grateful for your time and assistance.
The text was updated successfully, but these errors were encountered: