Home
last modified time | relevance | path

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

/linux-4.1.27/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()
263 if (data && bio_bytes >= fc->corrupt_bio_byte) { in corrupt_bio_data()
264 data[fc->corrupt_bio_byte - 1] = fc->corrupt_bio_value; in corrupt_bio_data()
268 bio, fc->corrupt_bio_value, fc->corrupt_bio_byte, in corrupt_bio_data()
306 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { in flakey_map()
333 if (fc->corrupt_bio_byte && !error && pb->bio_submitted && in flakey_end_io()
359 DMEMIT("%u ", drop_writes + (fc->corrupt_bio_byte > 0) * 5); in flakey_status()
364 if (fc->corrupt_bio_byte) in flakey_status()
366 fc->corrupt_bio_byte, in flakey_status()
/linux-4.1.27/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