From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 26 Oct 2016 16:25:51 -0400 (EDT) From: Mikulas Patocka To: Jens Axboe cc: Mike Snitzer , Christoph Hellwig , dm-devel@redhat.com, "Alasdair G. Kergon" , linux-block@vger.kernel.org Subject: [PATCH 0/4] brd: support discard In-Reply-To: <710b07a3-9091-6935-37c4-ea1dcedcab4f@kernel.dk> Message-ID: References: <20161021200022.GA12580@redhat.com> <20161024155756.GA48306@redhat.com> <20161025130712.GA12717@infradead.org> <20161025143719.GA51266@redhat.com> <710b07a3-9091-6935-37c4-ea1dcedcab4f@kernel.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-ID: 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 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 > > 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