Re: [PATCH] block: add a bi_error field to struct bio

From: Christoph Hellwig
Date: Fri Jul 24 2015 - 06:50:01 EST


On Wed, Jul 22, 2015 at 03:59:46PM -0600, Jens Axboe wrote:
> One possible solution would be to shrink bi_flags to an unsigned int, no
> problems fitting that in. Then we could stuff bi_error in that (new) hole,
> and we would end up having the same size again.

As long as we use set/test/clear_bt on bi_flags that won't work unfortunately.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/