From: Andreas Hindborg <a.hindborg@kernel.org>
To: "Boqun Feng" <boqun.feng@gmail.com>,
"Jens Axboe" <axboe@kernel.dk>, "Miguel Ojeda" <ojeda@kernel.org>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"FUJITA Tomonori" <fujita.tomonori@gmail.com>,
"Frederic Weisbecker" <frederic@kernel.org>,
"Lyude Paul" <lyude@redhat.com>,
"Thomas Gleixner" <tglx@kernel.org>,
"Anna-Maria Behnsen" <anna-maria@linutronix.de>,
"John Stultz" <jstultz@google.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Lorenzo Stoakes" <lorenzo.stoakes@oracle.com>,
"Liam R. Howlett" <Liam.Howlett@oracle.com>
Cc: linux-block@vger.kernel.org, rust-for-linux@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Andreas Hindborg <a.hindborg@kernel.org>
Subject: [PATCH 79/79] block: rnull: add zone offline and readonly configfs files
Date: Mon, 16 Feb 2026 00:36:06 +0100 [thread overview]
Message-ID: <20260216-rnull-v6-19-rc5-send-v1-79-de9a7af4b469@kernel.org> (raw)
In-Reply-To: <20260216-rnull-v6-19-rc5-send-v1-0-de9a7af4b469@kernel.org>
Add configfs attributes for managing zone states in the rnull zoned
block device emulation. The `zone_offline` and `zone_readonly`
attributes allow setting specific zones to offline or read-only states,
which is useful for testing how applications handle degraded zones.
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
---
drivers/block/rnull/configfs.rs | 80 +++++++++++++++++++++++++++++++++++
drivers/block/rnull/disk_storage.rs | 59 +++++++++++++-------------
drivers/block/rnull/rnull.rs | 2 +-
drivers/block/rnull/zoned.rs | 83 ++++++++++++++++++++++++++-----------
4 files changed, 168 insertions(+), 56 deletions(-)
diff --git a/drivers/block/rnull/configfs.rs b/drivers/block/rnull/configfs.rs
index 395da68d96dc6..1c0d95ded7e9f 100644
--- a/drivers/block/rnull/configfs.rs
+++ b/drivers/block/rnull/configfs.rs
@@ -125,6 +125,8 @@ fn make_group(
max_sectors: 29,
virt_boundary: 30,
shared_tag_bitmap: 31,
+ zone_offline: 32,
+ zone_readonly: 33,
],
};
@@ -639,3 +641,81 @@ fn store(this: &DeviceConfig, page: &[u8]) -> Result {
configfs_simple_field!(DeviceConfig, 29, max_sectors, u32);
configfs_simple_bool_field!(DeviceConfig, 30, virt_boundary);
configfs_simple_bool_field!(DeviceConfig, 31, shared_tag_bitmap);
+
+#[cfg(CONFIG_BLK_DEV_ZONED)]
+fn set_zone_condition(
+ this: &DeviceConfig,
+ sector: u64,
+ cb: impl FnOnce(
+ &crate::zoned::ZoneOptions,
+ &DiskStorage,
+ &mut crate::zoned::ZoneDescriptor,
+ ) -> Result,
+) -> Result {
+ use crate::zoned::ZoneType;
+ let data_guard = this.data.lock();
+ let null_disk = data_guard.disk.as_ref().ok_or(EBUSY)?.queue_data();
+ let storage = &null_disk.storage;
+ let zone_options = &null_disk.zoned;
+ zone_options.enabled.then_some(()).ok_or(EINVAL)?;
+ let mut zone = zone_options.zone(sector)?.lock();
+
+ if zone.kind == ZoneType::Conventional {
+ return Err(EINVAL);
+ }
+
+ cb(zone_options, storage, &mut zone)
+}
+
+#[cfg(CONFIG_BLK_DEV_ZONED)]
+configfs_attribute!(
+ DeviceConfig,
+ 32,
+ show: |_this, _page| Ok(0),
+ store: |this,page| {
+ let text = core::str::from_utf8(page)?.trim();
+ let sector = text.parse().map_err(|_| EINVAL)?;
+
+ set_zone_condition(this, sector, |zone_options, storage, zone| {
+ zone_options.offline_zone(storage, zone)
+ })?;
+ Ok(())
+ },
+);
+
+#[cfg(CONFIG_BLK_DEV_ZONED)]
+configfs_attribute!(
+ DeviceConfig,
+ 33,
+ show: |_this, _page| Ok(0),
+ store: |this,page| {
+ let text = core::str::from_utf8(page)?.trim();
+ let sector = text.parse().map_err(|_| EINVAL)?;
+
+ set_zone_condition(this, sector, |zone_options, storage, zone| {
+ zone_options.read_only_zone(storage, zone)
+ })?;
+
+ Ok(())
+ },
+);
+
+#[cfg(not(CONFIG_BLK_DEV_ZONED))]
+configfs_attribute!(
+ DeviceConfig,
+ 32,
+ show: |this, page| {Ok(0)},
+ store: |this,page| {
+ Err(ENOTSUPP)
+ },
+);
+
+#[cfg(not(CONFIG_BLK_DEV_ZONED))]
+configfs_attribute!(
+ DeviceConfig,
+ 33,
+ show: |this, page| {Ok(0)},
+ store: |this,page| {
+ Err(ENOTSUPP)
+ },
+);
diff --git a/drivers/block/rnull/disk_storage.rs b/drivers/block/rnull/disk_storage.rs
index d9f2703957fc0..802e9534ca2a5 100644
--- a/drivers/block/rnull/disk_storage.rs
+++ b/drivers/block/rnull/disk_storage.rs
@@ -65,27 +65,45 @@ pub(crate) fn lock(&self) -> SpinLockGuard<'_, Pin<KBox<TreeContainer>>> {
self.trees.lock()
}
- pub(crate) fn discard(
- &self,
- hw_data: &Pin<&SpinLock<HwQueueContext>>,
- mut sector: u64,
- sectors: u32,
- ) {
- let mut tree_guard = self.lock();
- let mut hw_data_guard = hw_data.lock();
-
- let mut access = self.access(&mut tree_guard, &mut hw_data_guard, None);
+ pub(crate) fn discard(&self, mut sector: u64, sectors: u32) {
+ let tree_guard = self.lock();
+ let mut cache_guard = tree_guard.cache_tree.lock();
+ let mut disk_guard = tree_guard.cache_tree.lock();
let mut remaining_bytes = sectors_to_bytes(sectors);
while remaining_bytes > 0 {
- access.free_sector(sector);
+ self.free_sector(&mut cache_guard, &mut disk_guard, sector);
let processed = remaining_bytes.min(self.block_size);
sector += Into::<u64>::into(bytes_to_sectors(processed));
remaining_bytes -= processed;
}
}
+ fn free_sector_tree(tree_access: &mut xarray::Guard<'_, TreeNode>, sector: u64) {
+ let index = DiskStorageAccess::to_index(sector);
+ if let Some(page) = tree_access.get_mut(index) {
+ page.set_free(sector);
+
+ if page.is_empty() {
+ tree_access.remove(index);
+ }
+ }
+ }
+
+ pub(crate) fn free_sector<'a>(
+ &self,
+ cache_guard: &mut xarray::Guard<'a, TreeNode>,
+ disk_guard: &mut xarray::Guard<'a, TreeNode>,
+ sector: u64,
+ ) {
+ if self.cache_size > 0 {
+ Self::free_sector_tree(cache_guard, sector);
+ }
+
+ Self::free_sector_tree(disk_guard, sector);
+ }
+
pub(crate) fn flush(&self, hw_data: &Pin<&SpinLock<HwQueueContext>>) {
let mut tree_guard = self.lock();
let mut hw_data_guard = hw_data.lock();
@@ -262,25 +280,6 @@ pub(crate) fn get_read_page(&self, sector: u64) -> Option<&NullBlockPage> {
self.disk_guard.get(index)
}
}
-
- fn free_sector_tree(tree_access: &mut xarray::Guard<'_, TreeNode>, sector: u64) {
- let index = Self::to_index(sector);
- if let Some(page) = tree_access.get_mut(index) {
- page.set_free(sector);
-
- if page.is_empty() {
- tree_access.remove(index);
- }
- }
- }
-
- pub(crate) fn free_sector(&mut self, sector: u64) {
- if self.disk_storage.cache_size > 0 {
- Self::free_sector_tree(&mut self.cache_guard, sector);
- }
-
- Self::free_sector_tree(&mut self.disk_guard, sector);
- }
}
type Tree = XArray<TreeNode>;
diff --git a/drivers/block/rnull/rnull.rs b/drivers/block/rnull/rnull.rs
index 5bf965908ef63..91f8636d74cca 100644
--- a/drivers/block/rnull/rnull.rs
+++ b/drivers/block/rnull/rnull.rs
@@ -739,7 +739,7 @@ fn handle_regular_command(
if self.memory_backed {
if rq.command() == mq::Command::Discard {
- self.storage.discard(hw_data, rq.sector(), sectors);
+ self.storage.discard(rq.sector(), sectors);
} else {
self.transfer(hw_data, rq, rq.command(), sectors)?;
}
diff --git a/drivers/block/rnull/zoned.rs b/drivers/block/rnull/zoned.rs
index 0f15f4cc4e5c3..3b8ebf5449a8d 100644
--- a/drivers/block/rnull/zoned.rs
+++ b/drivers/block/rnull/zoned.rs
@@ -178,7 +178,7 @@ pub(crate) fn handle_zoned_command(
match rq.command() {
ZoneAppend | Write => self.zoned_write(hw_data, rq)?,
ZoneReset | ZoneResetAll | ZoneOpen | ZoneClose | ZoneFinish => {
- self.zone_management(hw_data, rq)?
+ self.zone_management(rq)?
}
_ => self.zoned_read(hw_data, rq)?,
}
@@ -186,18 +186,14 @@ pub(crate) fn handle_zoned_command(
Ok(())
}
- fn zone_management(
- &self,
- hw_data: &Pin<&SpinLock<HwQueueContext>>,
- rq: &mut Owned<mq::Request<Self>>,
- ) -> Result {
+ fn zone_management(&self, rq: &mut Owned<mq::Request<Self>>) -> Result {
if rq.command() == mq::Command::ZoneResetAll {
for zone in self.zoned.zones_iter() {
let mut zone = zone.lock();
use ZoneCondition::*;
match zone.condition {
Empty | ReadOnly | Offline => continue,
- _ => self.zoned.reset_zone(&self.storage, hw_data, &mut zone)?,
+ _ => self.zoned.reset_zone(&self.storage, &mut zone)?,
}
}
@@ -213,10 +209,10 @@ fn zone_management(
use mq::Command::*;
match rq.command() {
- ZoneOpen => self.zoned.open_zone(&mut zone, rq.sector()),
+ ZoneOpen => self.zoned.open_zone(&mut zone),
ZoneClose => self.zoned.close_zone(&mut zone),
- ZoneReset => self.zoned.reset_zone(&self.storage, hw_data, &mut zone),
- ZoneFinish => self.zoned.finish_zone(&mut zone, rq.sector()),
+ ZoneReset => self.zoned.reset_zone(&self.storage, &mut zone),
+ ZoneFinish => self.zoned.finish_zone(&mut zone),
_ => Err(EIO),
}
}
@@ -282,7 +278,7 @@ fn zoned_write(
if self.zoned.use_accounting() {
let mut accounting = self.zoned.accounting.lock();
self.zoned
- .check_zone_resources(&mut accounting, &mut zone, rq.sector())?;
+ .check_zone_resources(&mut accounting, &mut zone)?;
if zone.condition == ZoneCondition::Closed {
accounting.closed -= 1;
@@ -365,7 +361,7 @@ fn zone_no(&self, sector: u64) -> usize {
(sector >> self.size_sectors.ilog2()) as usize
}
- fn zone(&self, sector: u64) -> Result<&Mutex<ZoneDescriptor>> {
+ pub(crate) fn zone(&self, sector: u64) -> Result<&Mutex<ZoneDescriptor>> {
self.zones.get(self.zone_no(sector)).ok_or(EINVAL)
}
@@ -418,7 +414,7 @@ fn try_close_implicit_open_zone(&self, accounting: &mut ZoneAccounting, sector:
Err(EINVAL)
}
- fn open_zone(&self, zone: &mut ZoneDescriptor, sector: u64) -> Result {
+ fn open_zone(&self, zone: &mut ZoneDescriptor) -> Result {
if zone.kind == ZoneType::Conventional {
return Err(EINVAL);
}
@@ -434,13 +430,13 @@ fn open_zone(&self, zone: &mut ZoneDescriptor, sector: u64) -> Result {
let mut accounting = self.accounting.lock();
match zone.condition {
Empty => {
- self.check_zone_resources(&mut accounting, zone, sector)?;
+ self.check_zone_resources(&mut accounting, zone)?;
}
ImplicitOpen => {
accounting.implicit_open -= 1;
}
Closed => {
- self.check_zone_resources(&mut accounting, zone, sector)?;
+ self.check_zone_resources(&mut accounting, zone)?;
accounting.closed -= 1;
}
_ => (),
@@ -457,14 +453,13 @@ fn check_zone_resources(
&self,
accounting: &mut ZoneAccounting,
zone: &mut ZoneDescriptor,
- sector: u64,
) -> Result {
match zone.condition {
ZoneCondition::Empty => {
self.check_active_zones(accounting)?;
- self.check_open_zones(accounting, sector)
+ self.check_open_zones(accounting, zone.start_sector)
}
- ZoneCondition::Closed => self.check_open_zones(accounting, sector),
+ ZoneCondition::Closed => self.check_open_zones(accounting, zone.start_sector),
_ => Err(EIO),
}
}
@@ -533,7 +528,7 @@ fn close_zone(&self, zone: &mut ZoneDescriptor) -> Result {
Ok(())
}
- fn finish_zone(&self, zone: &mut ZoneDescriptor, sector: u64) -> Result {
+ fn finish_zone(&self, zone: &mut ZoneDescriptor) -> Result {
if zone.kind == ZoneType::Conventional {
return Err(EINVAL);
}
@@ -545,12 +540,12 @@ fn finish_zone(&self, zone: &mut ZoneDescriptor, sector: u64) -> Result {
match zone.condition {
Full => return Ok(()),
Empty => {
- self.check_zone_resources(&mut accounting, zone, sector)?;
+ self.check_zone_resources(&mut accounting, zone)?;
}
ImplicitOpen => accounting.implicit_open -= 1,
ExplicitOpen => accounting.explicit_open -= 1,
Closed => {
- self.check_zone_resources(&mut accounting, zone, sector)?;
+ self.check_zone_resources(&mut accounting, zone)?;
accounting.closed -= 1;
}
_ => return Err(EIO),
@@ -566,7 +561,6 @@ fn finish_zone(&self, zone: &mut ZoneDescriptor, sector: u64) -> Result {
fn reset_zone(
&self,
storage: &crate::disk_storage::DiskStorage,
- hw_data: &Pin<&SpinLock<HwQueueContext>>,
zone: &mut ZoneDescriptor,
) -> Result {
if zone.kind == ZoneType::Conventional {
@@ -589,16 +583,55 @@ fn reset_zone(
zone.condition = ZoneCondition::Empty;
zone.write_pointer = zone.start_sector;
- storage.discard(hw_data, zone.start_sector, zone.size_sectors);
+ storage.discard(zone.start_sector, zone.size_sectors);
+
+ Ok(())
+ }
+
+ fn set_zone_condition(
+ &self,
+ storage: &crate::disk_storage::DiskStorage,
+ zone: &mut ZoneDescriptor,
+ condition: ZoneCondition,
+ ) -> Result {
+ if zone.condition == condition {
+ zone.condition = ZoneCondition::Empty;
+ zone.write_pointer = zone.start_sector;
+ storage.discard(zone.start_sector, zone.size_sectors);
+ } else {
+ if matches!(
+ zone.condition,
+ ZoneCondition::ReadOnly | ZoneCondition::Offline
+ ) {
+ self.finish_zone(zone)?;
+ }
+ zone.condition = ZoneCondition::Offline;
+ zone.write_pointer = u64::MAX;
+ }
Ok(())
}
+ pub(crate) fn offline_zone(
+ &self,
+ storage: &crate::disk_storage::DiskStorage,
+ zone: &mut ZoneDescriptor,
+ ) -> Result {
+ self.set_zone_condition(storage, zone, ZoneCondition::Offline)
+ }
+
+ pub(crate) fn read_only_zone(
+ &self,
+ storage: &crate::disk_storage::DiskStorage,
+ zone: &mut ZoneDescriptor,
+ ) -> Result {
+ self.set_zone_condition(storage, zone, ZoneCondition::ReadOnly)
+ }
}
pub(crate) struct ZoneDescriptor {
start_sector: u64,
size_sectors: u32,
- kind: ZoneType,
+ pub(crate) kind: ZoneType,
capacity_sectors: u32,
write_pointer: u64,
condition: ZoneCondition,
@@ -626,7 +659,7 @@ fn check_bounds_read(&self, sector: u64, sectors: u32) -> Result {
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
#[repr(u32)]
-enum ZoneType {
+pub(crate) enum ZoneType {
Conventional = bindings::blk_zone_type_BLK_ZONE_TYPE_CONVENTIONAL,
SequentialWriteRequired = bindings::blk_zone_type_BLK_ZONE_TYPE_SEQWRITE_REQ,
#[expect(dead_code)]
--
2.51.2
prev parent reply other threads:[~2026-02-16 0:50 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-15 23:34 [PATCH 00/79] block: rnull: complete the rust null block driver Andreas Hindborg
2026-02-15 23:34 ` [PATCH 01/79] block: rnull: adopt new formatting guidelines Andreas Hindborg
2026-02-15 23:34 ` [PATCH 02/79] block: rnull: add module parameters Andreas Hindborg
2026-02-15 23:34 ` [PATCH 03/79] block: rnull: add macros to define configfs attributes Andreas Hindborg
2026-02-15 23:34 ` [PATCH 04/79] block: rust: fix generation of bindings to `BLK_STS_.*` Andreas Hindborg
2026-02-15 23:34 ` [PATCH 05/79] block: rust: change `queue_rq` request type to `Owned` Andreas Hindborg
2026-02-15 23:34 ` [PATCH 06/79] block: rust: add `Request` private data support Andreas Hindborg
2026-02-15 23:34 ` [PATCH 07/79] block: rust: allow `hrtimer::Timer` in `RequestData` Andreas Hindborg
2026-02-15 23:34 ` [PATCH 08/79] block: rnull: add timer completion mode Andreas Hindborg
2026-02-15 23:34 ` [PATCH 09/79] block: rust: introduce `kernel::block::bio` module Andreas Hindborg
2026-02-15 23:34 ` [PATCH 10/79] block: rust: add `command` getter to `Request` Andreas Hindborg
2026-02-15 23:34 ` [PATCH 11/79] block: rust: mq: use GFP_KERNEL from prelude Andreas Hindborg
2026-02-15 23:34 ` [PATCH 12/79] block: rust: add `TagSet` flags Andreas Hindborg
2026-02-15 23:35 ` [PATCH 13/79] block: rnull: add memory backing Andreas Hindborg
2026-02-15 23:35 ` [PATCH 14/79] block: rnull: add submit queue count config option Andreas Hindborg
2026-02-15 23:35 ` [PATCH 15/79] block: rnull: add `use_per_node_hctx` " Andreas Hindborg
2026-02-15 23:35 ` [PATCH 16/79] block: rust: allow specifying home node when constructing `TagSet` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 17/79] block: rnull: allow specifying the home numa node Andreas Hindborg
2026-02-15 23:35 ` [PATCH 18/79] block: rust: add Request::sectors() method Andreas Hindborg
2026-02-15 23:35 ` [PATCH 19/79] block: rust: mq: add max_hw_discard_sectors support to GenDiskBuilder Andreas Hindborg
2026-02-15 23:35 ` [PATCH 20/79] block: rnull: add discard support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 21/79] block: rust: add `NoDefaultScheduler` flag for `TagSet` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 22/79] block: rnull: add no_sched module parameter and configfs attribute Andreas Hindborg
2026-02-15 23:35 ` [PATCH 23/79] block: rust: change sector type from usize to u64 Andreas Hindborg
2026-02-15 23:35 ` [PATCH 24/79] block: rust: add `BadBlocks` for bad block tracking Andreas Hindborg
2026-02-15 23:35 ` [PATCH 25/79] block: rust: mq: add Request::end() method for custom status codes Andreas Hindborg
2026-02-15 23:35 ` [PATCH 26/79] block: rnull: add badblocks support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 27/79] block: rnull: add badblocks_once support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 28/79] block: rnull: add partial I/O support for bad blocks Andreas Hindborg
2026-02-15 23:35 ` [PATCH 29/79] block: rust: add `TagSet` private data support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 30/79] block: rust: add `hctx` " Andreas Hindborg
2026-02-15 23:35 ` [PATCH 31/79] block: rnull: add volatile cache emulation Andreas Hindborg
2026-02-15 23:35 ` [PATCH 32/79] block: rust: implement `Sync` for `GenDisk` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 33/79] block: rust: add a back reference feature to `GenDisk` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 34/79] block: rust: introduce an idle type state for `Request` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 35/79] block: rust: add a request queue abstraction Andreas Hindborg
2026-02-15 23:35 ` [PATCH 36/79] block: rust: add a method to get the request queue for a request Andreas Hindborg
2026-02-15 23:35 ` [PATCH 37/79] block: rust: introduce `kernel::block::error` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 38/79] block: rust: require `queue_rq` to return a `BlkResult` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 39/79] block: rust: add `GenDisk::queue_data` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 40/79] block: rnull: add bandwidth limiting Andreas Hindborg
2026-02-15 23:35 ` [PATCH 41/79] block: rnull: add blocking queue mode Andreas Hindborg
2026-02-15 23:35 ` [PATCH 42/79] block: rnull: add shared tags Andreas Hindborg
2026-02-15 23:35 ` [PATCH 43/79] block: rnull: add queue depth config option Andreas Hindborg
2026-02-15 23:35 ` [PATCH 44/79] block: rust: add an abstraction for `bindings::req_op` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 45/79] block: rust: add a method to set the target sector of a request Andreas Hindborg
2026-02-15 23:35 ` [PATCH 46/79] block: rust: move gendisk vtable construction to separate function Andreas Hindborg
2026-02-15 23:35 ` [PATCH 47/79] block: rust: add zoned block device support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 48/79] block: rnull: add zoned storage support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 49/79] block: rust: add `map_queues` support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 50/79] block: rust: add an abstraction for `struct blk_mq_queue_map` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 51/79] block: rust: add polled completion support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 52/79] block: rust: add accessors to `TagSet` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 53/79] block: rnull: add polled completion support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 54/79] block: rnull: add REQ_OP_FLUSH support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 55/79] block: rust: add request flags abstraction Andreas Hindborg
2026-02-15 23:35 ` [PATCH 56/79] block: rust: add abstraction for block queue feature flags Andreas Hindborg
2026-02-15 23:35 ` [PATCH 57/79] block: rust: allow setting write cache and FUA flags for `GenDisk` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 58/79] block: rust: add `Segment::copy_to_page_limit` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 59/79] block: rnull: add fua support Andreas Hindborg
2026-02-15 23:35 ` [PATCH 60/79] block: fix arg type in `blk_mq_update_nr_hw_queues` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 61/79] block: rust: add `GenDisk::tag_set` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 62/79] block: rust: add `TagSet::update_hw_queue_count` Andreas Hindborg
2026-02-16 23:59 ` Ken Kurematsu
2026-02-17 9:54 ` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 63/79] block: rnull: add an option to change the number of hardware queues Andreas Hindborg
2026-02-15 23:35 ` [PATCH 64/79] block: rust: add an abstraction for `struct rq_list` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 65/79] block: rust: add `queue_rqs` vtable hook Andreas Hindborg
2026-02-15 23:35 ` [PATCH 66/79] block: rnull: support queue_rqs Andreas Hindborg
2026-02-15 23:35 ` [PATCH 67/79] block: rust: remove the `is_poll` parameter from `queue_rq` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 68/79] block: rust: add a debug assert for refcounts Andreas Hindborg
2026-02-15 23:35 ` [PATCH 69/79] block: rust: add `TagSet::tag_to_rq` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 70/79] block: rust: add `Request::queue_index` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 71/79] block: rust: add `Request::requeue` Andreas Hindborg
2026-02-15 23:35 ` [PATCH 72/79] block: rust: add `request_timeout` hook Andreas Hindborg
2026-02-15 23:36 ` [PATCH 73/79] block: rnull: add fault injection support Andreas Hindborg
2026-02-15 23:36 ` [PATCH 74/79] block: rust: add max_sectors option to `GenDiskBuilder` Andreas Hindborg
2026-02-15 23:36 ` [PATCH 75/79] block: rnull: allow configuration of the maximum IO size Andreas Hindborg
2026-02-15 23:36 ` [PATCH 76/79] block: rust: add `virt_boundary_mask` option to `GenDiskBuilder` Andreas Hindborg
2026-02-15 23:36 ` [PATCH 77/79] block: rnull: add `virt_boundary` option Andreas Hindborg
2026-02-15 23:36 ` [PATCH 78/79] block: rnull: add `shared_tag_bitmap` config option Andreas Hindborg
2026-02-15 23:36 ` Andreas Hindborg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260216-rnull-v6-19-rc5-send-v1-79-de9a7af4b469@kernel.org \
--to=a.hindborg@kernel.org \
--cc=Liam.Howlett@oracle.com \
--cc=aliceryhl@google.com \
--cc=anna-maria@linutronix.de \
--cc=axboe@kernel.dk \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=dakr@kernel.org \
--cc=frederic@kernel.org \
--cc=fujita.tomonori@gmail.com \
--cc=gary@garyguo.net \
--cc=jstultz@google.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=lossin@kernel.org \
--cc=lyude@redhat.com \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=sboyd@kernel.org \
--cc=tglx@kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox