blkfront and flush
Now that no-data barriers are supported/supportable, does it make sense to have blkfront call blk_queue_issue_flush_fn to register a flush method, which would use a no-data barrier request?
Is there any reason why this shouldn't work?
We have code which instead of using a bio barrier, calls blkdev_issue_flush() in the linux guest, which returns -EOPNOTSUPP because that support has never been in blkfront.
- Bruce Rogers
It sounds reasonable to me, although I'm no Linux blkdev interface expert.
-- Keir
Quoted 17 lines · Bruce Rogers
Now that no-data barriers are supported/supportable, does it make sense to have blkfront call
blk_queue_issue_flush_fnto register a flush method, which would use a no-data barrier request?Is there any reason why this shouldn't work?
We have code which instead of using a bio barrier, calls
blkdev_issue_flush()in the linux guest, which returns-EOPNOTSUPPbecause that support has never been in blkfront.- Bruce Rogers
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 1 line · Keir Fraser
It sounds reasonable to me, although I'm no Linux blkdev interface expert.
Does this mean that Linux can support BLKIF_OP_FLUSH_DISKCACHE ?
thanks
john