Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-flakey.c32 unsigned corrupt_bio_byte; member
93 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features()
265 if (data && bio_bytes >= fc->corrupt_bio_byte) { in corrupt_bio_data()
266 data[fc->corrupt_bio_byte - 1] = fc->corrupt_bio_value; in corrupt_bio_data()
270 bio, fc->corrupt_bio_value, fc->corrupt_bio_byte, in corrupt_bio_data()
308 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { in flakey_map()
335 if (fc->corrupt_bio_byte && !error && pb->bio_submitted && in flakey_end_io()
361 DMEMIT("%u ", drop_writes + (fc->corrupt_bio_byte > 0) * 5); in flakey_status()
366 if (fc->corrupt_bio_byte) in flakey_status()
368 fc->corrupt_bio_byte, in flakey_status()
/linux-4.4.14/Documentation/device-mapper/
Ddm-flakey.txt36 corrupt_bio_byte <Nth_byte> <direction> <value> <flags>:
49 corrupt_bio_byte 32 r 1 0
52 corrupt_bio_byte 224 w 0 32