rq_ioc(9) determine io_context for request allocation

SYNOPSIS

struct io_context * rq_ioc(struct bio * bio);

ARGUMENTS

bio

request being allocated is for this bio (can be NULL)

DESCRIPTION

Determine io_context to use for request allocation for bio. May return NULL if current->io_context doesn't exist.

COPYRIGHT