Home
last modified time | relevance | path

Searched refs:corrupt_bio_byte (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-flakey.c32 unsigned corrupt_bio_byte; member
118 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features()
292 unsigned int corrupt_bio_byte = fc->corrupt_bio_byte - 1; in corrupt_bio_data() local
305 if (bio_iter_len(bio, iter) > corrupt_bio_byte) { in corrupt_bio_data()
308 segment[corrupt_bio_byte] = fc->corrupt_bio_value; in corrupt_bio_data()
311 bio, fc->corrupt_bio_value, fc->corrupt_bio_byte, in corrupt_bio_data()
316 corrupt_bio_byte -= bio_iter_len(bio, iter); in corrupt_bio_data()
343 if (!fc->corrupt_bio_byte && !test_bit(DROP_WRITES, &fc->flags) && in flakey_map()
364 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { in flakey_map()
392 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && in flakey_end_io()
[all …]
/linux-6.1.9/Documentation/admin-guide/device-mapper/
Ddm-flakey.rst50 corrupt_bio_byte <Nth_byte> <direction> <value> <flags>:
70 corrupt_bio_byte 32 r 1 0
74 corrupt_bio_byte 224 w 0 32