libnvme_update_block_size-libnvme32
Update the block size
Usage
int libnvme_update_block_size (struct libnvme_transport_handle *hdl , int block_size );
Arguments
hdl
|
Transport handle |
|---|---|
block_size
|
New block size |
Overview
Notify the kernel blkdev to update its block size after a block size change. This should only be used for namespace handles, not controllers.
Return
0 if the block size was updated or a negative error code otherwise.