Searched refs:aio_req (Results 1 – 1 of 1) sorted by relevance
1280 struct ceph_aio_request *aio_req) in ceph_aio_complete() argument1286 if (!atomic_dec_and_test(&aio_req->pending_reqs)) in ceph_aio_complete()1289 if (aio_req->iocb->ki_flags & IOCB_DIRECT) in ceph_aio_complete()1292 ret = aio_req->error; in ceph_aio_complete()1294 ret = aio_req->total_len; in ceph_aio_complete()1298 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()1301 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete()1309 &aio_req->prealloc_cf); in ceph_aio_complete()1316 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()1319 aio_req->iocb->ki_complete(aio_req->iocb, ret); in ceph_aio_complete()[all …]