Skip to content
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

bi_end_io #1

Open
SysMan-One opened this issue Dec 27, 2017 · 1 comment
Open

bi_end_io #1

SysMan-One opened this issue Dec 27, 2017 · 1 comment

Comments

@SysMan-One
Copy link

Hi !

Did you finished the project ? Do you know about of completion I/O callback (bio.bi_end_io field)?

@dinghuaming
Copy link

hi, when I add some code in misc_request_fn, the system is panic. why?
my os kernel is 3.10.0-1160.71.1.el7.x86_64.

void misc_request_fn(struct request_queue *q, struct bio *bio) {
bio_get(bio);
printk ("we are passing bios.\n");
// here is where we trace requests...
original_request_fn (q, bio);

    bio_put(bio);
    return;

}

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

No branches or pull requests

2 participants