Re: [Nbd] fua, trim, etc
Brought to you by:
yoe
|
From: folkert <fo...@va...> - 2011-09-11 11:14:18
|
> > 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 |