On Thu, Aug 9, 2012 at 7:57 AM, Wouter Verhelst <[email protected]> wrote: > On Thu, Aug 09, 2012 at 12:57:53PM +0200, folkert wrote: >> Hi, >> >> 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 172.16.86.1 12341 /dev/nbd0 >> but still mounting with e.g. -o noatime,discard fails. > > I believe the patch isn't in the kernel yet. Paul?
That's correct. The patch has not gone into mainline. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
