diff options
author | Hannes Reinecke <hare@suse.de> | 2019-01-09 09:45:15 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-24 01:16:59 +0100 |
commit | 78a61cd42a64f3587862b372a79e1d6aaf131fd7 (patch) | |
tree | eb9798c79413a79c645b16340f0951e4ce711760 /block/blk-mq-debugfs.c | |
parent | nvmet-rdma: fix null dereference under heavy load (diff) | |
download | linux-78a61cd42a64f3587862b372a79e1d6aaf131fd7.tar.xz linux-78a61cd42a64f3587862b372a79e1d6aaf131fd7.zip |
nvme-multipath: drop optimization for static ANA group IDs
Bit 6 in the ANACAP field is used to indicate that the ANA group ID
doesn't change while the namespace is attached to the controller.
There is an optimisation in the code to only allocate space
for the ANA group header, as the namespace list won't change and
hence would not need to be refreshed.
However, this optimisation was never carried over to the actual
workflow, which always assumes that the buffer is large enough
to hold the ANA header _and_ the namespace list.
So drop this optimisation and always allocate enough space.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions