nbdkit-noextents-filter(1)
πΈ NAME πΈ
nbdkit-noextents-filter β disable extents in the underlying plugin π
okay so this is a page from the NBDKIT manual, section 1 (that's the "user commands" section bestie, we love a section 1 moment). It's about a lil filter called nbdkit-noextents-filter, and its whole job is turning extents OFF. That's it. That's the girl. π
β¨ SYNOPSIS β¨
nbdkit --filter=noextents plugin
π¦ DESCRIPTION π¦
So first, vibe check: what even are "extents"? π Extents are a feature of the NBD protocol / nbdkit that let the client spot sparse regions of the underlying disk. Like, "hey bestie, this chunk is just empty, don't stress about it". Sparse-awareness. Very efficient. Very demure.
nbdkit-noextents-filter disables that π«β¨ so the plugin shows up as fully allocated β at least as far as a client that requests structured replies is concerned.
And yes, technically you could also use the --no-meta-contexts or --no-sr options to nbdkit to stop the client from negotiating extents at all β but no cap, that route comes with more side effects than this filter does. So if you just want the one thing, take the filter, okay? π«Ά
When is this actually useful tho? Iconic combo alert π¨: pair it with nbdkit-file-plugin(1) when you're serving a file off a file system that's known to have poor lseek(2) performance. And heads up, "tmpfs" is known to be one such system. She's fast at everything except this, apparently π
π PARAMETERS π
There are no parameters specific to nbdkit-noextents-filter. Nope, zero, nada, she's low maintenance π
Any parameters you do pass get handed straight through to β and processed by β the underlying plugin in the normal way. So whatever that plugin wants, that's what it gets. periodt.
π FILES π
$filterdir/nbdkit-noextents-filter.soβ the filter itself π§
Wanna know where $filterdir even lives? Run nbdkit --dump-config and it'll tell you, easy peasy. π
β VERSION β
"nbdkit-noextents-filter" first appeared in nbdkit 1.14. Baby's been around a minute. π
π SEE ALSO π
The whole friend group, fr fr:
- nbdkit(1)
- nbdkit-filter(3)
- nbdkit-extentlist-filter(1)
- nbdkit-fua-filter(1)
- nbdkit-multi-conn-filter(1)
- nbdkit-nocache-filter(1)
- nbdkit-noparallel-filter(1)
- nbdkit-nozero-filter(1)
- nbdkit-file-plugin(1)
π AUTHORS π
Richard W.M. Jones β the icon, the legend, the main character who wrote this π
π COPYRIGHT π
Copyright Red Hat
π§Ύ LICENSE π§Ύ
bestie this is the legal bit, so I'm gonna say it exactly how it is β no paraphrasing, no cutting corners, iykyk. Read it, it matters. π
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Red Hat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
okay that's the whole page bestie, you ate it π β¨
this was nbdkit-1.48.1, dated 2026-08-29, and it's the nbdkit-noextents-filter(1) page β go forth and disable some extents, no cap π¦ππ
π¦ where this page comes from
- fedora 44: nbdkit-basic-filters 1.48.1-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms