diff options
author | Bryan Gurney <bgurney@redhat.com> | 2019-10-22 16:46:01 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-11-05 15:25:34 -0500 |
commit | 72d7df4c8079306e7fbd6243bf951461ed647a47 (patch) | |
tree | 0203357542ba038301a43950d2d84aa740dc7bf7 /drivers/md/dm-zoned-target.c | |
parent | cc7a7fb3b689996d35404080dde09de03fc1d09b (diff) | |
download | linux-stable-72d7df4c8079306e7fbd6243bf951461ed647a47.tar.gz linux-stable-72d7df4c8079306e7fbd6243bf951461ed647a47.tar.bz2 linux-stable-72d7df4c8079306e7fbd6243bf951461ed647a47.zip |
dm dust: add limited write failure mode
Add a limited write failure mode which allows a write to a block to fail
a specified amount of times, prior to remapping. The "addbadblock"
message is extended to allow specifying the limited number of times a
write fails.
Example: add bad block on block 60, with 5 write failures:
dmsetup message 0 dust1 addbadblock 60 5
The write failure counter will be printed for newly added bad blocks.
Signed-off-by: Bryan Gurney <bgurney@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-zoned-target.c')
0 files changed, 0 insertions, 0 deletions