diff options
author | Keith Busch <[email protected]> | 2015-10-02 10:37:29 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-10-09 10:40:36 -0600 |
commit | 0a7385ad69f0f210c5cfbfd334b42423a6e05e5a (patch) | |
tree | 676c0f49cf661bbcb65455a0a5a739acf4e745e9 /net/unix/af_unix.c | |
parent | 5105aa555c1c681ae281ea0d6108efd0a5d8a5e8 (diff) |
NVMe: Simplify device resume on io queue failure
Releasing IO queues and disks was done in a work queue outside the
controller resume context to delete namespaces if the controller failed
after a resume from suspend. This is unnecessary since we can resume
a device asynchronously.
This patch makes resume use probe_work so it can directly remove
namespaces if the device is manageable but not IO capable. Since the
deleting disks was the only reason we had the convoluted "reset_workfn",
this patch removes that unnecessary indirection.
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions