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 -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html