Skip to content
Snippets Groups Projects
Commit 8062bae4 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

bio: add caller private data to struct bio

This is required for users that want asynchronous completions for bios.
Taken from FreeBSD.
parent 60a5b5fa
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ struct bio {
void *bio_data; /* Memory, superblocks, indirect etc. */
int bio_error; /* Errno for BIO_ERROR. */
long bio_resid; /* Remaining I/O in bytes. */
void *bio_caller1; /* Private use by the consumer. */
void (*bio_done)(struct bio *);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment