libnvme_update_block_size(9)
π libnvme_update_block_size(9) π
Okay bestie, welcome to the libnvme API manual β this page is all about libnvme_update_block_size(9), and weβre gonna get you comfy with it. β¨
β¨ NAME β¨
libnvme_update_block_size β update the block size. Thatβs the whole vibe. π
π SYNOPSIS π
int libnvme_update_block_size (struct libnvme_transport_handle *hdl ,
int block_size );
π¦ ARGUMENTS π¦
hdlβ the transport handle. π«Ά The thing youβre passing through.block_sizeβ the new block size. π Fresh size, who dis.
π DESCRIPTION π
Okay so hereβs the tea: youβre notifying the kernel blkdev to update its block size after a block size change. Like, βhey bestie, the block size changed, pls refresh accordingly.β π
Heads up, bestie: this should only be used for namespace handles, not controllers. Do not come for controllers with this one, fr fr. π«π
π RETURN π
Returns 0 if the block size was updated, or a negative error code otherwise. Simple as that, bestie. β¨
This libnvme_update_block_size(9) page comes from the libnvme API manual, dated October 2026. Thatβs the sign-off β mwah! πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms