Re: [PATCH] aoe: end barrier bios with EOPNOTSUPP

From: Alan Cox
Date: Wed Sep 09 2009 - 13:07:10 EST


> The bio in question is a barrier. Jens Axboe suggested that such bios
> need to be recognized and ended with -EOPNOTSUPP by any driver that
> provides its own ->make_request_fn handler and does not handle
> barriers.
>
> In testing the changes below eliminate the BUG.

Presumably AoE should actually issue an ATA cache flush for this case ?

--
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/