table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
BIO_ASSOCIATE_CURREN(9) | The Linux VFS | BIO_ASSOCIATE_CURREN(9) |
NAME¶
bio_associate_current - associate a bio with currentSYNOPSIS¶
int
bio_associate_current(struct bio * bio);
ARGUMENTS¶
biotarget bio
DESCRIPTION¶
Associate bio with current if it hasn't been associated yet. Block layer will treat bio as if it were issued by current no matter which task actually issues it. This function takes an extra reference of task's io_context and blkcg which will be put when bio is released. The caller must own bio, ensure current->io_context exists, and is responsible for synchronizing calls to this function.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |