Hi, XFStests suite generic/311 test fails on command: "sbin/dmsetup load flakey-test --table "0 150000001 flakey /dev/sdc2 0 0 180 1 drop_writes" with error: "device-mapper: reload ioctl on flakey-test failed: Invalid argument", so as I understand the command format provided to ioctl is incorrect here. Kernel logs has message: "Jun 13 16:47:15 tests kernel: device-mapper: table: 252:3: flakey: dm-flakey: Invalid argument count Jun 13 16:47:15 tests kernel: device-mapper: ioctl: error adding target to table" Looking into the source code of package LVM2.02.98 which devmapper library belongs to I find argument "drop_writes" used in the command only in documentation doc/kernel/flakey.txt: "Optional feature parameters: If no feature parameters are present, during the periods of unreliability, all I/O returns errors. drop_writes: All write I/O is silently ignored. Read I/O is handled correctly." This argument feature was added in the patch from "27 Jun 2011": "[dm-devel] [PATCH 0/9] dm flakey: add features
Add "drop_writes", "corrupt_bio_byte" and "debug" features to the flakey target."https://www.redhat.com/archives/dm-devel/2011-June/msg00081.html but was patch modifications included in library of LVM2.02.98 package? Or may be it was already removed from it after? Thanks, Alexander Tsvetkov |
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs