Re: Soft-Updates for Linux ?

2000-10-04 Thread David Woodhouse
[EMAIL PROTECTED] said: > Unless someone fixed it recently, when jffs was ported to 2.4, it > lost the ability to run on block devices and can currently only > operate via the mtd layer. In the 2.0.x kernels, it could target block > devices. > For things like disk-on-module (ide flash disks)

Re: Soft-Updates for Linux ?

2000-10-03 Thread Stephen C. Tweedie
Hi, On Mon, Oct 02, 2000 at 03:13:07AM +0200, Daniel Phillips wrote: > What I've seen proposed is a mechanism where the VM can say 'flush this > page' to a filesystem and the filesystem can then go ahead and do what > it wants, including flushing the page, flushing some other page, or not >

Re: Soft-Updates for Linux ?

2000-10-03 Thread Stephen C. Tweedie
Hi, On Mon, Oct 02, 2000 at 03:13:07AM +0200, Daniel Phillips wrote: What I've seen proposed is a mechanism where the VM can say 'flush this page' to a filesystem and the filesystem can then go ahead and do what it wants, including flushing the page, flushing some other page, or not doing

Re: Soft-Updates for Linux ?

2000-10-02 Thread Robert Redelmeier
Andreas Dilger wrote in part: > > Albert Cahalan write: > > The nice way to develop this code is with a block device that > > discards all writes after a timer goes off. This is nice, but a bit destructive for my likes. Hard and long to do multiple tests. Also, it misses one severe case: an

Re: Soft-Updates for Linux ?

