[parisc-linux] Re: [SOLVED + PATCH]: documented Oops running big-endian reiserfs on parisc architecture
Ralf Baechle
ralf@uni-koblenz.de
Mon, 3 Sep 2001 15:14:21 +0200
On Mon, Sep 03, 2001 at 02:08:43PM +0200, Ulrich Weigand wrote:
> >From what I recall when we were looking into reiserfs on S/390,
> the core problem was that reiserfs tried to do *atomic* operations
> on non-aligned words. This isn't supported by the hardware on
> S/390 (normal non-aligned accesses just work).
>
> I don't really see how this can be fixed in a trap handler; how
> would the handler guarantee atomicity?
Spinlocks. Now that'd so infinitly ugly that I'd rather fix Reiserfs.
It's another proof that reiserfs design was done without too much
consideration of portability so I speculate we'll continue to see such
bugs.
Ralf