public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: alexander.tsvetkov@oracle.com
To: xfs@oss.sgi.com
Subject: dmsetup arguments
Date: Fri, 14 Jun 2013 12:51:25 +0400	[thread overview]
Message-ID: <51BAD98D.90808@oracle.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1749 bytes --]

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
------------------------------------------------------------------------

    * /From/: Mike Snitzer <snitzer redhat com>
    * /To/: <dm-devel redhat com>
    * /Cc/: Mike Snitzer <snitzer redhat com>
    * /Subject/: [dm-devel] [PATCH 0/9] dm flakey: add features
    * /Date/: Mon, 27 Jun 2011 15:53:34 -0400

------------------------------------------------------------------------

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








[-- Attachment #1.2: Type: text/html, Size: 2438 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2013-06-14  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14  8:51 alexander.tsvetkov [this message]
2013-06-18  1:26 ` dmsetup arguments Dave Chinner
     [not found]   ` <51C04DCC.7010401@oracle.com>
2013-06-18 13:23     ` Dave Chinner
2013-06-19 14:42       ` alexander.tsvetkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51BAD98D.90808@oracle.com \
    --to=alexander.tsvetkov@oracle.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox