Re: [PATCH 09/16] initrd: remove the BLKFLSBUF call in handle_initrd

From: Christoph Hellwig
Date: Tue Jul 07 2020 - 05:03:56 EST


On Thu, Jul 02, 2020 at 08:40:31PM -0700, H. Peter Anvin wrote:
> On 2020-06-15 05:53, Christoph Hellwig wrote:
> > BLKFLSBUF used to be overloaded for the ramdisk driver to free the whole
> > ramdisk, which was completely different behavior compared to all other
> > drivers. But this magic overload got removed in commit ff26956875c2
> > ("brd: remove support for BLKFLSBUF"), so this call is entirely
> > pointless now.
> >
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
>
> Does *anyone* use initrd as opposed to initramfs anymore? It would seem
> like a good candidate for deprecation/removal.

I thought about that as well. I think deprecating it at least is a good
idea and can add a patch doing that to the next version.