<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/ublk/common.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2026-01-23T03:05:41Z</updated>
<entry>
<title>selftests: ublk: replace assert() with ublk_assert()</title>
<updated>2026-01-23T03:05:41Z</updated>
<author>
<name>Ming Lei</name>
</author>
<published>2026-01-16T14:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=584709ad5ce359f8b5773eb6af40070412652c51'/>
<id>urn:sha1:584709ad5ce359f8b5773eb6af40070412652c51</id>
<content type='text'>
Replace assert() with ublk_assert() since it is often triggered in daemon,
and we may get nothing shown in terminal.

Add ublk_assert(), so we can log something to syslog when assert() is
triggered.

Signed-off-by: Ming Lei &lt;ming.lei@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>selftests: ublk: support non-O_DIRECT backing files</title>
<updated>2026-01-12T16:16:38Z</updated>
<author>
<name>Caleb Sander Mateos</name>
</author>
<published>2026-01-08T09:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1805442674b85ff9d626965f828e4fd71a82b28'/>
<id>urn:sha1:a1805442674b85ff9d626965f828e4fd71a82b28</id>
<content type='text'>
A subsequent commit will add support for using a backing file to store
integrity data. Since integrity data is accessed in intervals of
metadata_size, which may be much smaller than a logical block on the
backing device, direct I/O cannot be used. Add an argument to
backing_file_tgt_init() to specify the number of files to open for
direct I/O. The remaining files will use buffered I/O. For now, continue
to request direct I/O for all the files.

Signed-off-by: Caleb Sander Mateos &lt;csander@purestorage.com&gt;
Reviewed-by: Ming Lei &lt;ming.lei@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>selftests: ublk: move common code into common.c</title>
<updated>2025-03-22T14:35:08Z</updated>
<author>
<name>Ming Lei</name>
</author>
<published>2025-03-22T09:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10d962dae2f6b4a7d86579cc6fe9d8987117fa8f'/>
<id>urn:sha1:10d962dae2f6b4a7d86579cc6fe9d8987117fa8f</id>
<content type='text'>
Move two functions for initializing &amp; de-initializing backing file
into common.c.

Also move one common helper into kublk.h.

Prepare for supporting ublk-stripe.

Signed-off-by: Ming Lei &lt;ming.lei@redhat.com&gt;
Link: https://lore.kernel.org/r/20250322093218.431419-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
</feed>
