summaryrefslogtreecommitdiff
path: root/fs/afs/afs_cm.h
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2013-03-02 02:45:49 +0400
committerAlasdair G Kergon <agk@redhat.com>2013-03-02 02:45:49 +0400
commitb0d8ed4d96a26ef3ac54a4aa8911c9413070662e (patch)
treeb43cc88d671e85840a625cdb0de75754182043ac /fs/afs/afs_cm.h
parentdf5d2e9089c7d5b8c46f767e4278610ea3e815b9 (diff)
downloadlinux-b0d8ed4d96a26ef3ac54a4aa8911c9413070662e.tar.xz
dm: add target num_write_bios fn
Add a num_write_bios function to struct target. If an instance of a target sets this, it will be queried before the target's mapping function is called on a write bio, and the response controls the number of copies of the write bio that the target will receive. This provides a convenient way for a target to send the same data to more than one device. The new cache target uses this in writethrough mode, to send the data both to the cache and the backing device. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'fs/afs/afs_cm.h')
0 files changed, 0 insertions, 0 deletions