diff options
| author | Yao Sang <sangyao@kylinos.cn> | 2026-05-28 10:36:01 +0300 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-06-02 15:30:59 +0300 |
| commit | 59c0517123f2757c41d7795f841bc4c836577d17 (patch) | |
| tree | e4ebf0ed80a34a7f164394c6c8ef49ec6da0e788 /scripts/git.orderFile | |
| parent | 0967074f6830718fd2597404ef119bddd0dbfd00 (diff) | |
| download | linux-59c0517123f2757c41d7795f841bc4c836577d17.tar.xz | |
nvme: refresh multipath head zoned limits from path limits
queue_limits_stack_bdev() updates the multipath head limits from the
path queue, but it does not propagate max_open_zones or
max_active_zones. As a result, a zoned multipath namespace head can
keep stale 0/0 values even after a ready path reports finite zoned
resource limits.
When refreshing the head limits in nvme_update_ns_info(), stack the
zoned resource limits directly after stacking the path queue limits.
Use min_not_zero() so the block layer's 0 value keeps its "no limit"
meaning while finite limits are combined conservatively.
This avoids advertising "no limit" on the multipath head while keeping
the zoned-limit handling local to the NVMe multipath update path.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yao Sang <sangyao@kylinos.cn>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
