Nicolas Lehuen wrote:
Anyway, implementing
FS2 instead of FS is not that difficult, and if it yields predictable
results even on ext3, then we should go for it.
Already done - it's just a couple of extra lines. Doing some testing today.
Are you replacing FS with FS2 or adding a new implementation ? I think
replacing is better, since I can't see any drawback to the FS2
approach.
You could say replacing, but I prefer to think of it as bug fixing. The
changes for do_save() and do_load() look like this:
- filename = os.path.join(self._sessdir, 'mp_sess_%s' % self._sid)
+ path = os.path.join(self._sessdir, self._sid[0:2])
+ filename = os.path.join(path, self._sid)
Regards,
Jim