dm thin: set flush_supported
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:07 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:07 +0000 (15:08 +0100)
commit16ad3d103dbec4fe6c5950d5a6c383ba9a5296ef
tree90747a420fa5f27b1428514c231d4fb1a72b5b68
parent0e9c24ed7443d090e369a2eddfa13f7f0b5afbaf
dm thin: set flush_supported

The thin provisioning target commits internal metadata on flush.  So it
should receive flushes regardless of whether the underlying devices
support them.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c