Re: Tailmerging - dragons sighted

2000-09-13 Thread Daniel Phillips
Alexander Viro wrote: On Wed, 13 Sep 2000, Daniel Phillips wrote: Alexander Viro wrote: On Tue, 12 Sep 2000, Daniel Phillips wrote: There is a very heavy investment in generic_read/write/mmap - I don't want to throw that away. This is a mod to Ext2, and Ext2 uses these

Re: Tailmerging - dragons sighted

2000-09-13 Thread Alexander Viro
On Wed, 13 Sep 2000, Daniel Phillips wrote: "Juan J. Quintela" wrote: if everybody agrees, here is the patch against test8 using the second alternative. How about letting the world see it: -static void create_empty_buffers(struct page *page, struct inode *inode, unsigned long

Re: Tailmerging - dragons sighted

2000-09-13 Thread Chris Mason
Ok, here is my first attempt at reiserfs specific functions for this kind of thing. It includes a writepage that can update packed tails in place, and a reiserfs_truncate that locks the new tail page of the file during a truncate. This locked page is either used for packing a 4k block into a