Skip to content

Option to trim (discard) #8

@ijackson

Description

@ijackson

Once a a device has been successfully verified with vbig, it is a good idea to "trim" it: that is, tell the SSD it no longer needs to store the verification data. This will improve the performance and lifetime of the device.

Doing this with an option to vbig would be more convenient and less risky than doing it another way: vbig knows precisely what it has just overwritten and knows that it can safely be discarded.

blkdiscard(1) knows how to make the relevant syscall. vbig could call it or make the syscall itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions