Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ceph/
Dfile.c1288 struct ceph_aio_request *aio_req) in ceph_aio_complete() argument
1294 if (!atomic_dec_and_test(&aio_req->pending_reqs)) in ceph_aio_complete()
1297 if (aio_req->iocb->ki_flags & IOCB_DIRECT) in ceph_aio_complete()
1300 ret = aio_req->error; in ceph_aio_complete()
1302 ret = aio_req->total_len; in ceph_aio_complete()
1306 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()
1309 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete()
1317 &aio_req->prealloc_cf); in ceph_aio_complete()
1324 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()
1327 aio_req->iocb->ki_complete(aio_req->iocb, ret); in ceph_aio_complete()
[all …]