Home
last modified time | relevance | path

Searched refs:aio_req (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/fs/ceph/
Dfile.c739 struct ceph_aio_request *aio_req) in ceph_aio_complete() argument
744 if (!atomic_dec_and_test(&aio_req->pending_reqs)) in ceph_aio_complete()
747 ret = aio_req->error; in ceph_aio_complete()
749 ret = aio_req->total_len; in ceph_aio_complete()
753 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()
756 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete()
765 &aio_req->prealloc_cf); in ceph_aio_complete()
772 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()
775 aio_req->iocb->ki_complete(aio_req->iocb, ret, 0); in ceph_aio_complete()
777 ceph_free_cap_flush(aio_req->prealloc_cf); in ceph_aio_complete()
[all …]