Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1328881

Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional
Date 2016-02-08 11:20 +0100
Message-ID <qZR5f-3R9-5@gated-at.bofh.it> (permalink)
References (2 earlier) <qZA4q-8rZ-11@gated-at.bofh.it> <qZG09-4mE-7@gated-at.bofh.it> <qZGCS-4Wf-29@gated-at.bofh.it> <qZOAq-22G-7@gated-at.bofh.it> <qZQVA-3NI-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support  optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-06 19:40 +0100
  Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Christoph Hellwig <hch@lst.de> - 2016-02-07 10:30 +0100
    Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-07 17:10 +0100
      Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Jens Axboe <axboe@kernel.dk> - 2016-02-07 23:30 +0100
        Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-08 00:10 +0100
          Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Christoph Hellwig <hch@lst.de> - 2016-02-08 08:30 +0100
          Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Hannes Reinecke <hare@suse.de> - 2016-02-08 08:40 +0100
            Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Sagi Grimberg <sagig@dev.mellanox.co.il> - 2016-02-08 11:10 +0100
              Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Christoph Hellwig <hch@lst.de> - 2016-02-08 11:20 +0100
                Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Hannes Reinecke <hare@suse.de> - 2016-02-08 16:20 +0100
                Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Keith Busch <keith.busch@intel.com> - 2016-02-08 17:20 +0100
                Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Keith Busch <keith.busch@intel.com> - 2016-02-08 16:20 +0100
            Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-08 16:30 +0100
      Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO  support optional Hannes Reinecke <hare@suse.de> - 2016-02-08 08:30 +0100

csiph-web