Searched refs:aio_req (Results 1 – 1 of 1) sorted by relevance
1314 struct ceph_aio_request *aio_req) in ceph_aio_complete() argument1320 if (!atomic_dec_and_test(&aio_req->pending_reqs)) in ceph_aio_complete()1323 if (aio_req->iocb->ki_flags & IOCB_DIRECT) in ceph_aio_complete()1326 ret = aio_req->error; in ceph_aio_complete()1328 ret = aio_req->total_len; in ceph_aio_complete()1332 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()1335 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete()1343 &aio_req->prealloc_cf); in ceph_aio_complete()1350 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()1353 aio_req->iocb->ki_complete(aio_req->iocb, ret); in ceph_aio_complete()[all …]