Searched refs:aio_req (Results 1 – 1 of 1) sorted by relevance
656 struct ceph_aio_request *aio_req) in ceph_aio_complete() argument661 if (!atomic_dec_and_test(&aio_req->pending_reqs)) in ceph_aio_complete()664 ret = aio_req->error; in ceph_aio_complete()666 ret = aio_req->total_len; in ceph_aio_complete()670 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()673 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete()682 &aio_req->prealloc_cf); in ceph_aio_complete()689 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()692 aio_req->iocb->ki_complete(aio_req->iocb, ret, 0); in ceph_aio_complete()694 ceph_free_cap_flush(aio_req->prealloc_cf); in ceph_aio_complete()[all …]