nbdkit/0005-todo-Add-note-about-problems-with-file-plugin-block_.patch
Richard W.M. Jones f06a5d96be Rebase to nbdkit 1.46.1
Backport nbdkit_name from nbdkit 1.47.
resolves: RHEL-111242
Test and document that VDDK 9.0.1.0 works
resolves: RHEL-140615
2026-01-20 12:26:38 +00:00

34 lines
1.0 KiB
Diff

From ca21ff4ca62b26028a7792b51189188fd5049f65 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 8 Jan 2026 21:05:23 +0000
Subject: [PATCH] todo: Add note about problems with file plugin block_size
(cherry picked from commit 2155ff48364a4d1a7368cf4f43ed78ce1ee47dd3)
---
TODO.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/TODO.md b/TODO.md
index 8488dd95..ff72ed25 100644
--- a/TODO.md
+++ b/TODO.md
@@ -199,6 +199,15 @@ nbdkit-file-plugin:
- For more, see comments in
https://gitlab.com/nbdkit/nbdkit/-/merge_requests/88
+* Block size constraints mapping between Linux hints and the
+ file_block_size callback could be improved. Our correspondent
+ writes:
+
+ > the kernel's minimum_io_size is a hint, while logical_block_size
+ is the hard limit. nbdkit should probably be setting "minimum" to
+ logical_block_size, and using the
+ max(minimum_io_size,optimal_io_size) for "preferred"
+
nbdkit-vram-plugin:
* Investigate why, on AMD Radeon, trim does not immediately free Video
--
2.47.3