diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-12-21 16:07:27 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-12-29 12:32:58 +0300 |
commit | 479a322fb729d657d34706ccf8dd12916f36628f (patch) | |
tree | d048b15739f2cffd4ab5487c0fb348378692793d /mm/nobootmem.c | |
parent | d5bf4b7f437c250821d40c3e32158729e6b484ce (diff) | |
download | linux-479a322fb729d657d34706ccf8dd12916f36628f.tar.xz |
nvme-mpath: fix last path removal during traffic
In case our last path is removed during traffic, we can end up requeueing
the bio(s) but never schedule the actual requeue work as upper layers
still have open handles on the mpath device node.
Fix this by scheduling requeue work if the namespace being removed is
the last path in the ns_head path list.
Fixes: 32acab3181c7 ("nvme: implement multipath access to nvme subsystems")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions