Skip to content

Add io_uring backend#68

Open
doublej472 wants to merge 1 commit intofujita:masterfrom
doublej472:iouring
Open

Add io_uring backend#68
doublej472 wants to merge 1 commit intofujita:masterfrom
doublej472:iouring

Conversation

@doublej472
Copy link

This PR adds a new backend using io_uring with the liburing library, supporting both file and block device backends.

I've been running this at home for a few months without issue, and figured it's about time I open a PR to bring it into upstream.

This backend supports WRITE, READ, SYNCHRONIZE_CACHE, and UNMAP operations

UNMAP is handled a bit special, since we can receive multiple in a single request, and need to perform a different action depending on if the backing device is a block device or regular file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant