Re: [PATCH v2 1/1] null_blk: synchronization fix for zoned device

From: Jens Axboe
Date: Wed Oct 28 2020 - 19:46:07 EST


On 9/28/20 3:55 AM, Kanchan Joshi wrote:
> Parallel write,read,zone-mgmt operations accessing/altering zone state
> and write-pointer may get into race. Avoid the situation by using a new
> spinlock for zoned device.
> Concurrent zone-appends (on a zone) returning same write-pointer issue
> is also avoided using this lock.

Applied, thanks.

--
Jens Axboe