[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160208101350.GA32632@lst.de>
Date: Mon, 8 Feb 2016 11:13:50 +0100
From: Christoph Hellwig <hch@....de>
To: Sagi Grimberg <sagig@....mellanox.co.il>
Cc: Hannes Reinecke <hare@...e.de>,
James Bottomley <James.Bottomley@...senPartnership.com>,
Jens Axboe <axboe@...nel.dk>, Christoph Hellwig <hch@....de>,
linux-block@...r.kernel.org,
linux-scsi <linux-scsi@...r.kernel.org>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO
support optional
On Mon, Feb 08, 2016 at 12:01:16PM +0200, Sagi Grimberg wrote:
>
>> Do we have defined sysfs attributes for NVMe devices nowadays?
>
> /sys/block/nvme0n1/uuid
That's only supported for NVMe 1.1 and higher devices, and optional.
For older or stupid devices we need to support the algorithm based
on the serial attribute from nvme_fill_device_id_scsi_string() in
drivers/nvme/host/scsi.c.
Which btw is Ń–ncorrect as it doesn't identify namespaces properly,
and thus the associatation of 0 is an actively harmful lie.
Powered by blists - more mailing lists