]> Pileus Git - ~andy/linux/commit
dm: allow targets to request flushes regardless of underlying device support
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)
commit0e9c24ed7443d090e369a2eddfa13f7f0b5afbaf
tree707aed84bf17ee82bb32bb26e776b97afb3493fe
parentf4b90369d3a9ffe0f48f373c566578c142e95bf2
dm: allow targets to request flushes regardless of underlying device support

Allow targets to override the 'supports flush' calculation.

Set 'flush_supported' if a target needs to receive flushes regardless of
whether or not its underlying devices have support.

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-table.c
include/linux/device-mapper.h