[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Nbd] nbd & discard/trim


What is the current way to enable discard/trim on an nbd block device?
My nbd server sends the appropriate flags:
	int flags = 1 + 4 + 8 + 32; // FLAGS, FLUSH, FUA, TRIM
nbd-client package is of version: 1:3.2-1
connected as:
	nbd-client bs=1024 12341 /dev/nbd0
but still mounting with e.g. -o noatime,discard fails.

Folkert van Heusden

Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

Reply to: