LisPi on Nostr: Well... that about confirms it then. The only portable way to support TRIM with NBD ...
Well... that about confirms it then.
The only portable way to support TRIM with NBD server is to use the treefile backing store, as that only requires POSIX interfaces.
Everything else is platform-specific #if ioctls and syscalls. Bleh.
Published at
2026-11-28 01:59:08 UTCEvent JSON
{
"id": "6fd4f0b285891620c5cb69ab4281553b2c5c4f747add08b5eaaca4bfba6f43c0",
"pubkey": "c72a3d0565a87f8b46ac5b8ab88a45f56cf67de2398a8cba8c6855cb3a39b0ea",
"created_at": 1795831148,
"kind": 1,
"tags": [
[
"proxy",
"https://udongein.xyz/objects/f11a53e5-62ef-4d17-8981-e39f59f56ec8",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "Well... that about confirms it then.\n\nThe only portable way to support TRIM with NBD server is to use the treefile backing store, as that only requires POSIX interfaces.\n\nEverything else is platform-specific #if ioctls and syscalls. Bleh.",
"sig": "7d251239407a72d038ceda6857cc7add0a8b6a06066c2ddf66dd941ed3d43c057bfb789841eecf12e4849405df5e3cafae133dca5e4772963e68b9dc3373312c"
}