Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

nvme_get_logical_block_size - Man Page

Retrieve block size

Synopsis

int nvme_get_logical_block_size (int fd , __u32 nsid , int *blksize );

Arguments

fd

File descriptor of nvme device

nsid

Namespace id

blksize

Pointer to where the block size will be set on success

Return

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

Info

June 2024 libnvme API manual