On Tue, 25 Oct 2016, Jens Axboe wrote: > On 10/25/2016 08:37 AM, Mike Snitzer wrote: > > On Tue, Oct 25 2016 at 9:07P -0400, > > Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > > > > > I think the right fix is to kill off the BLKFLSBUF special case in > > > brd. Yes, it break compatibility - but in this case the compatibility > > > breaks more than it helps. > > > > Jens, please pick up this patch: > > > > From: Mike Snitzer <snitzer@xxxxxxxxxx> > > Date: Tue, 25 Oct 2016 10:25:07 -0400 > > Subject: [PATCH] brd: remove support for BLKFLSBUF > > Added, thanks. > > -- > Jens Axboe Hi With the removal of BLKFLSBUF, there is no way to free memory allocated by ramdisk, so I created these 4 patches that add DISCARD support for ramdisk. Mikulas -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel