Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

hostpath: Add block volume support #143

Closed

Commits on Jan 20, 2019

  1. hostpath: Add block volume support

    This change adds block volume support to hostpath driver.
    
    When a block volume request is received, a block file is created at
    provisionRoot with the requested capacity as size.
    
    At node publish, a loop device is created associated with the block
    file. This loop device is then symlinked to the publish target path.
    For read only volume publish, the loop device is created with read only
    flag.
    
    At node unpublish, the symlinked file is deleted, and the loop device is
    detached from the block file.
    
    At volume delete, the block file is deleted.
    darkowlzz committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    e2c89ad View commit details
    Browse the repository at this point in the history