Reference

libnvme_ns_update_stat-libnvme3(2)

update the nvme namespace stat

NAME

libnvme_ns_update_stat - update the nvme namespace stat

SYNOPSIS

int libnvme_ns_update_stat (struct libnvme_ns *n , bool diffstat );

ARGUMENTS

n

struct libnvme_ns object

diffstat

If set to true then getters return the diff stat otherwise return the current absolute stat

RETURN

0 on success, negative error code otherwise.