[PATCH] Device-Mapper 7/9

From: Kevin Corry (kevcorry_at_us.ibm.com)
Date: 04/12/04

  • Next message: Ivica Ico Bukvic: "RE: [linux-audio-user] snd-hdsp+cardbus+M6807 notebook=distortion -- FIXED!"
    To: LKML <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@osdl.org>
    Date:	Mon, 12 Apr 2004 09:19:07 -0500
    
    

    Clarify the comment regarding the "next" field in struct dm_target_spec. The
    "next" field has different behavior if you're performing a DM_TABLE_STATUS
    command than it does if you're performing a DM_TABLE_LOAD command.

    See populate_table() and retrieve_status() in drivers/md/dm-ioctl.c for more
    details on how this field is used.

    --- diff/include/linux/dm-ioctl.h 2004-04-09 09:41:45.000000000 -0500
    +++ source/include/linux/dm-ioctl.h 2004-04-09 09:42:36.000000000 -0500
    @@ -129,8 +129,14 @@
             int32_t status; /* used when reading from kernel only */
     
             /*
    - * Offset in bytes (from the start of this struct) to
    - * next target_spec.
    + * Location of the next dm_target_spec.
    + * - When specifying targets on a DM_TABLE_LOAD command, this value is
    + * the number of bytes from the start of the "current" dm_target_spec
    + * to the start of the "next" dm_target_spec.
    + * - When retrieving targets on a DM_TABLE_STATUS command, this value
    + * is the number of bytes from the start of the first dm_target_spec
    + * (that follows the dm_ioctl struct) to the start of the "next"
    + * dm_target_spec.
              */
             uint32_t next;
     
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Ivica Ico Bukvic: "RE: [linux-audio-user] snd-hdsp+cardbus+M6807 notebook=distortion -- FIXED!"

    Relevant Pages

    • Re: Arrr! Linux v2.6.14-rc2
      ... command that comes in through scsi_queue_insert. ... command each time, the retries decrement is never seen, so we're ... int scsi_queue_insert(struct scsi_cmnd *cmd, int reason) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] ethtool semantics
      ... I find the c) feature very convenient. ... the configuration of the switch, something which is usually (pick your ... Command line parameters of the bcm5700 driver do implement c) (among ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: silent semantic changes with reiser4
      ... multiple-data-streams from non-MDS aware apps is the runat shell ... attribute directory and then runs a command. ... I don't like "at" because the API changes don't have anything to do with ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test6 -- Huh???
      ... | internal details of the Linux kernel. ... Given that my truck is not ... command, I suspect something on your system might have an unhappy script ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] implement nice support across physical cpus on SMP
      ... PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)