]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7fe361c737a8af1d1df9dac1d3fc69fbc25f29b6
tree8b75a8e97d6fa7c41e81169e9b2ba5f7806e23a9
parent796b92b95651e3b16976a299a9f66c27def96ba4
[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