Christoph Hellwig
f1b0ef0626
virtio_blk: add support for cache flush
...
Recent qemu has added a VIRTIO_BLK_F_FLUSH flag to advertise that the
virtual disk has a volatile write cache that needs to be flushed. In case
we see this feature implement tell the Linux block layer about the fact
and use the new VIRTIO_BLK_T_FLUSH to flush the cache when required. This
allows for an correct and simple implementation of write barriers.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2009-09-23 22:26:36 +09:30
..
2009-09-16 07:49:54 -07:00
2009-09-17 16:47:06 -04:00
2009-09-19 12:50:38 -07:00
2009-09-23 22:26:36 +09:30
2009-09-15 10:17:16 -07:00
2009-09-23 22:26:32 +09:30
2009-09-18 09:16:57 -07:00
2009-09-19 18:57:52 +02:00
2009-09-14 20:27:00 +02:00
2009-09-16 13:05:46 +02:00
2009-09-15 09:50:47 -07:00
2009-09-15 09:50:47 -07:00
2009-09-17 09:47:01 +02:00
2009-09-19 12:50:38 -07:00
2009-09-19 12:50:38 -07:00
2009-09-18 09:22:36 -07:00
2009-09-19 23:36:56 +01:00
2009-09-15 10:01:16 -07:00
2009-09-15 09:50:47 -07:00
2009-09-19 12:50:38 -07:00
2009-09-19 13:13:09 -07:00
2009-09-15 09:51:09 -07:00
2009-09-19 12:50:38 -07:00
2009-09-19 12:50:38 -07:00
2009-09-14 17:53:36 -07:00
2009-09-17 15:48:18 +02:00
2009-09-18 09:33:07 -07:00
2009-09-15 09:50:47 -07:00
2009-09-18 09:19:26 -07:00
2009-09-23 22:26:32 +09:30
2009-09-16 07:49:54 -07:00
2009-09-16 08:11:23 -07:00
2009-09-14 20:26:59 +02:00
2009-09-17 15:48:24 +02:00
2009-09-18 09:43:09 -07:00
2009-09-15 09:50:47 -07:00
2009-09-20 16:01:29 +05:30
2009-09-19 13:13:38 -07:00
2009-09-16 16:21:00 -04:00
2009-09-17 20:07:41 +02:00
2009-09-18 09:43:09 -07:00
2009-09-20 15:55:39 -07:00
2009-09-17 09:44:09 -07:00
2009-09-20 16:01:58 +05:30
2009-09-23 22:26:32 +09:30
2009-09-18 08:39:37 +00:00
2009-09-20 16:02:20 +05:30