Re: [PATCH] block/file-posix: fix update_zones_wp() caller

2023-08-24 Thread Sam Li
Damien Le Moal 于2023年8月25日周五 11:32写道: > > On 8/25/23 12:05, Sam Li wrote: > > Damien Le Moal 于2023年8月25日周五 07:49写道: > >> > >> On 8/25/23 02:39, Sam Li wrote: > >>> When the zoned requests that may change wp fail, it needs to > >>> update only wps of the zones within the range of the requests > >>

Re: [PATCH] block/file-posix: fix update_zones_wp() caller

2023-08-24 Thread Damien Le Moal
On 8/25/23 12:05, Sam Li wrote: > Damien Le Moal 于2023年8月25日周五 07:49写道: >> >> On 8/25/23 02:39, Sam Li wrote: >>> When the zoned requests that may change wp fail, it needs to >>> update only wps of the zones within the range of the requests >>> for not disrupting the other in-flight requests. The

Re: [PATCH] block/file-posix: fix update_zones_wp() caller

2023-08-24 Thread Sam Li
Damien Le Moal 于2023年8月25日周五 07:49写道: > > On 8/25/23 02:39, Sam Li wrote: > > When the zoned requests that may change wp fail, it needs to > > update only wps of the zones within the range of the requests > > for not disrupting the other in-flight requests. The wp is updated > > successfully after

Re: [PATCH] block/file-posix: fix update_zones_wp() caller

2023-08-24 Thread Damien Le Moal
On 8/25/23 02:39, Sam Li wrote: > When the zoned requests that may change wp fail, it needs to > update only wps of the zones within the range of the requests > for not disrupting the other in-flight requests. The wp is updated > successfully after the request completes. > > Fixed the callers with

[PATCH] block/file-posix: fix update_zones_wp() caller

2023-08-24 Thread Sam Li
When the zoned requests that may change wp fail, it needs to update only wps of the zones within the range of the requests for not disrupting the other in-flight requests. The wp is updated successfully after the request completes. Fixed the callers with right offset and nr_zones. Signed-off-by: