head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.38 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.36 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.34 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.32 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.30 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.28 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.26 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.24 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.22 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.4 date 2005.12.15.21.28.47; author wennmach; state dead; branches; next 1.3; 1.3 date 2005.03.15.15.58.52; author wennmach; state Exp; branches; next 1.2; 1.2 date 2000.10.18.16.32.58; author wennmach; state dead; branches; next 1.1; 1.1 date 2000.08.22.15.08.45; author wennmach; state Exp; branches; next ; desc @@ 1.4 log @Update arla to 0.41. The update is necessary to support NetBSD-2.1 and NetBSD-3.0 and should fix the broken bulk build. Tested on NetBSD-2.0.2/i386 and NetBSD-2.1/i386. @ text @$NetBSD: patch-ao,v 1.3 2005/03/15 15:58:52 wennmach Exp $ Add missing lib. --- appl/afstool/Makefile.in.orig 2005-03-10 22:16:23.000000000 +0100 +++ appl/afstool/Makefile.in 2005-03-10 22:17:38.000000000 +0100 @@@@ -468,6 +468,7 @@@@ LDADD = ../lib/libarlalib.la \ ../../rxdef/librxdefclient.a \ + ../../rxdef/libkaclient.a \ ../../rxdef/librxcbclient.a \ ../../rxdef/librxcbserver.a \ ../../lib/ko/libko.la \ @ 1.3 log @Update arla to 0.38. The update is necessary to support NetBSD-2.0. The update during the pkgsrc freeze has been approved by . Two patches have been provided by . Tested on NetBSD-1.6.1/i386 and NetBSD-2.0/i386. Closes PR pkg/20906. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update arla to 0.34.5. This version of arla has improved BSD support, so that patches (patch-ao, patch-ap, patch-aq, and patch-ar) are no longer necessary. It has improved deadlock detection and many other bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.1 2000/08/22 15:08:45 wennmach Exp $ d3 1 a3 3 Deal with a potential deadlock situation, which may arise when writing back data from a vnode failed because the ticket expired in the meantime. From arla-current, thanks to Assar and Love. d5 3 a7 23 Index: xfs_vnodeops-common.c =================================================================== RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_vnodeops-common.c,v retrieving revision 1.58 diff -u -w -u -w -r1.58 xfs_vnodeops-common.c --- xfs/bsd/xfs_vnodeops-common.c 2000/08/02 00:58:09 1.58 +++ xfs/bsd/xfs_vnodeops-common.c 2000/08/17 00:30:23 @@@@ -260,8 +260,17 @@@@ return 0; } - if (xn->flags & XFS_DATA_DIRTY) + if (xn->flags & XFS_DATA_DIRTY) { +#ifdef FSYNC_RECLAIM + /* writing back the data from this vnode failed */ + if (waitfor & FSYNC_RECLAIM) { + printf("xfs_fsync: data lost, failed to write back\n"); + xn->flags &= ~XFS_DATA_DIRTY; + return 0; + } +#endif error = do_fsync(xfsp, xn, cred, proc, XFS_WRITE | XFS_FSYNC); + } d9 6 a14 14 return error; } @@@@ -907,8 +916,9 @@@@ /* xn->cred not set -> NOCRED */ error = xfs_fsync_common(vp, xn->cred, /* XXX */ 0, p); - if (error) - XFSDEB(XDEBVNOPS, ("xfs_inactive: fsync failed: %d\n", error)); + if (error) { + printf ("xfs_inactive: failed writing back data: %d\n", error); + } #ifndef __osf__ xfs_vfs_unlock(vp, p); @ 1.1 log @Added three patches to deal with a potential deadlock situation, which may arise when writing back data from a vnode failed because the ticket expired in the meantime. From arla-current, thanks to Assar Westerlund and Love. @ text @d1 1 a1 1 $NetBSD$ @