Skip to content

Commit

Permalink
Release 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
albertofaria committed Nov 1, 2021
1 parent 50a963d commit f8b6c71
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 16 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
</a>
<!-- latest release as of current commit -->
<a href="https://github.com/albertofaria/bdus/releases">
<img src="https://img.shields.io/badge/version-0.1.1-yellow.svg" />
<img src="https://img.shields.io/badge/version-0.1.2-yellow.svg" />
</a>
<!-- license -->
<a href="https://bdus.readthedocs.io/en/v0.1.1/user-manual/licensing.html">
<a href="https://bdus.readthedocs.io/en/v0.1.2/user-manual/licensing.html">
<img src="https://img.shields.io/badge/license-MIT%20%2F%20GPLv2-blue.svg" />
</a>
</h1>
Expand All @@ -27,27 +27,27 @@ It was introduced by the SYSTOR '21 paper ["BDUS: Implementing Block Devices in

<dt>Documentation</dt>
<dd>
All documentation is hosted at <a href="https://bdus.readthedocs.io/en/v0.1.1">Read the Docs</a>.
To get started, take a look at the <a href="https://bdus.readthedocs.io/en/v0.1.1/quick-start-guide.html">Quick Start Guide</a>.
You might also be looking for the <a href="https://bdus.readthedocs.io/en/v0.1.1/user-manual/api-reference.html">API reference</a>.
All documentation is hosted at <a href="https://bdus.readthedocs.io/en/v0.1.2">Read the Docs</a>.
To get started, take a look at the <a href="https://bdus.readthedocs.io/en/v0.1.2/quick-start-guide.html">Quick Start Guide</a>.
You might also be looking for the <a href="https://bdus.readthedocs.io/en/v0.1.2/user-manual/api-reference.html">API reference</a>.
</dd>

<dt>Installation</dt>
<dd>
Download <a href="https://github.com/albertofaria/bdus/archive/v0.1.1.tar.gz">BDUS' latest release</a> and run <code>sudo make install</code>.
For more details, see <a href="https://bdus.readthedocs.io/en/v0.1.1/user-manual/installation.html">Installation</a>.
Download <a href="https://github.com/albertofaria/bdus/archive/v0.1.2.tar.gz">BDUS' latest release</a> and run <code>sudo make install</code>.
For more details, see <a href="https://bdus.readthedocs.io/en/v0.1.2/user-manual/installation.html">Installation</a>.
</dd>

<dt>Licensing</dt>
<dd>
BDUS is distributed under the terms of the <a href="LICENSE-MIT.txt">MIT license</a>, with the exception of its kernel module which is distributed under the terms of the <a href="LICENSE-GPLv2.txt">GPLv2 license</a>.
For more details, see <a href="https://bdus.readthedocs.io/en/v0.1.1/user-manual/licensing.html">Licensing</a>.
For more details, see <a href="https://bdus.readthedocs.io/en/v0.1.2/user-manual/licensing.html">Licensing</a>.
</dd>

<dt>Contributing</dt>
<dd>
To report bugs, suggest improvements, or propose new features, please use GitHub's <a href="https://github.com/albertofaria/bdus/issues">issue tracking system</a>.
For information on how to contribute changes, see <a href="https://bdus.readthedocs.io/en/v0.1.1/developer-manual/contributing.html">Contributing</a>.
For information on how to contribute changes, see <a href="https://bdus.readthedocs.io/en/v0.1.2/developer-manual/contributing.html">Contributing</a>.
</dd>

<dt>Citing</dt>
Expand Down
9 changes: 9 additions & 0 deletions docs/user-manual/versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ Version history

The following is a list of all releases up to BDUS |version|, in reverse chronological order.

0.1.2 (2021-10-31)
~~~~~~~~~~~~~~~~~~

The following is a list of notable changes relative to version 0.1.1.
See also the :diff:`git diff <v0.1.1...v0.1.2>`.

- Added support for Linux 5.15.
- Devices now use no block scheduler by default.

0.1.1 (2021-07-09)
~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion kbdus/include/kbdus.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* The three components of the version of the `kbdus.h` header file that was
* included.
*/
#define KBDUS_HEADER_VERSION_PATCH 1
#define KBDUS_HEADER_VERSION_PATCH 2

/* -------------------------------------------------------------------------- */

Expand Down
12 changes: 6 additions & 6 deletions libbdus/include/bdus.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* returned by `bdus_get_libbdus_version()`, which is only determined at run
* time.
*/
#define BDUS_HEADER_VERSION_PATCH 1
#define BDUS_HEADER_VERSION_PATCH 2

#if !defined(BDUS_REQUIRE_VERSION_MAJOR) \
&& !defined(BDUS_REQUIRE_VERSION_MINOR) \
Expand Down Expand Up @@ -50,9 +50,9 @@
BDUS_REQUIRE_VERSION_MINOR, and BDUS_REQUIRE_VERSION_PATCH or none at all

#elif BDUS_REQUIRE_VERSION_MAJOR != 0 || BDUS_REQUIRE_VERSION_MINOR != 1 \
|| BDUS_REQUIRE_VERSION_PATCH > 1
|| BDUS_REQUIRE_VERSION_PATCH > 2

#error bdus.h has version 0.1.1 but incompatible version was required
#error bdus.h has version 0.1.2 but incompatible version was required

#error

Expand Down Expand Up @@ -105,7 +105,7 @@ struct bdus_ctx
void *private_data;

#if BDUS_REQUIRE_VERSION_MAJOR == 0 && BDUS_REQUIRE_VERSION_MINOR == 1 \
&& BDUS_REQUIRE_VERSION_PATCH == 1
&& BDUS_REQUIRE_VERSION_PATCH >= 1

/** \brief The device's major number. */
const uint32_t major;
Expand Down Expand Up @@ -795,7 +795,7 @@ static inline bool bdus_run(
void *private_data)
{
#if BDUS_REQUIRE_VERSION_MAJOR == 0 && BDUS_REQUIRE_VERSION_MINOR == 1 \
&& BDUS_REQUIRE_VERSION_PATCH == 1
&& BDUS_REQUIRE_VERSION_PATCH >= 1
return bdus_run_0_1_1_(ops, attrs, private_data);
#else
return bdus_run_0_1_0_(ops, attrs, private_data);
Expand Down Expand Up @@ -858,7 +858,7 @@ static inline bool bdus_rerun(
void *private_data)
{
#if BDUS_REQUIRE_VERSION_MAJOR == 0 && BDUS_REQUIRE_VERSION_MINOR == 1 \
&& BDUS_REQUIRE_VERSION_PATCH == 1
&& BDUS_REQUIRE_VERSION_PATCH >= 1
return bdus_rerun_0_1_1_(dev_id, ops, attrs, private_data);
#else
return bdus_rerun_0_1_0_(dev_id, ops, attrs, private_data);
Expand Down

0 comments on commit f8b6c71

Please sign in to comment.