summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorChristoph Hellwig2015-11-28 15:40:19 +0100
committerJens Axboe2015-12-01 18:59:40 +0100
commitf3ca80fc11c3af566eacd99cf821c1a48035c63b (patch)
tree1db6d155210c4f11a48a2285eb7691313fa73496 /mm/vmstat.c
parentnvme: move namespace scanning to common code (diff)
downloadkernel-qcow2-linux-f3ca80fc11c3af566eacd99cf821c1a48035c63b.tar.gz
kernel-qcow2-linux-f3ca80fc11c3af566eacd99cf821c1a48035c63b.tar.xz
kernel-qcow2-linux-f3ca80fc11c3af566eacd99cf821c1a48035c63b.zip
nvme: move chardev and sysfs interface to common code
For this we need to add a proper controller init routine and a list of all controllers that is in addition to the list of PCIe controllers, which stays in pci.c. Note that we remove the sysfs device when the last reference to a controller is dropped now - the old code would have kept it around longer, which doesn't make much sense. This requires a new ->reset_ctrl operation to implement controleller resets, and a new ->write_reg32 operation that is required to implement subsystem resets. We also now store caches copied of the NVMe compliance version and the flag if a controller is attached to a subsystem or not in the generic controller structure now. Signed-off-by: Christoph Hellwig <hch@lst.de> [Fixes for pr merge] Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions