[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

old pfinet and hacked ext2fs to avoid zero hole bug



Hi,

An old pfinet that doesn't has the bugs the new one has. It comes directly
from the 19991025 tar file:

http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/pfinet.gz

An ext2fs that probably doesn't show the zero hole bug (the patch I used is
included below). This is only a crude hack to avoid the sync race. I am not
sure it works around the full problem either.

http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ext2fs.static.wait-sync.gz

Those should be on alpha.gnu.org, but I lost write permission to it and have
to wait for the system hackers at gnu.org to resolve this.

Thanks,
Marcus

Work around: I set the wait flag on diskfs_sync_everything
in sync_interval.c (periodic_sync):

              if (_diskfs_diskdirty)
                {
-                 diskfs_sync_everything (0);
+                 diskfs_sync_everything (1);
                  diskfs_set_hypermetadata (0, 0);
                }

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de,     marcus@gnu.org    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       brinkmd@debian.org



Reply to: