It looks as though those are there for architectures where someone has implemented spinlocks in assembler code. There are also generic routines written in C for everyone else. While it would be a bit of a performance enhancement to have one for Linux/390, it doesn't appear to be a requirement.
You might want to re-build Samba specifying -DDEBUG to turn on debugging, at least in the TDB code. It looks like they've got a number of messages that might get generated and tell you something more than you have right now. Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Daniel Jarboe Sent: Thursday, December 18, 2003 7:15 AM To: [EMAIL PROTECTED] Subject: Samba and tdb locking on s/390 I've been seeing a lot of tdb problems during our SuSE trial when it comes to Samba. Over time a tdb or two inevitably becomes corrupt, sometimes in just an hour or two. I ran tdbtorture, a tool that comes with the samba source, and got errors left and right. On intel, the tdbtorture suite just runs for a while and prints OK. Well, on s/390 immediately there are a plethora of messages like: tdb_brlock failed (fd=3) at offset 11752 rw_type=1 lck_type=13: Resource temporarily unavailable tdb_brlock failed (fd=3) at offset 11752 rw_type=1 lck_type=13: Resource temporarily unavailable tdb_brlock failed (fd=3) at offset 11752 rw_type=1 lck_type=13: Resource temporarily unavailable tdb_brlock failed (fd=3) at offset 11752 rw_type=1 lck_type=13: Resource temporarily unavailable tdb_brlock failed (fd=3) at offset 11752 rw_type=1 lck_type=13: Resource temporarily unavailable tdb_brlock failed (fd=3) at offset 11752 rw_type=1 lck_type=13: Resource temporarily unavailable tdb_brlock failed (fd=3) at offset 11752 rw_type=1 lck_type=13: Resource temporarily unavailable I looked in tdb/spinlock.c and saw a bunch of architecture-specific #ifdefs, but nothing S/390ish. Should there be one? ~ Daniel ----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
