Skip to content

Inquiry Regarding txid Passing in ccNVMe #1

@zeyvier

Description

@zeyvier

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 that txid is generated in ext4_sync_file and ext4_atomic_file and appears to be passed down by calling STREAM_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 the txid 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 passing txid from the upper file system layer to the lower layers.

I am genuinely grateful for your time and assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions