[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH][ALPHA 3] ext2fs and large stores (> 1.5G)
From: |
Ognyan Kulev |
Subject: |
[PATCH][ALPHA 3] ext2fs and large stores (> 1.5G) |
Date: |
Mon, 21 Jul 2003 14:51:37 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2 |
The third alpha-quality patch that makes ext2fs able to use large stores
is available for testing. The major change since the previous alpha is
using Neal's suggestion[1] of leaving to Mach the decisions which pages
are paged out and when.
[1] http://mail.gnu.org/archive/html/bug-hurd/2003-05/msg00024.html
USING
-----
Download the patch from http://debian.fmi.uni-sofia.bg/~ogi/hurd/ext3fs/
, apply to Hurd source tree and compile with something like "make
ext2fs". It's important to use ext2fs.static instead of ext2fs because
libpager ABI is changed so new ext2fs won't work with old libpager.
RELIABILITY
-----------
I put a great effort (and time) to assure that there will be no problems
with Alpha 3. Unfortunately, I still can't claim that. Data corruption
seems to be gone, but there are some strange hangs after an hour of
compiling glibc (on P4 1.6G) that I cannot look closely. For example,
the compilation is working in screen program window, but keyboard
doesn't respond, even Alt-F2 doesn't work (console server is running).
I connect to telnetd, do "ps ax", and after some printed lines, the
machine reboots... If you don't push the ext2fs server too much, there
is a chance you won't have problems.
LIBPAGER
--------
Leaving decisions which pages are evicted to Mach requires changes in
libpager. I've done some changes that work for me, but I don't claim
they are the best. Anyone interested, especially core developers, is
invited to discuss polishing this interface. This includes the changes
in libpager/data-{request,return}.c. In particular, I'm not certain if
handling PAGEINWAIT case is entirely correct.
E2FSPROGS
---------
e2fsprogs uses Unix API to work with partitions/images. Unfortunately,
we have a limit of 2G for files, so I've made an ugly patch for
e2fsprogs that uses libstore in e2fsck as "Hurd IO manager". Probably
when the patch is polished, I'll send it upstream.
Enjoy
--
Ognyan Kulev <ogi@{fmi.uni-sofia.bg,fsa-bg.org}>
7D9F 66E6 68B7 A62B 0FCF EB04 80BF 3A8C A252 9782
- [PATCH][ALPHA 3] ext2fs and large stores (> 1.5G),
Ognyan Kulev <=