Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
290 unsigned int corrupt_bio_byte = fc->corrupt_bio_byte - 1; in corrupt_bio_data() local
303 if (bio_iter_len(bio, iter) > corrupt_bio_byte) { in corrupt_bio_data()
306 segment[corrupt_bio_byte] = fc->corrupt_bio_value; in corrupt_bio_data()
309 bio, fc->corrupt_bio_value, fc->corrupt_bio_byte, in corrupt_bio_data()
314 corrupt_bio_byte -= bio_iter_len(bio, iter); in corrupt_bio_data()
341 if (!fc->corrupt_bio_byte && !test_bit(DROP_WRITES, &fc->flags) && in flakey_map()
362 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { in flakey_map()
390 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && in flakey_end_io()
[all …]
/kernel/linux/linux-5.10/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