[PATCH 2/8] nvme: set uniform metadata settings for ns head
Christoph Hellwig
hch at lst.de
Tue Jan 23 01:01:31 PST 2024
On Mon, Jan 22, 2024 at 04:56:53PM +0200, Max Gurtovoy wrote:
> While we're here, also make sure that all the namespaces under the
> namespace head have the same lba shift size.
Please split this into a separate prep patch as it is not related
to PI.
> struct nvme_ns_info {
> struct nvme_ns_ids ids;
> u32 nsid;
> + unsigned long features;
> + u64 nuse;
> + u16 ms;
> + u16 pi_size;
> + u8 pi_type;
> + u8 guard_type;
> + u8 flbas;
> + u8 ds;
nvme_ns_info is used for the command set independent scanning, so
it should not grow NVM command set data like this.
More information about the Linux-nvme
mailing list