ceph: when seeing write errors on an inode, switch to sync writes