Open
Description
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;
}
Metadata
Metadata
Assignees
Labels
No labels