<feed xmlns='http://www.w3.org/2005/Atom'>
<title>liburing/src/include, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.venev.name/hristo/liburing/'/>
<entry>
<title>Sync io_uring.h with the kernel</title>
<updated>2019-09-06T16:30:27+00:00</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@kernel.dk</email>
</author>
<published>2019-09-06T16:30:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.venev.name/hristo/liburing/commit/?id=bc9e136e38fcfba51689561b1b45954ed67d4ffe'/>
<id>bc9e136e38fcfba51689561b1b45954ed67d4ffe</id>
<content type='text'>
This brings in the features flags.

Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings in the features flags.

Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed address prep helpers should include buf_index</title>
<updated>2019-08-30T16:04:44+00:00</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@kernel.dk</email>
</author>
<published>2019-08-30T16:04:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.venev.name/hristo/liburing/commit/?id=ebdbb71160e970af187060dc4bf661af2e5b93b5'/>
<id>ebdbb71160e970af187060dc4bf661af2e5b93b5</id>
<content type='text'>
io_uring depends on the caller specifying the index into the array
of registered buffers for doing pre-mapped IO. Make this explicit
by requiring the caller to pass in this value for the
io_uring_prep_read_fixed() and io_uring_prep_write_fixed() helpers.

Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
io_uring depends on the caller specifying the index into the array
of registered buffers for doing pre-mapped IO. Make this explicit
by requiring the caller to pass in this value for the
io_uring_prep_read_fixed() and io_uring_prep_write_fixed() helpers.

Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>liburing/barrier.h: Add prefix to arm barriers</title>
<updated>2019-08-20T13:46:29+00:00</updated>
<author>
<name>Julia Suvorova</name>
<email>jusual@redhat.com</email>
</author>
<published>2019-08-20T12:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.venev.name/hristo/liburing/commit/?id=6e9dd0c8c50b5988a0c77532c9c2bd6afd4790d2'/>
<id>6e9dd0c8c50b5988a0c77532c9c2bd6afd4790d2</id>
<content type='text'>
Rename the newly added arm barriers and READ/WRITE_ONCE
to avoid using popular names.

Signed-off-by: Julia Suvorova &lt;jusual@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename the newly added arm barriers and READ/WRITE_ONCE
to avoid using popular names.

Signed-off-by: Julia Suvorova &lt;jusual@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>liburing/barrier.h: Add prefix io_uring to barriers</title>
<updated>2019-08-19T14:45:28+00:00</updated>
<author>
<name>Julia Suvorova</name>
<email>jusual@redhat.com</email>
</author>
<published>2019-08-19T14:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.venev.name/hristo/liburing/commit/?id=552c6a08d04c74d20eeaa86f535bfd553b352370'/>
<id>552c6a08d04c74d20eeaa86f535bfd553b352370</id>
<content type='text'>
The names of the barriers conflict with the namespaces of other projects
when trying to directly include liburing.h. Avoid using popular global
names.

Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Julia Suvorova &lt;jusual@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The names of the barriers conflict with the namespaces of other projects
when trying to directly include liburing.h. Avoid using popular global
names.

Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Julia Suvorova &lt;jusual@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add arm64 memory barriers support</title>
<updated>2019-08-09T03:37:04+00:00</updated>
<author>
<name>Jackie Liu</name>
<email>liuyun01@kylinos.cn</email>
</author>
<published>2019-08-09T02:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.venev.name/hristo/liburing/commit/?id=0520db454c29f1d96cda6cf6cedeb93df65301e8'/>
<id>0520db454c29f1d96cda6cf6cedeb93df65301e8</id>
<content type='text'>
making liburing on arm64 platform failed. let's support it.

root@Kylin:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux buster/sid"

root@Kylin:/# gcc -v
gcc version 8.2.0 (Debian 8.2.0-20)

root@Kylin:~/liburing# make
make[1]: Entering directory '/root/liburing/src'
cc -g -fomit-frame-pointer -O2 -Wall -Iinclude/ -c -o setup.ol setup.c
In file included from include/liburing.h:14,
                 from setup.c:10:
include/liburing.h: In function 'io_uring_cq_advance':
include/liburing/barrier.h:73:2: warning: implicit declaration of function 'smp_mb'; did you mean 'smp_wmb'? [-Wimplicit-function-declaration]
  smp_mb();    \
  ^~~~~~
include/liburing.h:111:3: note: in expansion of macro 'smp_store_release'
   smp_store_release(cq-&gt;khead, *cq-&gt;khead + nr);
   ^~~~~~~~~~~~~~~~~

Signed-off-by: Jackie Liu &lt;liuyun01@kylinos.cn&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
making liburing on arm64 platform failed. let's support it.

root@Kylin:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux buster/sid"

root@Kylin:/# gcc -v
gcc version 8.2.0 (Debian 8.2.0-20)

root@Kylin:~/liburing# make
make[1]: Entering directory '/root/liburing/src'
cc -g -fomit-frame-pointer -O2 -Wall -Iinclude/ -c -o setup.ol setup.c
In file included from include/liburing.h:14,
                 from setup.c:10:
include/liburing.h: In function 'io_uring_cq_advance':
include/liburing/barrier.h:73:2: warning: implicit declaration of function 'smp_mb'; did you mean 'smp_wmb'? [-Wimplicit-function-declaration]
  smp_mb();    \
  ^~~~~~
include/liburing.h:111:3: note: in expansion of macro 'smp_store_release'
   smp_store_release(cq-&gt;khead, *cq-&gt;khead + nr);
   ^~~~~~~~~~~~~~~~~

Signed-off-by: Jackie Liu &lt;liuyun01@kylinos.cn&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>src/Makefile: keep private headers in &lt;liburing/*.h&gt;</title>
<updated>2019-07-24T15:11:44+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
<email>stefanha@redhat.com</email>
</author>
<published>2019-07-24T08:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.venev.name/hristo/liburing/commit/?id=c31c7ec4bcd7bb0d7b28897d730431c02b9d4ea1'/>
<id>c31c7ec4bcd7bb0d7b28897d730431c02b9d4ea1</id>
<content type='text'>
It is not possible to install barrier.h and compat.h into the top-level
/usr/include directly since they are likely to conflict with other
software.  io_uring.h could be confused with the system's kernel header
file.

Put liburing headers into &lt;liburing/*.h&gt; so there is no chance of
conflicts or confusion.

Existing applications continue to build successfully since the location
of &lt;liburing.h&gt; is unchanged.  In-tree examples and tests require
modification because src/liburing.h is moved to src/include/liburing.h.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is not possible to install barrier.h and compat.h into the top-level
/usr/include directly since they are likely to conflict with other
software.  io_uring.h could be confused with the system's kernel header
file.

Put liburing headers into &lt;liburing/*.h&gt; so there is no chance of
conflicts or confusion.

Existing applications continue to build successfully since the location
of &lt;liburing.h&gt; is unchanged.  In-tree examples and tests require
modification because src/liburing.h is moved to src/include/liburing.h.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</pre>
</div>
</content>
</entry>
</feed>
