lkml.org 
[lkml]   [2008]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/4] Update documentation of HDIO_DRIVE_RESET ioctl
    Date
    Alter the entry for HDIO_DRIVE_RESET in Documentation/ioctl/hdio.txt to
    reflect a functional change in the driver. Besides, the entry has been
    inaccurate before.

    Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
    ---

    Documentation/ioctl/hdio.txt | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/Documentation/ioctl/hdio.txt b/Documentation/ioctl/hdio.txt
    index c19efde..a859734 100644
    --- a/Documentation/ioctl/hdio.txt
    +++ b/Documentation/ioctl/hdio.txt
    @@ -508,12 +508,12 @@ HDIO_DRIVE_RESET execute a device reset

    error returns:
    EACCES Access denied: requires CAP_SYS_ADMIN
    + EBUSY Device busy: reset operation in progress already

    notes:

    - Abort any current command, prevent anything else from being
    - queued, execute a reset on the device, and issue BLKRRPART
    - ioctl on the block device.
    + Execute a reset on the device as soon as the current IO
    + operation has completed.

    Executes an ATAPI soft reset if applicable, otherwise
    executes an ATA soft reset on the controller.

    \
     
     \ /
      Last update: 2008-06-23 01:37    [W:0.020 / U:0.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site