dm flakey: introduce "error_writes" feature
authorMike Snitzer <snitzer@redhat.com>
Tue, 13 Dec 2016 19:54:50 +0000 (14:54 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 13 Dec 2016 20:01:31 +0000 (15:01 -0500)
commitef548c551e72dbbdcc6d9ed7c7b3b01083fea8e2
tree18caf8a05714dcb02e7245eda29017aeeae2253b
parente99dda8fc4567db6e39ec25b60bbcd68182dfd7b
dm flakey: introduce "error_writes" feature

Recent dm-flakey fixes, to have reads error out during the "down"
interval, made it so that the previous read behaviour is no longer
available.

It is useful to have reads complete like normal but have writes error
out, so make it possible again with a new "error_writes" feature.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-flakey.c