2000-10-02 Thread Daniel Phillips
Ralf Baechle wrote: > > On Sun, Oct 01, 2000 at 10:21:34AM -0500, Robert Redelmeier wrote: > > You boys and girls don't try this at home on Linux! The ext2 fsck is horrible > > after a powerfail, and I've lost superblocks and had to re-install :( . > > There is actually some indication that

Re: Soft-Updates for Linux ?

2000-10-02 Thread Ralf Baechle
On Sun, Oct 01, 2000 at 10:21:34AM -0500, Robert Redelmeier wrote: > As an experiment, I pulled the plug towards the end of 5 FreeBSD kernel > compiles (SMP `make -j4`). In all cases, the fsck upon restart was minor, > just freeing inodes. In four of the cases, `make` just picked up where >

Re: Soft-Updates for Linux ?

2000-10-02 Thread Andreas Dilger
Albert Cahalan write: > Robert Redelmeier writes: > > Daniel Phillips wrote in part: > > >> One thing to keep in mind in all of this is: nobody is testing the > >> reliability of their journalling or any other kind of filesystem just by > >> running it. To test these things you have to

Re: Soft-Updates for Linux ?

2000-10-02 Thread Daniel Phillips
Andi Kleen wrote: > > On Mon, Oct 02, 2000 at 03:33:54PM +0200, Daniel Phillips wrote: > > The tricky part of the crash simulator would be recovering the resources > > the filesystem was using and convincing the VFS to let go of the the > > partition. If you could return the system to a stable

Re: Soft-Updates for Linux ?

2000-10-02 Thread Andi Kleen
On Mon, Oct 02, 2000 at 03:33:54PM +0200, Daniel Phillips wrote: > The tricky part of the crash simulator would be recovering the resources > the filesystem was using and convincing the VFS to let go of the the > partition. If you could return the system to a stable state you could > do many,

Re: Soft-Updates for Linux ?

2000-10-02 Thread Daniel Phillips
"Albert D. Cahalan" wrote: > > Robert Redelmeier writes: > > Daniel Phillips wrote in part: > > >> One thing to keep in mind in all of this is: nobody is testing the > >> reliability of their journalling or any other kind of filesystem just by > >> running it. To test these things you have to

Re: Soft-Updates for Linux ?

2000-10-02 Thread Daniel Phillips
"Albert D. Cahalan" wrote: Robert Redelmeier writes: Daniel Phillips wrote in part: One thing to keep in mind in all of this is: nobody is testing the reliability of their journalling or any other kind of filesystem just by running it. To test these things you have to

Re: Soft-Updates for Linux ?

2000-10-02 Thread Andi Kleen
On Mon, Oct 02, 2000 at 03:33:54PM +0200, Daniel Phillips wrote: The tricky part of the crash simulator would be recovering the resources the filesystem was using and convincing the VFS to let go of the the partition. If you could return the system to a stable state you could do many, many

Re: Soft-Updates for Linux ?

2000-10-02 Thread Daniel Phillips
Andi Kleen wrote: On Mon, Oct 02, 2000 at 03:33:54PM +0200, Daniel Phillips wrote: The tricky part of the crash simulator would be recovering the resources the filesystem was using and convincing the VFS to let go of the the partition. If you could return the system to a stable state

Re: Soft-Updates for Linux ?

2000-10-02 Thread Andreas Dilger
Albert Cahalan write: Robert Redelmeier writes: Daniel Phillips wrote in part: One thing to keep in mind in all of this is: nobody is testing the reliability of their journalling or any other kind of filesystem just by running it. To test these things you have to crash/interrupt the

Re: Soft-Updates for Linux ?

2000-10-02 Thread Daniel Phillips
Ralf Baechle wrote: On Sun, Oct 01, 2000 at 10:21:34AM -0500, Robert Redelmeier wrote: You boys and girls don't try this at home on Linux! The ext2 fsck is horrible after a powerfail, and I've lost superblocks and had to re-install :( . There is actually some indication that part of the

Re: Soft-Updates for Linux ?

2000-10-02 Thread Robert Redelmeier
Andreas Dilger wrote in part: Albert Cahalan write: The nice way to develop this code is with a block device that discards all writes after a timer goes off. This is nice, but a bit destructive for my likes. Hard and long to do multiple tests. Also, it misses one severe case: an inode

Re: Soft-Updates for Linux ?

2000-10-01 Thread Albert D. Cahalan
Robert Redelmeier writes: > Daniel Phillips wrote in part: >> One thing to keep in mind in all of this is: nobody is testing the >> reliability of their journalling or any other kind of filesystem just by >> running it. To test these things you have to crash/interrupt the system >> *a lot*.

Re: Soft-Updates for Linux ?

2000-10-01 Thread Robert Redelmeier
Daniel Phillips wrote in part: > > To be fair, when Soft Updates is working perfectly you will move from a > situation where you are constantly at risk of catstrophic filesystem > damage to one where you will just be losing track of some free blocks, > have some file lengths wrong, and some

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Rik van Riel wrote: > > On Mon, 2 Oct 2000, Daniel Phillips wrote: > > Rik van Riel wrote: > > > > > > Local mechanisms simply CANNOT make page replacement work > > > well on a system-wide level. > > > > I think you mean 'local mechanisms alone'. The question is not > > *whether* the subsystems

Re: Soft-Updates for Linux ?

2000-10-01 Thread Rik van Riel
On Mon, 2 Oct 2000, Daniel Phillips wrote: > Rik van Riel wrote: > > > > Local mechanisms simply CANNOT make page replacement work > > well on a system-wide level. > > I think you mean 'local mechanisms alone'. The question is not > *whether* the subsystems will work together, but *how*. Now

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Rik van Riel wrote: > > Local mechanisms simply CANNOT make page replacement work > well on a system-wide level. I think you mean 'local mechanisms alone'. The question is not *whether* the subsystems will work together, but *how*. I have a nagging feeling we can do a little better than the

Re: Soft-Updates for Linux ?

2000-10-01 Thread Rik van Riel
On Mon, 2 Oct 2000, Daniel Phillips wrote: > Rik van Riel wrote: > > On Sun, 1 Oct 2000, bert hubert wrote: > > > > > > If Rik gets some kind of memory pressure callback API in the > > > kernel, there is no theoretical reasons why the journalling > > > filesystems couldn't be merged safely. > >

Re: Soft-Updates for Linux ?

2000-10-01 Thread Rik van Riel
On Sun, 1 Oct 2000, bert hubert wrote: > On Sun, Oct 01, 2000 at 03:39:51PM +, Christoph Hellwig wrote: > > Robert Redelmeier <[EMAIL PROTECTED]> wrote: > > > I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" > > > to Linux

Re: Soft-Updates for Linux ?

2000-10-01 Thread Alexander Viro
On Sun, 1 Oct 2000, Alan Cox wrote: > > I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" > > to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). > > I could only find some noncomittal postings on LKML from

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Robert Redelmeier wrote: > I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" > to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). > I could only find some noncomittal postings on LKML from 1997. > > S-U brings consider

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Billy Harvey wrote: > > [EMAIL PROTECTED]: > > I think everyone is planning to go the whole way - that is to use full > > journalled file systems - reiserfs, ext3, xfs, jffs, ibm jfs, .. whatever > > Is tux2 looking like a built-in possibility soon? Gack, no. I hope to give it to myself as

Re: Soft-Updates for Linux ?

2000-10-01 Thread Erik Andersen
On Sun Oct 01, 2000 at 04:54:05PM +0100, Alan Cox wrote: > > What of those journalled file systems are more prominent to success 2.5. > > jffs is in 2.4 (but its a log structured fs for flash memory not generic) > ext3 and reiserfs are both being used in production boxes as add ons Unless

Re: RE: Soft-Updates for Linux ?

2000-10-01 Thread Lars Marowsky-Bree
On 2000-10-01T11:50:10, Ernesto Vargas <[EMAIL PROTECTED]> said: > What of those journalled file systems are more prominent to success 2.5. ext3 is stable on my laptop. reiserfs is stable at SuSE on a 250 GB RAID with 2.2 million files. XFS has IMHO the best chance to surpass both in

Re: Soft-Updates for Linux ?

2000-10-01 Thread Alan Cox
> What of those journalled file systems are more prominent to success 2.5. jffs is in 2.4 (but its a log structured fs for flash memory not generic) ext3 and reiserfs are both being used in production boxes as add ons Alan - To unsubscribe from this list: send the line "unsubscribe

RE: Soft-Updates for Linux ?

2000-10-01 Thread Ernesto Vargas
What of those journalled file systems are more prominent to success 2.5. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Cox Sent: Sunday, October 01, 2000 11:28 AM To: Robert Redelmeier Cc: [EMAIL PROTECTED] Subject: Re: Soft-Updates for Linux

Re: Soft-Updates for Linux ?

2000-10-01 Thread bert hubert
On Sun, Oct 01, 2000 at 03:39:51PM +, Christoph Hellwig wrote: > Robert Redelmeier <[EMAIL PROTECTED]> wrote: > > I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" > > to Linux in 2.5 ??? Kirk has recently modified his licence (fri

Re: Soft-Updates for Linux ?

2000-10-01 Thread Christoph Hellwig
Robert Redelmeier <[EMAIL PROTECTED]> wrote: > I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" > to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). > I could only find some noncomittal postings on LKML from 1997.

Re: Soft-Updates for Linux ?

2000-10-01 Thread Billy Harvey
[EMAIL PROTECTED]: > I think everyone is planning to go the whole way - that is to use full > journalled file systems - reiserfs, ext3, xfs, jffs, ibm jfs, .. whatever Is tux2 looking like a built-in possibility soon? Billy - To unsubscribe from this list: send the line "unsubscribe

Re: Soft-Updates for Linux ?

2000-10-01 Thread Alan Cox
> I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" > to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). > I could only find some noncomittal postings on LKML from 1997. I think everyone is planning to go the whole way -

Soft-Updates for Linux ?

2000-10-01 Thread Robert Redelmeier
I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). I could only find some noncomittal postings on LKML from 1997. S-U brings considerable benefits akin to JFS for crash protection to *BS

Soft-Updates for Linux ?

2000-10-01 Thread Robert Redelmeier
I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). I could only find some noncomittal postings on LKML from 1997. S-U brings considerable benefits akin to JFS for crash protection to *BS

