On Wed, Apr 08, 2020 at 08:14:21AM +0000, Damien Le Moal wrote: > > As we discussed before, if the user is not well behaving and issuing writes and > zone reset/finish simultaneously for the same zone, errors will likely happen > with or without the zone write locking being used on the reset/finish side. So I > think we can safely remove the zone locking for reset and finish of a single > zone. If an error happens, the error recovery report zone will update the wp > offset. All we need is the spinlock for the wp_ofst update. So we can clean this > up further and have this locking difference you point out going away. Thanks, that's what I remembered from last time around and why I was a little surprised we still had this code.