Re: Tailmerging for Ext2

2000-07-26 Thread Daniel Phillips
On Wed, 26 Jul 2000, Alexander Viro wrote: On Wed, 26 Jul 2000, Daniel Phillips wrote: Stephen asked me some sharp questions about how this would work, and after I answered them to his satisfaction he asked me if I would have time to implement this feature. I said yes, and went

Re: Tailmerging for Ext2

2000-07-27 Thread Daniel Phillips
Alexander Viro wrote: On Wed, 26 Jul 2000, Stephen C. Tweedie wrote: On Wed, Jul 26, 2000 at 03:19:46PM -0400, Alexander Viro wrote: Erm? Consider that: huge lseek() + write past the end of file. Woops - got to unmerge the tail (it's an internal block now) and we've got no knowledge

Questions about the buffer+page cache in 2.4.0

2000-07-27 Thread Daniel Phillips
After spending *far* too long getting lxr installed and working, I finally have my favorite source browser working in the same place I email from :-) Meaning that the next time I get hit with a tough question I'll be able to respond having to go home and browsing the source first. BTW, lxr is a

Re: Tailmerging for Ext2

2000-07-28 Thread Daniel Phillips
Alexander Viro wrote: On Wed, 26 Jul 2000, Stephen C. Tweedie wrote: For tail writes, I'd imagine we would just end up using the page cache as a virtual cache as NFS uses it, and doing plain copy into the buffer cache pages. Ouch. I _really_ don't like it - we end up with special

Re: Questions about the buffer+page cache in 2.4.0

2000-07-29 Thread Daniel Phillips
Daniel Phillips wrote: So now it's time to start asking questions. I've been partway through lxr'ing the 2.4.0 VFS now, and all I can say is wow! This really is a big improvement over 2.2. Please treat all of the rest of this post as speculation: I'm not sure how accurate any

Re: Questions about the buffer+page cache in 2.4.0

2000-07-31 Thread Daniel Phillips
Chris Mason wrote: On 7/30/00, 7:14:16 AM, Daniel Phillips [EMAIL PROTECTED] wrote regarding Re: Questions about the buffer+page cache in 2.4.0: After digging a little deeper I can see that using the read actor won't work because the read actor doesn't take the inode, or anything

Re: Mirroring the list archives

2000-07-31 Thread Daniel Phillips
"Bill Rugolsky Jr." wrote: In an effort to document some of the changes that have gone into 2.4 (particularly the VFS/MM changes), I'd like to mirror the entire linux-fsdevel, linux-mm, and linux-kernel archives going back at least to the start of 2.3.x. Speaking of documenting, I saw

Re: Tailmerging - detailed design

2000-08-02 Thread Daniel Phillips
It should have read: additions to read full page: (within the per-buffer read) is the file tailmerged? if so, does this part map the tail block? if so, get the tail block and copy the tail to the page additions to write full page: (within the per-buffer write) is the

Re: Tailmerging - detailed design (was: Questions...)

2000-08-02 Thread Daniel Phillips
On Tue, 01 Aug 2000, Andreas Dilger wrote: You never mention what happens when a file doesn't have a tail yet, but then gets one... Every file has a tail, unless it is exactly some number of blocks long. The tail is the part at the end that doesn't fill a block completely. In my

Re: Tailmerging - detailed design (was: Questions...)

2000-08-02 Thread Daniel Phillips
On Tue, 01 Aug 2000, Chris Mason wrote: On 8/1/00, 2:45:11 PM, Daniel Phillips [EMAIL PROTECTED] writing past tail? if so, unmerge tail block generic file write additions to write full page: (within the per-buffer write) is the file tailmerged? if so, does

Tailmerging - more details

2000-08-09 Thread Daniel Phillips
guess I know what the next two installments in the Documenting series will be about. D: Daniel Phillips A: Alexander Viro S: Stephen Tweedie  D Stephen asked me some sharp questions about how this would work, D and after I answered them to his satisfaction he asked me if I D would have time to imple

Re: Tailmerging - more details

2000-08-10 Thread Daniel Phillips
back to the list... It's called 'trolling for more feedback'. I'm also trying to be a little bit didactic about the design process for the benefit of list lurkers. :-) On 8/9/00, 4:55:13 PM, Daniel Phillips [EMAIL PROTECTED] In Ext2 when you unmerge you also have to drill down