BIO_RESET(9) The Linux VFS BIO_RESET(9)NAMEbio_reset - reinitialize a bio
void bio_reset(struct bio * bio);
bio to reset
After calling bio_reset, bio will be in the same state as a freshly
allocated bio returned bio bio_alloc_bioset - the only fields that are
preserved are the ones that are initialized by bio_alloc_bioset. See
comment in struct bio.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 BIO_RESET(9)