summaryrefslogtreecommitdiff
path: root/include/net/raw.h
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2008-10-10 13:36:59 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-10-10 13:36:59 +0100
commitf7c83e2e4783c4f7abe6f3a85a8c5e210f98bc7b (patch)
tree2ea22c54a1eb2db8ad983883751040d884109e76 /include/net/raw.h
parent6680073d3ec7c6dbdbf77870bf1fea869767d779 (diff)
downloadlinux-3.10-f7c83e2e4783c4f7abe6f3a85a8c5e210f98bc7b.tar.gz
linux-3.10-f7c83e2e4783c4f7abe6f3a85a8c5e210f98bc7b.tar.bz2
linux-3.10-f7c83e2e4783c4f7abe6f3a85a8c5e210f98bc7b.zip
dm raid1: kcopyd should stop on error if errors handled
dm-raid1 is setting the 'DM_KCOPYD_IGNORE_ERROR' flag unconditionally when assigning kcopyd work. kcopyd is responsible for copying an assigned section of disk to one or more other disks. The 'DM_KCOPYD_IGNORE_ERROR' flag affects kcopyd in the following way: When not set: kcopyd will immediately stop the copy operation when an error is encountered. When set: kcopyd will try to proceed regardless of errors and try to continue copying any remaining amount. Since dm-raid1 tracks regions of the address space that are (or are not) in sync and it now has the ability to handle these errors, we can safely enable this optimization. This optimization is conditional on whether mirror error handling has been enabled. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include/net/raw.h')
0 files changed, 0 insertions, 0 deletions