Bryan Gurney 72d7df4c80 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>
2019-11-05 15:25:34 -05:00
..
2019-09-17 16:57:47 -07:00
2019-09-16 10:18:01 -04:00
2016-11-01 09:43:26 -06:00
2019-09-04 09:39:22 -04:00
2019-11-05 14:21:40 -05:00
2017-06-09 09:27:32 -06:00
2019-08-15 15:57:43 -04:00
2019-08-23 10:13:12 -04:00
2019-08-23 10:13:12 -04:00
2019-09-12 09:32:31 -04:00
2019-09-12 09:32:31 -04:00
2019-03-12 10:15:18 -07:00
2019-09-13 13:14:39 -07:00