[PATCH v3 01/19] block: Add PR callouts for read keys and reservation
Bart Van Assche
bvanassche at acm.org
Wed Nov 2 15:53:56 PDT 2022
On 10/26/22 16:19, Mike Christie wrote:
> +struct pr_keys {
> + u32 generation;
> + u32 num_keys;
> + u64 keys[];
> +};
Is my understanding correct that keys[] is treated as opaque data by the
kernel? If so, is it necessary to convert the persistent reservation
keys from big endian to CPU endianness? Some SCSI stacks keep
reservation keys as __be64 format.
Thanks,
Bart.
More information about the Linux-nvme
mailing list