Re: Soft-Updates for Linux ?

2000-10-01 Thread Alan Cox
I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). I could only find some noncomittal postings on LKML from 1997. I think everyone is planning to go the whole way - that is t

Re: Soft-Updates for Linux ?

2000-10-01 Thread Billy Harvey
[EMAIL PROTECTED]: I think everyone is planning to go the whole way - that is to use full journalled file systems - reiserfs, ext3, xfs, jffs, ibm jfs, .. whatever Is tux2 looking like a built-in possibility soon? Billy - To unsubscribe from this list: send the line "unsubscribe

Re: Soft-Updates for Linux ?

2000-10-01 Thread Christoph Hellwig
Robert Redelmeier [EMAIL PROTECTED] wrote: I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). I could only find some noncomittal postings on LKML from 1997. I doubt. Ther

Re: Soft-Updates for Linux ?

2000-10-01 Thread bert hubert
On Sun, Oct 01, 2000 at 03:39:51PM +, Christoph Hellwig wrote: Robert Redelmeier [EMAIL PROTECTED] wrote: I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). I could only

RE: Soft-Updates for Linux ?

2000-10-01 Thread Ernesto Vargas
What of those journalled file systems are more prominent to success 2.5. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Cox Sent: Sunday, October 01, 2000 11:28 AM To: Robert Redelmeier Cc: [EMAIL PROTECTED] Subject: Re: Soft-Updates for Linux

