[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081016034812.GA10371@wotan.suse.de>
Date: Thu, 16 Oct 2008 05:48:12 +0200
From: Nick Piggin <npiggin@...e.de>
To: Matthew Wilcox <matthew@....cx>
Cc: Richard Kojedzinszky <krichy@...etwork.hu>,
linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: minix/ext2 + rd problem
On Wed, Oct 15, 2008 at 01:22:54PM -0600, Matthew Wilcox wrote:
> On Wed, Oct 15, 2008 at 04:34:25PM +0200, Nick Piggin wrote:
> > You can flush and invalidate the blockdev with the --flushbufs argument
> > to blockdev command. However you can't use this with ramdisk devices:
> > someone thought it would be a good idea to save on precious ioctl space
> > and implemented totally different semantics on that device with the
> > same ioctl (it throws away the underlying data as well as the cache).
>
> What happens if we declare that a bug and fix it (and add a new ioctl to
> actually throw away the data ... oh, wait, we have one, it's BLKDISCARD)?
Well... that's a good point. We probably could, because the worst someone
will see is their backing store memory does not get freed. It won't munch
someone's data.
I'd love to do this, OTOH we've had the old behaviour, apparently documented
and used by someone at some point, for a long time :(
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists