ceph: fold ceph_sync_writepages into writepage_nounlock