Re: Soft-Updates for Linux ?

2000-10-01 Thread Alan Cox
What of those journalled file systems are more prominent to success 2.5. jffs is in 2.4 (but its a log structured fs for flash memory not generic) ext3 and reiserfs are both being used in production boxes as add ons Alan - To unsubscribe from this list: send the line "unsubscribe

Re: RE: Soft-Updates for Linux ?

2000-10-01 Thread Lars Marowsky-Bree
On 2000-10-01T11:50:10, Ernesto Vargas [EMAIL PROTECTED] said: What of those journalled file systems are more prominent to success 2.5. ext3 is stable on my laptop. reiserfs is stable at SuSE on a 250 GB RAID with 2.2 million files. XFS has IMHO the best chance to surpass both in server

Re: Soft-Updates for Linux ?

2000-10-01 Thread Erik Andersen
On Sun Oct 01, 2000 at 04:54:05PM +0100, Alan Cox wrote: What of those journalled file systems are more prominent to success 2.5. jffs is in 2.4 (but its a log structured fs for flash memory not generic) ext3 and reiserfs are both being used in production boxes as add ons Unless someone

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Billy Harvey wrote: [EMAIL PROTECTED]: I think everyone is planning to go the whole way - that is to use full journalled file systems - reiserfs, ext3, xfs, jffs, ibm jfs, .. whatever Is tux2 looking like a built-in possibility soon? Gack, no. I hope to give it to myself as a

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Robert Redelmeier wrote: I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). I could only find some noncomittal postings on LKML from 1997. S-U brings considerable benefits a

Re: Soft-Updates for Linux ?

2000-10-01 Thread Alexander Viro
On Sun, 1 Oct 2000, Alan Cox wrote: I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified his licence (friendlier). I could only find some noncomittal postings on LKML from 1997. I think everyone is plan

Re: Soft-Updates for Linux ?

2000-10-01 Thread Rik van Riel
On Sun, 1 Oct 2000, bert hubert wrote: On Sun, Oct 01, 2000 at 03:39:51PM +, Christoph Hellwig wrote: Robert Redelmeier [EMAIL PROTECTED] wrote: I'm wondering if there are any plans to bring Kirk McKusick's "Soft-Updates" to Linux in 2.5 ??? Kirk has recently modified h

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Rik van Riel wrote: Local mechanisms simply CANNOT make page replacement work well on a system-wide level. I think you mean 'local mechanisms alone'. The question is not *whether* the subsystems will work together, but *how*. I have a nagging feeling we can do a little better than the

Re: Soft-Updates for Linux ?

2000-10-01 Thread Daniel Phillips
Rik van Riel wrote: On Mon, 2 Oct 2000, Daniel Phillips wrote: Rik van Riel wrote: Local mechanisms simply CANNOT make page replacement work well on a system-wide level. I think you mean 'local mechanisms alone'. The question is not *whether* the subsystems will work

Re: Soft-Updates for Linux ?

2000-10-01 Thread Robert Redelmeier
Daniel Phillips wrote in part: To be fair, when Soft Updates is working perfectly you will move from a situation where you are constantly at risk of catstrophic filesystem damage to one where you will just be losing track of some free blocks, have some file lengths wrong, and some partly