Re: [PATCH] nvmet: preserve controller serial number between reboots

From: Christoph Hellwig
Date: Thu Jul 13 2017 - 11:16:41 EST


On Thu, Jul 13, 2017 at 05:08:25PM +0200, Martin Wilck wrote:
> I'm wondering if this should be a write-once attribute. Also,
> Once the serial number has been passed on to some host (or maybe only:
> while the device is in use by some host), the attribute should probably
> be read-only.

In practive it should. But I don't think it's worth the extra code
just to prevent people from shooting themselves into the foot.