VirtualBox

Changeset 31586 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 11, 2010 10:20:12 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64693
Message:

VBoxHDD: Needed enhancements for async iSCSI. Make it possible to let the backend take control over the I/O context and notify the VD layer when it is done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxHDD.h

    r31456 r31586  
    17501750
    17511751    /**
     1752     * Creates a segment array from the I/O context data buffer.
     1753     *
     1754     * @returns Number of bytes the array describes.
     1755     * @param  pvUser          The opaque user data passed on container creation.
     1756     * @param  pIoCtx          I/O context to copy the data from.
     1757     * @param  paSeg           The uninitialized segment array.
     1758     *                         If NULL pcSeg will contain the number of segments needed
     1759     *                         to describe the requested amount of data.
     1760     * @param  pcSeg           The number of segments the given array has.
     1761     *                         This will hold the actual number of entries needed upon return.
     1762     * @param  cbData          Number of bytes the new array should describe.
     1763     */
     1764    DECLR3CALLBACKMEMBER(size_t, pfnIoCtxSegArrayCreate, (void *pvUser, PVDIOCTX pIoCtx,
     1765                                                          PRTSGSEG paSeg, unsigned *pcSeg,
     1766                                                          size_t cbData));
     1767    /**
    17521768     * Marks the given number of bytes as completed and continues the I/O context.
    17531769     *
     
    17551771     * @param   pvUser         The opaque user data passed on container creation.
    17561772     * @param   pIoCtx         The I/O context.
     1773     * @param   rcReq          Status code the request completed with.
    17571774     * @param   cbCompleted    Number of bytes completed.
    17581775     */
    17591776    DECLR3CALLBACKMEMBER(void, pfnIoCtxCompleted, (void *pvUser, PVDIOCTX pIoCtx,
    1760                                                    size_t cbCompleted));
     1777                                                   int rcReq, size_t cbCompleted));
    17611778} VDINTERFACEIO, *PVDINTERFACEIO;
    17621779
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette