The NetBSD Project

CVS log for src/sys/ufs/ufs/Attic/ufs_wapbl.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / ufs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24.14.2, Tue Apr 21 18:42:46 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.24.14.1: +2 -2 lines
FILE REMOVED

Sync with HEAD

Revision 1.25.6.1, Mon Apr 20 11:29:14 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.25: +2 -2 lines
FILE REMOVED

Sync with HEAD

Revision 1.26, Sat Apr 11 17:43:54 2020 UTC (4 years ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-futex-base, phil-wifi-20200421, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.25: +2 -2 lines
FILE REMOVED

remove noncompilable WAPBL_DEBUG_INODES

PR kern/49554 by Thomas Klausner

Revision 1.24.14.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:04 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.24: +11 -11 lines
Diff to previous 1.24 (colored) to selected 1.2 (colored)

Merge changes from current as of 20200406

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 22 19:47:35 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.24: +11 -11 lines
Diff to previous 1.24 (colored) to selected 1.2 (colored)

Make mntvnode_lock per-mount, and address false sharing of struct mount.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:22 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.2 (colored)

update from HEAD

Revision 1.23.24.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:17 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.2 (colored)

Sync with HEAD

Revision 1.23.32.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:09 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.2 (colored)

Sync with HEAD

Revision 1.23.28.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:54 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.2 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 1 10:42:45 2017 UTC (7 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1
Branch point for: phil-wifi
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) to selected 1.2 (colored)

Remove now redundant calls to fstrans_start()/fstrans_done().

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Sat May 19 17:28:29 2012 UTC (11 years, 11 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.2.8.1: +2 -612 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.2 (colored)

Apply patch (requested by buhrow in ticket #1759):


sys/ufs/lfs/lfs_vnops.c				patch
sys/ufs/ufs/inode.h 				patch
sys/ufs/ufs/ufs_extern.h			patch
sys/ufs/ufs/ufs_lookup.c			patch
sys/ufs/ufs/ufs_vnops.c				patch
sys/ufs/ufs/ufs_wapbl.c				patch

	Port dholland's ufs_rename locking changes to netbsd-5.
	[buhrow, ticket #1759]

        Hello.  More testing has revealed a minor misunderstanding between the
vnode API in -current and 5.x.  The below patch, against NetBSD-5.1
sources, rolls all the accumulated patches into one patch set.  With this
patch, I believe you can now run with WAPBL, softdep or traditional ufs
semantics with heavy file loads and avoid panics due to resource exhaustion
and/or tstile deadlocks.  Testing has been done on I386, both uniprocessor
and multiprocessor, and on Sparc  machines in uniprocessor mode, though I
think multiprocessor Sparc would be fine as well.  Since these changes are
machine independent, I don't anticipate any issues on any platform.  It is
my hope that modulo any final issues that come up in the final round of
testing I'm currently performing, these patches will be ready to be pulled
up into the NetBSD-5 branch.
        Finally, I'd like to thank mouse@ and hannken@ for their help and
patience in helping me track down and test the final versions of these
patches.  With their assistance, I'm confident these patches make NetBSD-5
a much more stable and robust operating environment in a variety of
setings.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:57 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.2 (colored)

sync with head

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:57 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.2 (colored)

merge to -current.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 27 19:22:50 2012 UTC (12 years, 2 months ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, bouyer-socketcan-base, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb, bouyer-socketcan
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored) to selected 1.2 (colored)

converting readdir in ffs ext2fs from malloc(9) to kmem(9)
while there allocate ufs mount structs from kmem(9) too
preceding kmem-vmem-pool-patch

releng@ acknowledged

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 18 06:46:05 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.21: +2 -10 lines
Diff to previous 1.21 (colored) to selected 1.2 (colored)

Remove some unneeded rename-related static const data.
(Why didn't gcc warn that this was unused?)

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 18 06:45:28 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.20: +2 -868 lines
Diff to previous 1.20 (colored) to selected 1.2 (colored)

Move ufs_wapbl_rename to ufs_vnops.c next to the old ufs_rename.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 18 01:14:27 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.19: +40 -41 lines
Diff to previous 1.19 (colored) to selected 1.2 (colored)

More rename tidying.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 18 01:14:04 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.18: +42 -117 lines
Diff to previous 1.18 (colored) to selected 1.2 (colored)

In ufs_wapbl_rename, remove #if 0 blocks and remove code for
now-impossible cases.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 17 22:14:47 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.17: +8 -4 lines
Diff to previous 1.17 (colored) to selected 1.2 (colored)

minor amendment to previous

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 17 22:07:59 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.16: +354 -39 lines
Diff to previous 1.16 (colored) to selected 1.2 (colored)

Provide correct locking for ufs_wapbl_rename. Note that this does not
fix the non-wapbl rename; that will be coming soon. This patch also
leaves a lot of the older locking-related code around in #if 0 blocks,
and there's a lot of leftover redundant logic. All that will be going
away later.

Relates to at least these PRs:

  PR kern/24887
  PR kern/41417
  PR kern/42093
  PR kern/43626

and possibly others.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jul 14 16:27:43 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.15: +109 -68 lines
Diff to previous 1.15 (colored) to selected 1.2 (colored)

Clean up handling of ufs_lookup_results in rename.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 12 16:59:49 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.14: +13 -7 lines
Diff to previous 1.14 (colored) to selected 1.2 (colored)

Pass the ufs_lookup_results pointer around instead of fetching it from
the inode in the guts of ufs. Now, in VOPs where i_crap is used it is
used (directly) only immediately on entry to the VOP call and then
passed around by reference.

Except for rename, which needs explicit sorting out. The code in
ufs_wapbl_rename is unchanged in behavior but I'm increasingly
inclined to think it's wrong.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 12 02:22:14 2011 UTC (12 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.13: +43 -50 lines
Diff to previous 1.13 (colored) to selected 1.2 (colored)

Currently, ufs_lookup produces five auxiliary results that are left in
the vnode when lookup returns and fished out again later.

1. Create struct ufs_lookup_results to hold these.

2. Call the ufs_lookup_results instance in struct inode "i_crap" to be
clear about exactly what's going on, and to distinguish the lookup
results from respectable members of struct inode.

3. Update references to these members in the directory access
subroutines.

4. Include preliminary infrastructure for checking that the i_crap
being used is still valid when it's used. This doesn't actually do
anything yet.

5. Update the way ufs_wapbl_rename manipulates these elements to use
the new data structures. I have not changed the manipulation; it may
or may not be correct but I continue to suspect that it is not.

The word of the day is "stigmergy".

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:19 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.12: +29 -47 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:13 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.8.2.3: +27 -45 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.2 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 23 22:02:26 2011 UTC (12 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.12: +29 -47 lines
Diff to previous 1.12 (colored) to selected 1.2 (colored)

ufs_wapbl_verify_inodes: update to reality (if somebody decides to use this).

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:34 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.8.2.2: +7 -13 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) to selected 1.2 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 2 05:09:32 2011 UTC (13 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.11: +7 -8 lines
Diff to previous 1.11 (colored) to selected 1.2 (colored)

Remove the special refcount behavior (adding an extra reference to the
parent dir) associated with SAVESTART in relookup().

Check all call sites to make sure that SAVESTART wasn't set while
calling relookup(); if it was, adjust the refcount behavior. Remove
related references to SAVESTART.

The only code that was reaching the extra ref was msdosfs_rename,
where the refcount behavior was already fairly broken and/or gross;
repair it.

Add a dummy 4th argument to relookup to make sure code that hasn't
been inspected won't compile. (This will go away next time the
relookup semantics change, which they will.)

Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:06 2010 UTC (13 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.10: +2 -7 lines
Diff to previous 1.10 (colored) to selected 1.2 (colored)

Abolish the SAVENAME and HASBUF flags. There is now always a buffer,
so the path in a struct componentname is now always valid during VOP
calls.

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:14 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.7.4.1: +8 -4 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:15 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.7.2.3: +10 -6 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.2 (colored)

sync with head.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:06 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.8.2.1: +6 -6 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) to selected 1.2 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:20 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored) to selected 1.2 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:09 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored) to selected 1.2 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 25 11:02:07 2010 UTC (13 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored) to selected 1.2 (colored)

Add a comment describing an observed boom-crash-burn problem in
the code.  Fixing it will require a full tank of gas, half a pack
of cigarettes, sunglasses, darkness, and most importantly:
someone else.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:37 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.7: +2 -7 lines
Diff to previous 1.7 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:46 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.7.2.2: +2 -7 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) to selected 1.2 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 2 14:45:55 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.7: +2 -7 lines
Diff to previous 1.7 (colored) to selected 1.2 (colored)

scortch ufs_vnops.c cargo cult headers

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:07 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.4: +5 -34 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.2 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:39 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.7.2.1: +782 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) to selected 1.2 (colored)

sync with head.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:58 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.2.6.2: +3 -2 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.7.2.1, Mon Apr 6 14:09:57 2009 UTC (15 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.7: +0 -782 lines
FILE REMOVED

file ufs_wapbl.c was added on branch yamt-nfs-mp on 2009-05-04 08:14:39 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 6 14:09:57 2009 UTC (15 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-nfs-mp, uebayasi-xip
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored) to selected 1.2 (colored)

Fix reference leak in fix for PR kern/40948.
Pointed out by David Holland.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 2 11:33:04 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored) to selected 1.2 (colored)

Release tdvp in an appropriate VOP_RENAME error branch to avoid
panic described in PR kern/40948.

As usual, all the error branches in rename live based on an unholy
amalgamation of prayer and the blood of cute, furry and tasty
quadrupeds, so I won't even attempt to audit the rest.

And this wapbl rename really really needs to be merged with the
standard rename.  That should be a fun PhD thesis topic ....

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:34:40 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.2.6.1: +4 -34 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 22 20:28:07 2009 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.4: +4 -34 lines
Diff to previous 1.4 (colored) to selected 1.2 (colored)

PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:36 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.2: +8 -2 lines
Diff to previous 1.2 (colored)

Sync with HEAD.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:43 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2.4.2: +6 -0 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Sun Dec 14 11:56:04 2008 UTC (15 years, 4 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.2: +5 -0 lines
Diff to previous 1.2 (colored)

Pull up following revision(s) (requested by dholland in ticket #187):
	sys/ufs/ufs/ufs_wapbl.c: revision 1.4
Don't deadlock on rename("foo/foo", "foo") in the case where foo/foo is a
directory. This doesn't affect non-wapbl renames; it affects wapbl because
one of the lock acquisitions was moved up past where this case otherwise
fails.
PR 40163 from Lloyd Parkes.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 13 04:45:28 2008 UTC (15 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.3: +7 -2 lines
Diff to previous 1.3 (colored) to selected 1.2 (colored)

Don't deadlock on rename("foo/foo", "foo") in the case where foo/foo is a
directory. This doesn't affect non-wapbl renames; it affects wapbl because
one of the lock acquisitions was moved up past where this case otherwise
fails.

PR 40163 from Lloyd Parkes.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:41 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.1.4.1: +3 -2 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 8 11:37:37 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Don't even try to pretend WAPBL_DEBUG_INODES works here, just #error.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:10 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.1: +805 -0 lines
Diff to previous 1.1 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:06 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2.4.1: +805 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) to selected 1.2 (colored)

Sync with HEAD.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:06 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.2.2.1: +805 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.2 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.2.4.1, Thu Jul 31 05:38:06 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2: +0 -805 lines
FILE REMOVED

file ufs_wapbl.c was added on branch mjf-devfs2 on 2008-09-28 10:41:06 +0000

Revision 1.2.2.1, Thu Jul 31 05:38:06 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.2: +0 -805 lines
FILE REMOVED

file ufs_wapbl.c was added on branch wrstuden-revivesa on 2008-09-18 04:37:06 +0000

Revision 1.2 / (download) - annotate - [selected], Thu Jul 31 05:38:06 2008 UTC (15 years, 8 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, matt-mips64-base2, haad-dm-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: wrstuden-revivesa, nick-hppapmap, netbsd-5, mjf-devfs2
Changes since 1.1: +805 -0 lines
Diff to previous 1.1 (colored)

Merge the simonb-wapbl branch.  From the original branch commit:

   Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Fri Jun 27 13:20:01 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1.2.4: +59 -21 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

In wapbl_ufs_rename() make sure we read in the next filesystem
block if we pass the end of the current block.  Fixes all sorts
of nasty directory lossage when the stars are aligned correctly.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Fri Jun 27 13:08:13 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1.2.3: +12 -2 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) to selected 1.2 (colored)

Reset fdp->i_count to 0 if the current directory offset is at the start
of a directory block, otherwise ufs_dirremove() will try to compact the
current entry onto the end of the last entry of the previous directory
block past the end of that block.

Thanks to Greg Oster for help debugging and fixing this.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Jun 12 08:39:22 2008 UTC (15 years, 10 months ago) by martin
Branch: simonb-wapbl
Changes since 1.1.2.2: +2 -9 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) to selected 1.2 (colored)

License police

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jun 11 12:30:47 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1.2.1: +3 -3 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) to selected 1.2 (colored)

Fix some whitespace and long line niggles.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Jun 10 14:51:23 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1: +764 -0 lines
Diff to previous 1.1 (colored) to selected 1.2 (colored)

Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block
Logging) journaling code.  Originally written by Darrin B. Jewell
while at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

Still a number of issues - look in doc/BRANCHES for "simonb-wapbl"
for more info.

Revision 1.1, Tue Jun 10 14:51:23 2008 UTC (15 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pf42-base4, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: simonb-wapbl, haad-dm
FILE REMOVED

file ufs_wapbl.c was initially added on branch simonb-wapbl.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>