dm snapshot: support barriers
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 22 Jun 2009 09:12:25 +0000 (10:12 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 22 Jun 2009 09:12:25 +0000 (10:12 +0100)
commit494b3ee7d4f69210def80aecce28d08c3f0755d5
tree8cd8fc4de72cf9a1a56e45518019a3cae106515a
parent8627921fa2ef6d40fd9b787e163ba3a9ff8f471d
dm snapshot: support barriers

Flush support for dm-snapshot target.

This patch just forwards the flush request to either the origin or the snapshot
device.  (It doesn't flush exception store metadata.)

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c