From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id 5D3157F37 for ; Fri, 14 Jun 2013 03:51:35 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay1.corp.sgi.com (Postfix) with ESMTP id 2E7D18F8037 for ; Fri, 14 Jun 2013 01:51:32 -0700 (PDT) Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by cuda.sgi.com with ESMTP id 9vRz11kxynmZGl5P (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 14 Jun 2013 01:51:30 -0700 (PDT) Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5E8pQdX024206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 14 Jun 2013 08:51:27 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5E8pSV8015205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 14 Jun 2013 08:51:28 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5E8pSAg026390 for ; Fri, 14 Jun 2013 08:51:28 GMT Message-ID: <51BAD98D.90808@oracle.com> Date: Fri, 14 Jun 2013 12:51:25 +0400 From: alexander.tsvetkov@oracle.com MIME-Version: 1.0 Subject: dmsetup arguments List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3449099299502042075==" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com This is a multi-part message in MIME format. --===============3449099299502042075== Content-Type: multipart/alternative; boundary="------------040502080304000108040407" This is a multi-part message in MIME format. --------------040502080304000108040407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 * /To/: * /Cc/: Mike Snitzer * /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 --------------040502080304000108040407 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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







--------------040502080304000108040407-- --===============3449099299502042075== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs --===============3449099299502042075==--