On Tue, 14 Feb 2006, "?????? ?????? ???????" wrote:
>
>
> > Victor Porton,,, <[email protected]> wrote:
> >
> > > I suggest to add kernel configuration/option to allow to use
> > > an MTD device as a continuation of I/O buffers (for HDD).
> >
> > Why do you want to be limited to MTD devices?
> > What about creating a device-mapper target using JBD instead?
>
> Good idea, which probably already works with current Linux with ext3. But we should be not limited to JDB systems. Your idea works only with JDB, so your idea (despite of being a good idea) is a hack.
NACK, my idea is "porting" the JBD function from ext3 to dm.
> > > One way to implement it would be to add the option for a swap
> > partition/file
> > > to allow to use this swap partition/file as I/O buffer for other device.
> >
> > -EBADIDEA. You'd certainly lose data on power failures.
>
> How it is worse than to lose data on power failures with the standard Linux memory I/O cache?
It will increase the cache and thereby the amount of in-flight data.
> Moreover so we can lose LESS, as Flash memory will preserve swap content unlike RAM.
I didn't asume that you suggest the cache to be preserved, since swap does
not provide the facility. JBD obviously does have this feature, therefore
my suggestion.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]