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

2020-10-28 Thread Jens Axboe
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

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

2020-09-28 Thread Damien Le Moal
On 2020/09/28 18:59, 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

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

2020-09-28 Thread Kanchan Joshi
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. Fixes: e0489ed5daeb