> > Not entirely sure about trim/discard: mount -o trim is refused by the
> > kernel/mount.
> 
> Try:
> - Create and mount an ext4 filesystem on the NBD device
> - Create a large (non-sparse) file on that filesystem
> - Remove the file again

Nope, nothing.
I verified that I set the correct bits.
int flags = 1 + 4 + 8 + 32; // FLAGS, FLUSH, FUA, TRIM


Folkert van Heusden

-- 
MultiTail is a versatile tool for watching logfiles and output of
commands. Filtering, coloring, merging, diff-view, etc.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to