[Drbd-dev] [PATCH v5 03/12] block: Add bio_reset()

Kent Overstreet koverstreet at google.com
Thu Aug 9 08:06:40 CEST 2012


On Wed, Aug 08, 2012 at 11:00:19PM -0700, Tejun Heo wrote:
> Anyways, understood.  Can you *please* put some comment what bits are
> being preserved across reset then?  Things like this aren't obvious at
> all and need ample explanation.

I did, in the header:

#define BIO_RESET_BITS	12	/* Flags starting here get preserved by
bio_reset() */

Where the rest of the flags are defined, and near where BIO_RESET_BYTES
are defined.


More information about the drbd-dev mailing list