Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1687373 > unrolled thread
| Started by | Christoph Hellwig <hch@lst.de> |
|---|---|
| First post | 2017-07-14 15:00 +0200 |
| Last post | 2017-07-14 15:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v3 3/3] nvmet: preserve controller serial number between reboots Christoph Hellwig <hch@lst.de> - 2017-07-14 15:00 +0200
| From | Christoph Hellwig <hch@lst.de> |
|---|---|
| Date | 2017-07-14 15:00 +0200 |
| Subject | Re: [PATCH v3 3/3] nvmet: preserve controller serial number between reboots |
| Message-ID | <u38mm-3Ag-19@gated-at.bofh.it> |
> + down_write(&nvmet_config_sem); > subsys->ver = NVME_VS(1, 3, 0); /* NVMe 1.3.0 */ > /* generate a random serial number as our controllers are ephemeral: */ > get_random_bytes(&subsys->serial, sizeof(subsys->serial)); > + up_write(&nvmet_config_sem); no need for the lock here, the subsystems isn't visible at this point. Otherwise: Reviewed-by: Christoph Hellwig <hch@lst.de>
Back to top | Article view | linux.kernel
csiph-web