|
Re: v3 experimental data=ordered and logging speedups for 2.6.1: msg#00153file-systems.reiserfs.general
Am Montag, 19. Januar 2004 17:45 schrieb Chris Mason: > Hello everyone, > > I've got most of data=ordered finished, there are a few paths like > writepage and O_DIRECT that need tweaking. Thanks to Oleg's file_write > work in 2.6.x, the data=journal patch is much cleaner than 2.4, it is > almost done but not included in the bunch of patches I just uploaded to > ftp.suse.com. Oleg is cc'd in case he wants to look over the changes to > reiserfs_file_write in reiserfs-jh-2. > > The code has survived a weekend of moderate load, but you still want it > very far away from production servers. I'm headed off to linux world in > NYC for the rest of the week, and I wanted to post this for review and > the few brave souls out there who might want to give it a try. > > ftp.suse.com/pub/people/mason/patches/data-logging/experimental/2.6.1 > > The README: > > Experimental reiserfs data=ordered and logging speedups against 2.6.1 Success. I applied them against the SuSE 9.0 2.6.1-0 kernel from Gerd. > Apply these in order: > > 01-reiserfs-journal-writer > removes old stale debugging code, very safe > > 02-reiserfs-nesting > Adds support for nested transactions in reiserfs, needed for the quota > code, and ported from 2.4.x by Jeff Mahoney > > 03-reiserfs-iosize > Changes reiserfs to tell userspace the default io size is 4k. Works around > a bug in bdb hit by rpm users 02 and 03 where already applied. So NOT need, here. > 04-reiserfs-balance_dirty > Changes reiserfs_file_write to throttle writers the way the rest of linux > does. This patch has already been sent for inclusion, it should get in > soon Goes in clean. > 05-reiserfs-logging > Logging speedups for small transactions and fsync heavy applications. Most > experimental patch of the bunch, since it changes the way the log does > metadata writeback > > 06-reiserfs-jh-2 > Adds data=ordered support, along with a journal header attached to > the buffer head. This allows for more efficient data=ordered support > than I had in 2.4.x. 05 and 06 needed some handwork 'cause the SuSE kernel inclues xattrs and posix acl's but nothing special. An EXPORT was missing in linux/fs/buffer.c to compile ReiserFS 3.x.x as modul (inode.c, unresolved symbol): [-] int try_to_release_page(struct page *page, int gfp_mask) { struct address_space * const mapping = page->mapping; if (!PageLocked(page)) BUG(); if (PageWriteback(page)) return 0; if (mapping && mapping->a_ops->releasepage) return mapping->a_ops->releasepage(page, gfp_mask); return try_to_free_buffers(page); } EXPORT_SYMBOL(try_to_release_page); [-] Up and running. Greetings, Dieter BTW Gerd "released" 2.6.1-1 already... -- Dieter Nützel @home: <Dieter.Nuetzel () hamburg ! de> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Snapshot against 2.6.1 released.: 00153, Nikita Danilov |
|---|---|
| Next by Date: | Re: v3 experimental data=ordered and logging speedups for 2.6.1: 00153, Mike Fedyk |
| Previous by Thread: | v3 experimental data=ordered and logging speedups for 2.6.1i: 00153, Chris Mason |
| Next by Thread: | Re: v3 experimental data=ordered and logging speedups for 2.6.1: 00153, Mike Fedyk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |