[SPDK] spdk_blob_io_unmap() usage

Harris, James R james.r.harris at intel.com
Thu Oct 25 08:57:07 PDT 2018


Can you also retry your test with latest SPDK master?  The commit you referenced is from July.  I don’t suspect any changes between then and now but would like confirmation.

Thanks,

-Jim


On 10/25/18, 8:55 AM, "SPDK on behalf of Harris, James R" <spdk-bounces at lists.01.org on behalf of james.r.harris at intel.com> wrote:

    Hi Niu,
    
    spdk_blob_io_unmap() is tested quite a bit through the logical volume (lvol) tests.  I don’t believe we have any tests with the Optane SSD though.
    
    How many pages are you specifying for the spdk_blob_io_unmap() command?
    
    -Jim
    
    
    On 10/25/18, 8:08 AM, "SPDK on behalf of Niu, Yawei" <spdk-bounces at lists.01.org on behalf of yawei.niu at intel.com> wrote:
    
            Hi,
            
            I tried to test spdk_blob_io_unmap() and didn’t get the completion callback (not sure if it because I didn't wait long enough), I checked SPDK source and didn’t see any test case of spdk_blob_io_unmap(), so I was wondering if the unmap is supposed to be executed as fast as blob read/write? Or it's not well supported for certain SSD model? BTW, spdk_blob_io_read/write() works well for me.
            
            My SPDK commit: 
            051297114cb393d3eb1169520d474e81b4215bf0
            
            My SSD model:
            NVMe Controller at 0000:81:00.0 [8086:2701]
            =====================================================
            Controller Capabilities/Features
            ================================
            Vendor ID:                             8086
            Subsystem Vendor ID:                   8086
            Serial Number:                         PHKS7335003H375AGN
            Model Number:                          INTEL SSDPED1K375GA
            Firmware Version:                      E2010324
            ...
            Intel Marketing Information
            ==================
            Marketing Product Information:		Intel (R) Optane (TM) SSD P4800X Series
            
            
            Namespace ID:1
            Deallocate:                  Supported
            Deallocated/Unwritten Error: Not Supported
            Deallocated Read Value:      Unknown
            Deallocate in Write Zeroes:  Not Supported
            Deallocated Guard Field:     0xFFFF
            Flush:                       Not Supported
            Reservation:                 Not Supported
            Size (in LBAs):              732585168 (698M)
            Capacity (in LBAs):          732585168 (698M)
            Utilization (in LBAs):       732585168 (698M)
            EUI64:                       E4D25C73F0210100
            Thin Provisioning:           Not Supported
            Per-NS Atomic Units:         No
            NGUID/EUI64 Never Reused:    No
            Number of LBA Formats:       7
            
            Thanks
            -Niu
            
            
        
        _______________________________________________
        SPDK mailing list
        SPDK at lists.01.org
        https://lists.01.org/mailman/listinfo/spdk
        
    
    _______________________________________________
    SPDK mailing list
    SPDK at lists.01.org
    https://lists.01.org/mailman/listinfo/spdk
    



More information about the SPDK mailing list