CA-141611: support for write I/O barriers

```
ASSERT(!err)
```