<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    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:<br>
    <br>
    "Jun 13 16:47:15 tests kernel: device-mapper: table: 252:3: flakey:
    dm-flakey: Invalid argument count<br>
    Jun 13 16:47:15 tests kernel: device-mapper: ioctl: error adding
    target to table"<br>
    <br>
    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:<br>
    <br>
    "Optional feature parameters:<br>
      If no feature parameters are present, during the periods of<br>
      unreliability, all I/O returns errors.<br>
    <br>
      drop_writes:<br>
            All write I/O is silently ignored.<br>
            Read I/O is handled correctly."<br>
    <br>
    This argument feature was added in the patch from "27 Jun 2011":<br>
    <br>
    "[dm-devel] [PATCH 0/9] dm flakey: add features
    <hr>
    <ul>
      <li><em>From</em>: Mike Snitzer <snitzer redhat com></li>
      <li><em>To</em>: <dm-devel redhat com></li>
      <li><em>Cc</em>: Mike Snitzer <snitzer redhat com></li>
      <li><em>Subject</em>: [dm-devel] [PATCH 0/9] dm flakey: add
        features</li>
      <li><em>Date</em>: Mon, 27 Jun 2011 15:53:34 -0400</li>
    </ul>
    <hr>
    <pre>Add "drop_writes", "corrupt_bio_byte" and "debug" features to the
flakey target."
</pre>
    <a
      href="https://www.redhat.com/archives/dm-devel/2011-June/msg00081.html">https://www.redhat.com/archives/dm-devel/2011-June/msg00081.html</a><br>
    <br>
    but was patch modifications included in library of LVM2.02.98
    package? Or may be it was already removed from it after?<br>
    <br>
    Thanks,<br>
    Alexander Tsvetkov<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>