* MTD for buffered IO @ 2006-02-13 9:08 Victor Porton,,, 2006-02-13 13:39 ` Josh Boyer 0 siblings, 1 reply; 4+ messages in thread From: Victor Porton,,, @ 2006-02-13 9:08 UTC (permalink / raw) To: linux-kernel I suggest to add kernel configuration/option to allow to use an MTD device as a continuation of I/O buffers (for HDD). 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MTD for buffered IO 2006-02-13 9:08 MTD for buffered IO Victor Porton,,, @ 2006-02-13 13:39 ` Josh Boyer 0 siblings, 0 replies; 4+ messages in thread From: Josh Boyer @ 2006-02-13 13:39 UTC (permalink / raw) To: Victor Porton,,,; +Cc: linux-kernel On 2/13/06, Victor Porton,,, <porton@ex-code.com> wrote: > I suggest to add kernel configuration/option to allow to use > an MTD device as a continuation of I/O buffers (for HDD). > > 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. I'm not quite sure what you mean here, but suggestions in the form of patches go a lot further than just an email. josh ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5FIFF-2PL-39@gated-at.bofh.it>]
[parent not found: <E1F8dq8-0000oW-N2@be1.lrz>]
* Re: MTD for buffered IO [not found] ` <E1F8dq8-0000oW-N2@be1.lrz> @ 2006-02-13 22:59 ` "Портон Виктор Львович" 2006-02-17 11:53 ` Bodo Eggert 0 siblings, 1 reply; 4+ messages in thread From: "Портон Виктор Львович" @ 2006-02-13 22:59 UTC (permalink / raw) To: 7eggert; +Cc: linux-kernel > Victor Porton,,, <porton@ex-code.com> 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 (porton@ex-code.com) ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MTD for buffered IO 2006-02-13 22:59 ` "Портон Виктор Львович" @ 2006-02-17 11:53 ` Bodo Eggert 0 siblings, 0 replies; 4+ messages in thread From: Bodo Eggert @ 2006-02-17 11:53 UTC (permalink / raw) To: "Портон Виктор Львович" Cc: 7eggert, linux-kernel On Tue, 14 Feb 2006, "?????? ?????? ???????" wrote: > > > > Victor Porton,,, <porton@ex-code.com> 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-17 11:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-13 9:08 MTD for buffered IO Victor Porton,,,
2006-02-13 13:39 ` Josh Boyer
[not found] <5FIFF-2PL-39@gated-at.bofh.it>
[not found] ` <E1F8dq8-0000oW-N2@be1.lrz>
2006-02-13 22:59 ` "Портон Виктор Львович"
2006-02-17 11:53 ` Bodo Eggert
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®