Re: [PATCH 4/5] btrfs: serialize blocking_writers updates

2019-10-23 Thread Nikolay Borisov
On 17.10.19 г. 22:39 ч., David Sterba wrote: > There's one potential memory ordering problem regarding > eb::blocking_writers, although this hasn't been hit in practice. On TSO > (total store ordering) architectures, the writes will always be seen in > right order. > > In case the calls in btrf

[PATCH 4/5] btrfs: serialize blocking_writers updates

2019-10-17 Thread David Sterba
There's one potential memory ordering problem regarding eb::blocking_writers, although this hasn't been hit in practice. On TSO (total store ordering) architectures, the writes will always be seen in right order. In case the calls in btrfs_set_lock_blocking_write are seen in this (wrong) order on