Skip to content
Snippets Groups Projects
Commit 10b9e080 authored by Sam Li's avatar Sam Li Committed by Hanna Czenczek
Browse files

block/file-posix: fix update_zones_wp() caller


When the zoned request fail, it needs to update only the wp of
the target zones for not disrupting the in-flight writes on
these other zones. The wp is updated successfully after the
request completes.

Fixed the callers with right offset and nr_zones.

Signed-off-by: default avatarSam Li <faithilikerun@gmail.com>
Message-Id: <20230825040556.4217-1-faithilikerun@gmail.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
[hreitz: Rebased and fixed comment spelling]
Signed-off-by: default avatarHanna Czenczek <hreitz@redhat.com>
parent b2b10904
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment