commit | 32fd90c407680935f84fb3ffc60fb3e020257d38 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed May 08 09:48:27 2019 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Tue May 14 17:19:50 2019 +0200 |
tree | 5156b2b213d58d07902d227a39b997ace8d0b4c2 | |
parent | 521cfb8e5a5dd6f2f528d675688f07b962fe4545 [diff] |
nvme: change locking for the per-subsystem controller list Life becomes a lot simpler if we just use the global nvme_subsystems_lock to protect this list. Given that it is only accessed during controller probing and removal that isn't a scalability problem either. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.com>