Re: Treat disk space like memory space

From: Lee Revell
Date: Thu Nov 15 2007 - 19:25:12 EST


On Nov 15, 2007 5:24 PM, Stefan Monnier <monnier@xxxxxxxxxxxxxxxx> wrote:
> [ I realize this is probably better implemented outside of the kernel, but
> it seems like it might be of interest here. Please redirect me to
> a more appropriate place if you can think of one (other than
> /dev/null that is). ]

It would require some kernel support to reclaim the storage from the
caching application rather than returning -ENOSPC when a "normal" app
needs the storage. Even if you make the caching app free the space by
itself you need a kernel mechanism to signal it when this happens.

Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/