Re: MTD for buffered IO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 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.

> > 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?

Moreover so we can lose LESS, as Flash memory will preserve swap content unlike RAM.

> -- 
> Ich danke GMX dafьr, die Verwendung meiner Adressen mittels per SPF
> verbreiteten Lьgen zu sabotieren.
> 

-- 
Victor Porton ([email protected])
-
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]
  Powered by Linux