-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'src/deps/miniasync/' changes from 706d2635f..f3b809217
f3b809217 Merge pull request #110 from lplewa/master 11fddd440 masync: suppres unused parameters in future.h 1c6ba8d18 masync: 0.2.0-rc2 release 76ba3a10f Merge pull request #108 from pbalcer/fix-use-after-free-membuf c2885af40 common: fix use-after-free in membuf in mt scenarios 1914de3de Merge pull request #106 from DamianDuy/updateAsyncDoc ffedbde35 doc: update async property documentation 12e9fa42c Merge pull request #105 from DamianDuy/addAsyncDoc cb1734572 doc: add async property to documentation 3b44a2cb9 Merge pull request #100 from DamianDuy/addAsyncFlag 9f740e491 masync: add flag indicating that future is async b7216cab1 Merge pull request #90 from DamianDuy/addFlushOp 01ef54aa4 masync: add flush operation for DML data mover c0c8f9ddf Merge pull request #104 from lukaszstolarczuk/update-docs eb41ffcee doc: update code styling to properly appear in manpage e573f7e89 Merge pull request #102 from lplewa/readback c98664d80 Merge pull request #103 from pbalcer/atomic-load-ringbuf 2490b0cee common: use correct atomics in ringbuf 428ecdaf9 masync: add destination_readback flag to persistent memory writes f1203f533 Merge pull request #71 from kswiecicki/masync-example-hashmap bc1d04ef7 masync: add hashmap example 352b4c1aa Merge pull request #92 from lukaszstolarczuk/add-macro-is-init a6e312918 Merge pull request #96 from kilobyte/no-arch-ifdefs 27e8795a8 masync: add macro to check if chain entry was initialized 790bb3522 Merge pull request #99 from lukaszstolarczuk/fix-manpage-header af2e47738 common: replace improper 'RPMA' in man pages with 'MINIASYNC' 01e68810b masync: drop unused #ifdefs that block portability git-subtree-dir: src/deps/miniasync git-subtree-split: f3b809217fc6f4401c227e707708a803725290bc
- Loading branch information
Showing
51 changed files
with
2,330 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,31 @@ | ||
Thu Aug 11 2022 Łukasz Plewa <[email protected]> | ||
|
||
* Version 0.2.0-rc1 | ||
|
||
common: use correct atomics in ringbuf | ||
common: fix use-after-free in membuf in mt scenarios | ||
common: replace improper 'RPMA' in man pages with 'MINIASYNC' | ||
doc: add async property to documentation | ||
doc: update async property documentation | ||
doc: update code styling to properly appear in manpage | ||
masync: drop unused #ifdefs that block portability | ||
masync: add hashmap example | ||
masync: add flush operation for DML data mover | ||
masync: add flag indicating that future is async | ||
masync: add destination_readback flag to persistent memory writes | ||
masync: add macro to check if chain entry was initialized | ||
|
||
|
||
Fri May 20 2022 Weronika Lewandowska <[email protected]> | ||
|
||
* Version 0.1.0 | ||
|
||
This is the first official release of the miniasync library. | ||
|
||
The library provides the API for asynchronous memory operations | ||
through the use of features and runtime mechanisms and independence | ||
in terms of hardware by implementing a virtual data mover. | ||
|
||
This release also contains: | ||
- documentation on the implemented functionality | ||
- basic examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ runtime_wait.3 | |
vdm_memcpy.3 | ||
vdm_memmove.3 | ||
vdm_memset.3 | ||
vdm_flush.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
layout: manual | ||
Content-Style: 'text/css' | ||
title: _MP(VDM_FLUSH, 3) | ||
collection: miniasync | ||
header: VDM_FLUSH | ||
secondary_title: miniasync | ||
... | ||
|
||
[comment]: <> (SPDX-License-Identifier: BSD-3-Clause) | ||
[comment]: <> (Copyright 2022, Intel Corporation) | ||
|
||
[comment]: <> (vdm_flush.3 -- man page for miniasync vdm_flush operation) | ||
|
||
[NAME](#name)<br /> | ||
[SYNOPSIS](#synopsis)<br /> | ||
[DESCRIPTION](#description)<br /> | ||
[RETURN VALUE](#return-value)<br /> | ||
[SEE ALSO](#see-also)<br /> | ||
|
||
# NAME # | ||
|
||
**vdm_flush**() - create a new flush virtual data mover operation structure | ||
|
||
# SYNOPSIS # | ||
|
||
```c | ||
#include <libminiasync.h> | ||
struct vdm_operation_output_flush { | ||
uint64_t unused; | ||
}; | ||
FUTURE(vdm_operation_future, | ||
struct vdm_operation_data, struct vdm_operation_output); | ||
struct vdm_operation_future vdm_flush(struct vdm *vdm, void *dest, size_t n, uint64_t flags); | ||
``` | ||
|
||
For general description of virtual data mover API, see **miniasync_vdm**(7). | ||
|
||
# DESCRIPTION # | ||
|
||
**vdm_flush**() initializes and returns a new flush future based on the virtual data mover | ||
implementation instance *vdm*. The parameters: *dest*, *n* are standard flush parameters. | ||
The *flags* represents data mover specific flags. The **flush** operation is | ||
implemented only for the DML data mover and cannot be used with synchronous and thread data movers. | ||
|
||
Flush future obtained using **vdm_flush**() will attempt to flush the *n* bytes of the processor | ||
caches at the *dest* address when its polled. | ||
|
||
## RETURN VALUE ## | ||
|
||
The **vdm_flush**() function returns an initialized *struct vdm_operation_future* flush future. | ||
|
||
# SEE ALSO # | ||
|
||
**vdm_memcpy**(3), **vdm_memmove**(3), **vdm_memset**(3), **miniasync**(7), **miniasync_vdm**(7), | ||
**miniasync_vdm_dml**(7) and **<https://pmem.io>** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.