Re: [PATCH, RFC] virtio_blk: add cache flush command

Rusty Russell
2009-05-12T13:54:26Z

On Mon, 11 May 2009 06:09:08 pm Christoph Hellwig wrote:
> Do we need a new feature flag for this command or can we expect that
> all previous barrier support was buggy enough anyway?

You mean reuse the VIRTIO_BLK_F_BARRIER for this as well? Seems fine.

AFAIK only lguest offered that, and lguest has no ABI. Best would be to
implement VIRTIO_BLK_T_FLUSH as well; it's supposed to be demo code, and it
should be easy).

Thanks,
Rusty.