[PATCH][RESEND] ceph: fix test for whether we can skip read when writing beyond EOF