All of lore.kernel.org
 help / color / mirror / Atom feed
* Partitions and end-to-end protection
@ 2015-07-13 18:50 Paul Grabinar
  2015-07-13 19:16 ` Keith Busch
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Grabinar @ 2015-07-13 18:50 UTC (permalink / raw)


Hi All,

I've had a problem reported against the NVMe driver on the v4.1 kernel.
The user has formatted a namespace with 512 byte sectors, separate
buffer 8 byte meta-data and protection type 1.
That should all be okay, and indeed reads and writes work fine.
However, if a partition table is created in the namespace and then the
machine is rebooted, or the driver is unloaded and loaded, the
partitions don't appear again unless they are manually probed.

What seems to be happening is that the driver starts off by setting the
capacity to zero whilst it validates the meta-data configuration and
then sets the real size after this validation. However, setting the
capacity does not seem to be enough to tell the kernel to re-read the
partition table.

Anyone else seeing this?

Thanks,

Paul.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-07-14 20:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 18:50 Partitions and end-to-end protection Paul Grabinar
2015-07-13 19:16 ` Keith Busch
2015-07-13 19:22   ` Paul Grabinar
2015-07-14 18:06   ` Christoph Hellwig
2015-07-14 18:13     ` Dan Williams
2015-07-14 18:15       ` Christoph Hellwig
2015-07-14 18:25         ` Dan Williams
2015-07-14 18:41     ` Martin K. Petersen
2015-07-14 18:43       ` Christoph Hellwig
2015-07-14 18:58         ` Martin K. Petersen
2015-07-14 19:25           ` Keith Busch
2015-07-14 19:38             ` Martin K. Petersen
2015-07-14 19:45               ` Keith Busch
2015-07-14 20:07                 ` Martin K. Petersen
2015-07-14 20:14                   ` Keith Busch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.