[PATCH] dm table: add target flush
authorBryn Reeves <breeves@redhat.com>
Tue, 3 Oct 2006 08:15:43 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:16 +0000 (08:04 -0700)
commit999d816851c3e080412a19558f111d01852d2f04
tree8b75a8e97d6fa7c41e81169e9b2ba5f7806e23a9
parent3cb4021453a69585e458ec2177677c0c1300dccf
[PATCH] dm table: add target flush

This patch adds support for a per-target dm_flush_fn method.  This is needed
to allow dm-loop to invalidate page cache mappings in response to BLKFLSBUF
ioctl commands.

Signed-off-by: Bryn Reeves <breeves@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-table.c
include/linux/device-mapper.h
include/linux/dm-ioctl.h